ID: 44226 Comment by: mageofchrisz at gmail dot com Reported By: james dot j dot hackett at gmail dot com Status: Feedback 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 also having this problem but I'm not sure what type of information I can provide that will aide in reproducing the crash. A simple snippet of "throw new Exception('Hello, Crash!');" causes Apache 2.2.8 to restart all its threads. I'm not sure what I can do to help or provide more information. It's XP SP2 (all latest updates, ie6) on a windows domain. It's an Intel Pentium D 3.4GHz, 4GiB of RAM installed but only utilizes 3.25 of it. Apache 2.2.8 runs with mod_ssl/2.2.8 OpenSSL/0.9.8g. If there's any more information I can provide please let me know. I've been trying to take the time to figure out how to compile a debug build but i've been busy with work-related stuff. Previous Comments: ------------------------------------------------------------------------ [2008-04-09 08:59:17] [EMAIL PROTECTED] Not reproducible. Both CLI(w/ and w/o ZTS enabled) and Apache2(prefork) work just fine, valgrind keeps silence. Need more details to be able to reproduce it. ------------------------------------------------------------------------ [2008-03-31 21:29:53] ghurtado at gmail dot com 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. ------------------------------------------------------------------------ [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() ------------------------------------------------------------------------ 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