From:             james dot j dot hackett at gmail dot com
Operating system: linux debian 2.6.18-5-686
PHP version:      5.3CVS-2008-02-23 (snap)
PHP Bug Type:     Reproducible crash
Bug description:  Throwing an exception causes crash

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

Reply via email to