|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-09-10 10:28 UTC] info at a-wing dot co dot uk
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 15:00:02 2025 UTC |
Description: ------------ A script that triggers a 30 second timeout (max_execution_time) does not cause a Fatal Error. PHP does die after 30 seconds, but no error in the apache error log and the apache process is stuck in "W" mode forever. Without APC this behaves normally. Reproduce code: --------------- <? $x=1; while(1) { $x=$x*2; sleep(1); } ?> Expected result: ---------------- Fatal Error for max execution time in apache error log and apache process to return to "-" mode. Actual result: -------------- A brief backtrace from running process: #0 0x00fbf7a2 in _dl_sysinfo_int80 () from /lib/ld- linux.so.2 #1 0x002e5026 in flock () from /lib/tls/libc.so.6 #2 0x010ae1c7 in ps_files_open (data=0x92769e8, key=0x927bcf8 "mpq2r114aiv9lbrhiqh3g7v6o5") at /usr/src/redhat/BUILD/php- 5.1.6/ext/session/mod_files.c:166 #3 0x010ae49f in ps_read_files (mod_data=0x12d2250, key=0x927bcf8 "mpq2r114aiv9lbrhiqh3g7v6o5", val=0xbff02c8c, vallen=0xbff02c90) at /usr/src/redhat/BUILD/php- 5.1.6/ext/session/mod_files.c:322 #4 0x010acc56 in php_session_start () at /usr/src/redhat/BUILD/php- 5.1.6/ext/session/session.c:802 #5 0x010ad230 in zif_session_start (ht=0, return_value=0x92758a0, return_value_ptr=0x0, this_ptr=0x0, return_value_used=0) at /usr/src/redhat/BUILD/php- 5.1.6/ext/session/session.c:1726 #6 0x011b94aa in zend_do_fcall_common_helper_SPEC (execute_data=0xbff03190) at /usr/src/redhat/BUILD/php- 5.1.6/Zend/zend_vm_execute.h:200