|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57801 Timeout problems
Submitted: 2007-08-28 07:08 UTC Modified: 2007-09-10 10:28 UTC
From: info at a-wing dot co dot uk Assigned:
Status: Not a bug Package: APC (PECL)
PHP Version: 5.1.6 OS: CentOS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: info at a-wing dot co dot uk
New email:
PHP Version: OS:


 [2007-08-28 07:08 UTC] info at a-wing dot co dot uk
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:
while(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-
#1  0x002e5026 in flock () from /lib/tls/
#2  0x010ae1c7 in ps_files_open (data=0x92769e8, 
    key=0x927bcf8 "mpq2r114aiv9lbrhiqh3g7v6o5")
    at /usr/src/redhat/BUILD/php-
#3  0x010ae49f in ps_read_files (mod_data=0x12d2250, 
    key=0x927bcf8 "mpq2r114aiv9lbrhiqh3g7v6o5", 
    at /usr/src/redhat/BUILD/php-
#4  0x010acc56 in php_session_start ()
    at /usr/src/redhat/BUILD/php-
#5  0x010ad230 in zif_session_start (ht=0, 
    return_value_ptr=0x0, this_ptr=0x0, return_value_used=0)
    at /usr/src/redhat/BUILD/php-
#6  0x011b94aa in zend_do_fcall_common_helper_SPEC 
    at /usr/src/redhat/BUILD/php-


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-09-10 10:28 UTC] info at a-wing dot co dot uk
I managed to get it to happen without APC after this report, 
the bug is in PHP and is fixed somewhere between 5.1.6 and 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Dec 10 17:01:26 2023 UTC