ID:               41005
 Updated by:       [EMAIL PROTECTED]
 Reported By:      maboiteaspam at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Solaris 8
 PHP Version:      5.2.1
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2007-04-05 12:28:55] maboiteaspam at gmail dot com

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)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41005&edit=1

Reply via email to