ID: 19877 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: RH Linux 7.2 PHP Version: 4.2.3 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Try first the snapshot. If it crashes too: Just in case you didn't read this: http://bugs.php.net/bugs-generating-backtrace.php (add --enable-debug to your configure line) Also, did you update your php.ini at any time? And could you please add the shortest possible example script here which can be used to reproduce this problem.. Previous Comments: ------------------------------------------------------------------------ [2002-10-11 23:33:30] [EMAIL PROTECTED] I was using Apache 1.3.26 with PHP 4.2.1 for about 3 months with no problems, then one day I discovered unable to access certain PHP pages (IE would give me a Cannot Find Server error). In my error logs I get lines like this: [Fri Oct 11 21:10:55 2002] [notice] Apache/1.3.26 (Unix) PHP/4.2.1 configured -- resuming normal operations [Fri Oct 11 21:10:55 2002] [notice] Accept mutex: sysvsem (Default: sysvsem) [Fri Oct 11 21:10:59 2002] [notice] child pid 1226 exit signal Segmentation fault (11) [Fri Oct 11 21:15:18 2002] [notice] caught SIGTERM, shutting down [Fri Oct 11 23:32:27 2002] [notice] Apache/1.3.27 (Unix) PHP/4.2.3 configured -- resuming normal operations [Fri Oct 11 23:32:27 2002] [notice] Accept mutex: sysvsem (Default: sysvsem) [Fri Oct 11 23:32:41 2002] [notice] child pid 12347 exit signal Segmentation fault (11) [Fri Oct 11 23:32:41 2002] [notice] child pid 12345 exit signal Segmentation fault (11) [Fri Oct 11 23:32:42 2002] [notice] child pid 12348 exit signal Segmentation fault (11) [Fri Oct 11 23:32:42 2002] [notice] child pid 12346 exit signal Segmentation fault (11) I tried restarting apache (using both restart and stop/start), then rebooting my server, then recompiling and reinstalling both PHP and Apache (you can see in the error log how the version changes from 1.3.26/4.2.1 to 1.3.27/4.2.3) but nothing seemed to work. Other PHP scripts (including phpMyAdmin) work fine. The only difference I can see between the "offending" script and my functional ones is the broken one uses session_decode() and header(). As far as I know, everything was working fine until today. The only change was about a month ago, when I recompiled PHP and added in support for GD, Jpeg-6b, zlib and ldap. Could one of those be the source of error? My configure line is: ./configure --with-mysql --with-jpeg-dir=/root/jpeg-6b --with-gd --with-zlib --with-ldap --with-apache=/root/apache_1.3.27 --enable-track-vars --enable-trans-sid --enable-sigchild --enable-ftp --enable-debug --enable-sockets I tried diagnosing the problem using gdb but this is all I got: (gdb) run -X Starting program: /www/bin/httpd -X Program received signal SIGTRAP, Trace/breakpoint trap. 0x40001e90 in _start () at rtld.c:160 160 rtld.c: No such file or directory. in rtld.c (gdb) Nothing came up when I accessed the "culprit" scripts. The one error that I can see there occured immediately at the start and in both versions of Apache/PHP. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19877&edit=1