ID: 16994 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Scripting Engine problem Operating System: FreeBSD 4.5 PHP Version: 4.2.0 New Comment:
I unfortunately can not rebuild PHP with --enable-debug (no access privaleges), so I can not debug from httpd. I have built a stand alone version with debug enabled and tested it on a few scripts. I have isolated one script that very consistently craps out when run from httpd or from command line. Httpd error log reports the following: [Mon May 6 10:01:45 2002] [notice] child pid 81412 exit signal Bus error (10) When the same script is run from command line, no core is dumped. When running the script with gdb, it ends with no stack: (gdb) run send.php Starting program: /usr/home/ise/bin/php send.php X-Powered-By: PHP/4.2.0 Content-type: text/html Program exited with code 0377. (gdb) bt No stack. When the script is run from PHP 4.1.2 command line, the output is as expected: the desired HTML output. Previous Comments: ------------------------------------------------------------------------ [2002-05-03 10:35:36] [EMAIL PROTECTED] To properly diagnose this bug, 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 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". ------------------------------------------------------------------------ [2002-05-03 10:34:24] [EMAIL PROTECTED] Hi, Ever since my system administrator upgraded to 4.2.0, it seems that PHP is crapping out on arbitrary pages. I have tried to isolate the source of the crash, but have had little success. As well, I am unable to do a gdb backtrace, as PHP is not configured with --enable-debug. So, this bug report is probably of little value, but I'll tell you what i know. The Apache error log is spitting out the following: [Fri May 3 07:21:30 2002] [notice] child pid 50301 exit signal Bus error (10) [Fri May 3 07:21:31 2002] [notice] child pid 51448 exit signal Segmentation fault (11) There doesn't seem to be a logic to what scripts makes PHP choke, as one script might run fine once but not another time. To be clear, this bug is not effecting scripts on my site across the boards, but again there doesn't apear to be a logic to the scripts that are effected. As noted in the week 84 Zend Summary, my sysop rebuilt PHP using the configuration file noted. This did not resolve the issue. We are running Server Version: Apache/1.3.24 (Unix) mod_gzip/1.3.19.1a PHP/4.2.0 mod_throttle/3.1.2 I hope this measily bug report is somewhat helpful. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16994&edit=1