Bug #17672 Updated: infinite loop in php_request_shutdown?
| From: | sniper@php.net | Date: | Sun, 16 Jun 2002 04:48:24 +0000 |
| Subject: | Bug #17672 Updated: infinite loop in php_request_shutdown? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10558@lists.php.net to get a copy of this message | ||
ID: 17672
Updated by: sniper@php.net
Reported By: chris-php@bolt.cx
-Status: Feedback
+Status: Open
Bug Type: Scripting Engine problem
Operating System: Linux 2.4.19-pre4 SMP
PHP Version: 4.2.1
New Comment:
If possible, please try this snapshot:
http://snaps.php.net/php4-latest.tar.gz
(no guarantees it will solve this problem..but just in case)
Previous Comments:
------------------------------------------------------------------------
[2002-06-16 00:40:11] chris-php@bolt.cx
No, it doesn't seem to happen on any specific script on the site. And
we're not using register_shutdown_function() anywhere.
We're not loading any extensions.
------------------------------------------------------------------------
[2002-06-15 22:41:08] sniper@php.net
Are you able to provide some short script which can
be used to reproduce this?
And do you load any extensions in php.ini?
--Jani
------------------------------------------------------------------------
[2002-06-09 22:17:05] chris-php@bolt.cx
I think I'm experiencing bug 11346 (
http://bugs.php.net/bug.php?id=11346 ) except
with PHP 4.2.1:
Top, sorted by CPU time used:
4208 nobody 18 0 5388 5388 4020 R 3.3 0.2 20:04 httpd
4241 nobody 18 0 5252 5252 4028 R 3.3 0.2 19:55 httpd
4293 nobody 14 0 5368 5368 4060 R 3.1 0.2 19:37 httpd
4588 nobody 20 0 5156 5156 3972 R 4.1 0.2 18:41 httpd
4324 nobody 14 0 5932 5932 4112 R 2.3 0.2 18:41 httpd
4482 nobody 15 0 5580 5580 4076 R 2.7 0.2 18:30 httpd
4857 nobody 16 0 5372 5372 4024 R 2.7 0.2 17:55 httpd
4871 nobody 20 0 5452 5452 4116 R 4.3 0.2 17:50 httpd
5612 nobody 16 0 6064 6064 4120 R 3.3 0.2 14:23 httpd
(they would be using more CPU, but we have a really busy server)
PHP error log:
[09-Jun-2002 18:53:19] PHP Fatal error: Maximum execution time of 30
seconds exceeded in Unknown on line 0
[09-Jun-2002 18:56:21] PHP Fatal error: Maximum execution time of 30
seconds exceeded in Unknown on line 0
[09-Jun-2002 19:07:35] PHP Fatal error: Maximum execution time of 30
seconds exceeded in Unknown on line 0
[09-Jun-2002 19:10:26] PHP Fatal error: Maximum execution time of 30
seconds exceeded in Unknown on line 0
Backtrace of one of the processes:
(gdb) bt
#0 0x4010d2fa in chunk_free () from /lib/libc.so.6
#1 0x4010d064 in free () from /lib/libc.so.6
#2 0x401e606c in shutdown_memory_manager (silent=1, clean_cache=0)
at zend_alloc.c:468
#3 0x4020c6c5 in php_request_shutdown (dummy=0x0) at main.c:794
#4 0x402091a3 in apache_php_module_main (r=0x81913fc,
display_source_mode=0)
at sapi_apache.c:96
#5 0x40209d0f in send_php (r=0x81913fc, display_source_mode=0,
filename=0x0)
at mod_php4.c:575
#6 0x40209d73 in send_parsed_php (r=0x81913fc) at mod_php4.c:590
#7 0x080a1189 in ap_invoke_handler ()
#8 0x080b788f in ap_some_auth_required ()
#9 0x080b7902 in ap_process_request ()
#10 0x080ae1a6 in ap_child_terminate ()
#11 0x080ae44a in ap_child_terminate ()
#12 0x080ae7f8 in ap_child_terminate ()
#13 0x080aedcc in ap_child_terminate ()
#14 0x080af42c in main ()
#15 0x400b5c6f in __libc_start_main () from /lib/libc.so.6
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17672&edit=1