From:             francisco dot a dot castillo at ge dot com
Operating system: Linux Fedora Core 6
PHP version:      5.2.0
PHP Bug Type:     Reproducible crash
Bug description:  Server Crashes when Throwing an Exception

Description:
------------
I'm running PHP 5.2.0 with Apache 2.2 under a Fedora Core 6 Platform and
when I throw a new exception, the server crashes and I prompts me to
download the file. I try to throw different exceptions, including ADODB
and it stills do the same.

I've checked the logs but the only thing that I see at the apache's one
is

[Fri Jan 05 08:52:34 2007] [notice] child pid 14712 exit signal
Segmentation fault (11)

Reproduce code:
---------------
                        try{
                                throw new PHPDevException($this ->
error,100,"DAO",$part,false,"SQL","SQL DAO",$qry);                              
                        }catch (PHPDevException $ac){
                                $ac -> toScreen();
                                die();
                        }       

Expected result:
----------------
Show a screen with the Formatted Exception, Including the description of
the class that threw it.

Actual result:
--------------
The browser prompts me to download the file and save it

-- 
Edit bug report at http://bugs.php.net/?id=40033&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40033&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40033&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40033&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=40033&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=40033&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=40033&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=40033&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=40033&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=40033&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=40033&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=40033&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=40033&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=40033&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40033&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=40033&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=40033&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=40033&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40033&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=40033&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=40033&r=mysqlcfg

Reply via email to