ID: 45750 Updated by: [EMAIL PROTECTED] Reported By: pmjones88 at gmail dot com -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Mac OS X 10.5.4 PHP Version: 5.2.6 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. Works for me with 5.2 and 5.3, please provide a backtrace using a newer snapshot. And please make sure you have no Zend Extensions enabled. Previous Comments: ------------------------------------------------------------------------ [2008-08-08 01:05:14] pmjones88 at gmail dot com Description: ------------ At the PHP command line, when running code using -r, the presence of an extended Exception class will cause a segmentation fault when any Exception is thrown. Reproduce code: --------------- # no segfault php -r "throw new Exception();" # segfault php -r "class Foo extends Exception {} throw new Exception();" Expected result: ---------------- I expect to see no segfault exit. Actual result: -------------- A segfault exit. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45750&edit=1