ID: 35458
User updated by: jfeise at gmail dot com
Reported By: jfeise at gmail dot com
-Status: Bogus
+Status: Open
Bug Type: Reproducible crash
Operating System: Linux Kernel. 2.6.14
PHP Version: 5.1.1
New Comment:
I disagree.
This happened after upgrading to PHP 5.1.1, from 5.0.5, without any
other changes.
I think #1 in the backtrace, mod_info_module_cmds (), is the issue. The
server-info collect module information, and that fails with php 5.1.1.
Previous Comments:
------------------------------------------------------------------------
[2005-11-28 21:39:50] [EMAIL PROTECTED]
Obviously, not PHP problem.
------------------------------------------------------------------------
[2005-11-28 21:34:08] jfeise at gmail dot com
The backtrace:
(gdb) run -X
Starting program: /usr/local/apache2/bin/httpd -X
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 3476)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 3476)]
0xb7acd421 in strcasecmp () from /lib/libc.so.6
(gdb) bt
#0 0xb7acd421 in strcasecmp () from /lib/libc.so.6
#1 0x080b01f5 in mod_info_module_cmds ()
#2 0x080b0c6a in display_info ()
#3 0x080d156a in ap_run_handler ()
#4 0x080d1cd9 in ap_invoke_handler ()
#5 0x0809b241 in ap_process_request ()
#6 0x08095647 in ap_process_http_connection ()
#7 0x080de322 in ap_run_process_connection ()
#8 0x080de71c in ap_process_connection ()
#9 0x080cfdfd in child_main ()
#10 0x080cfed4 in make_child ()
#11 0x080cfffc in startup_children ()
#12 0x080d040c in ap_mpm_run ()
#13 0x080d712d in main ()
(gdb)
------------------------------------------------------------------------
[2005-11-28 20:50:06] [EMAIL PROTECTED]
Thank you for this bug report. To properly diagnose the problem, 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". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2005-11-28 20:36:50] jfeise at gmail dot com
Description:
------------
Wich PHP 5.1.1, any access to /server-info crashes Apache with a
segfault.
I am using Apache 2.0.55.
It works fine with PHP 5.0.5.
The contents of config.nice:
'./configure' \
'--with-mysql=/usr/local/mysql' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
'--enable-track-vars' \
'--disable-debug' \
'--with-bz2' \
'--with-zlib' \
'--with-openssl=/usr/local/openssl/' \
"$@"
I am going to post a backtrace later today.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35458&edit=1