ID: 44226
Comment by: petr at hroch dot info
Reported By: james dot j dot hackett at gmail dot com
Status: Open
Bug Type: Reproducible crash
Operating System: linux debian 2.6.18-5-686
PHP Version: 5.3CVS-2008-02-23 (snap)
New Comment:
Hi,
I'm experiencing the same problem on Windows platform.
Throwing an Exception causes PHP to crash.
Using PHP5.3-dev latest snapshot, running as Apache 2.2.8 module.
Regards
Petr
Previous Comments:
------------------------------------------------------------------------
[2008-02-26 00:26:03] james dot j dot hackett at gmail dot com
There was no change when using the latest snapshot. I used a configure
of "./configure --with-apxs2=/usr/bin/apxs2".
I am able to run 5.2.5 with no problems.
------------------------------------------------------------------------
[2008-02-24 19:50:01] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.3-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.3-win32-installer-latest.msi
Does not crash for me..please try the latest CVS snapshot. And if that
fails, provide the configure line you used.
------------------------------------------------------------------------
[2008-02-23 14:44:12] james dot j dot hackett at gmail dot com
Description:
------------
Throwing an exception causes a segmentation fault
Reproduce code:
---------------
<?php
try{
throw new Exception("Hi, I am an Exception");
}
catch(Exception $e)
{
echo $e->getMessage();
}
?>
Expected result:
----------------
display "Hi, I am an Exception"
Actual result:
--------------
#0 0x0000000000000000 in ?? ()
#1 0x00002acf5c4008de in execute (op_array=0xa1af00, tsrm_ls=0xa00550)
zend_vm_execute.h:91
#2 0x00002acf5c3db6aa in zend_execute_scripts (type=8,
tsrm_ls=0xa00550, retval=0xa98be8, file_count=3) zend.c:1173
#3 0x00002acf5c38ba36 in php_execute_script (primary_file=0x4700cf40,
tsrm_ls=0xa00550) main.c:2026
#4 0x00002acf5c474849 in php_handler (r=0x9fa5b8) sapi_apache2.c:629
#5 0x0000000000437c4a in ap_run_handler ()
#6 0x000000000043affc in ap_invoke_handler ()
#7 0x0000000000447248 in ap_process_request ()
#8 0x000000000044468c in ?? ()
#9 0x000000000043ec22 in ap_run_process_connection ()
#10 0x000000000044b696 in ?? ()
#11 0x00002acf57bbd317 in start_thread () from /lib/libpthread.so.0
#12 0x00002acf580a9d5d in clone () from /lib/libc.so.6
#13 0x0000000000000000 in ?? ()
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44226&edit=1