#40033 [Opn->Fbk]: Server Crashes when Throwing an Exception

From: Date: Fri, 05 Jan 2007 15:25:56 +0000
Subject: #40033 [Opn->Fbk]: Server Crashes when Throwing an Exception
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-107198@lists.php.net to get a copy of this message
ID: 40033 Updated by: iliaa@php.net Reported By: francisco dot a dot castillo at ge dot com -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Linux Fedora Core 6 PHP Version: 5.2.0 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2007-01-05 15:17:53] francisco dot a dot castillo at ge dot com 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 this bug report at http://bugs.php.net/?id=40033&edit=1

« previous php.bugs (#107198) next »