|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-04-05 19:57 UTC] tony2001@php.net
[2007-04-13 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 06:00:01 2025 UTC |
Description: ------------ If you call register_shutdown_function, and then in the registered function make a call to PHP Exception, Apache segfaults. Here's a sample script: Reproduce code: --------------- class DodService { private $connexion; function __construct() { register_shutdown_function(array($this, "out")); } function out() { throw new SoapFault("ERROR", "Internal Server Error."); return true; } } Actual result: -------------- Extract of Apache log: [Thu Apr 05 14:15:16 2007] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0 [Thu Apr 05 14:15:16 2007] [notice] child pid 11357 exit signal Segmentation fault (11)