php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64956 FPM child processes stop responding after fatal script error
Submitted: 2013-06-01 16:20 UTC Modified: 2021-12-08 22:08 UTC
Votes:9
Avg. Score:4.7 ± 0.7
Reproduced:6 of 6 (100.0%)
Same Version:3 (50.0%)
Same OS:1 (16.7%)
From: kael dot shipman at gmail dot com Assigned: bukka (profile)
Status: Closed Package: FPM related
PHP Version: 5.4.15 OS: Arch Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kael dot shipman at gmail dot com
New email:
PHP Version: OS:

 

 [2013-06-01 16:20 UTC] kael dot shipman at gmail dot com
Description:
------------
When php encounters a FATAL error and output buffering is ON, the child process that handled the script no longer outputs anything, even on subsequent requests to working scripts. If the below script is run, it returns a completely blank page. If a non-erred script is then run, the non-erred script also returns a blank page. It's only fixed by killing the offending child process. With output buffering disabled, everything works as expected and the child process doesn't need to be killed.

Test script:
---------------
<?php
echo "Working happily";
call_nonexistent_function();
?>

Expected result:
----------------
Working happily
FATAL ERROR: Call to undefined function call_nonexistent_function() in.....

Actual result:
--------------
Blank page - nothing at all.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-12-08 22:08 UTC] bukka@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: bukka
 [2021-12-08 22:08 UTC] bukka@php.net
I think this should be addressed by the changes that went to PHP 7.4 related to signal handling.

Please open a new bug report or comment here if you still see the issue in the latest PHP version.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC