ID: 44226 Comment by: ghurtado at gmail dot com 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:
I experience the same exact problem on Windows XP SP2. Throwing any PHP Exception causes Apache 2.0.63 to crash, presumably due to a PHP process crash. I am using the latest snapshot of PHP 5.3 as of 3/31/2008. This same behaviour is also present in Apache 2.2. Previous Comments: ------------------------------------------------------------------------ [2008-03-31 00:14:05] RQuadling at GMail dot com I sort of reported this earlier at http://bugs.php.net/bug.php?id=44039 but only seemed to get it to crash for ISAPI. CLI was OK. ------------------------------------------------------------------------ [2008-03-30 22:27:25] jeremy at omegavortex dot net I've confirmed this is also affecting Apache 2.0.x on Windows, as well. I can't try Apache 1.3.x on this machine, though. ------------------------------------------------------------------------ [2008-03-29 19:59:39] auroraeosrose at gmail dot com Wow, pretty bug - I can confirm this with Apache 2.2.8 on windows with a 5.3 snap - note this ONLY is an issue for the apache 2.2.x handler, I can't get it to crash cgi, fastcgi, or cli Here's a backtrace from a Debug_TS build cdcdcdcd() > php5ts_debug.dll!execute(_zend_op_array * op_array=0x026c2268, void * * * tsrm_ls=0x0148a970) Line 91 + 0x11 bytes C php5ts_debug.dll!zend_execute_scripts(int type=8, void * * * tsrm_ls=0x0148a970, _zval_struct * * retval=0x00000000, int file_count=3, ...) Line 1169 + 0x21 bytes C php5ts_debug.dll!php_execute_script(_zend_file_handle * primary_file=0x0262fe30, void * * * tsrm_ls=0x0148a970) Line 2077 + 0x1b bytes C php5apache2_2.dll!php_handler(request_rec * r=0x006d3ae0) Line 630 + 0x13 bytes C libhttpd.dll!ap_run_handler(request_rec * r=0x006d3ae0) Line 158 + 0x21 bytes C libhttpd.dll!ap_invoke_handler(request_rec * r=0x006b0e08) Line 372 + 0x6 bytes C libhttpd.dll!ap_process_request(request_rec * r=0x006d3ae0) Line 262 C libhttpd.dll!ap_process_http_connection(conn_rec * c=0x006cea90) Line 190 + 0x6 bytes C libhttpd.dll!ap_run_process_connection(conn_rec * c=0x006cea90) Line 43 + 0x21 bytes C libhttpd.dll!ap_process_connection(conn_rec * c=0x006cea90, void * csd=0x006c7a58) Line 178 + 0x6 bytes C libhttpd.dll!worker_main(void * thread_num_val=0x006cea88) Line 778 C msvcrt.dll!__endthreadex() + 0xa9 bytes kernel32.dll!7c80b683() ------------------------------------------------------------------------ [2008-03-29 01:00:13] jeremy at omegavortex dot net Just wanted to add that this still isn't fixed in the latest 5.3 snapshot, for me. Windows XP Pro with SP2. Apache 2.2.8. ------------------------------------------------------------------------ [2008-02-26 11:07:01] petr at hroch dot info 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 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/44226 -- Edit this bug report at http://bugs.php.net/?id=44226&edit=1