ID:               48134
 Updated by:       lbarn...@php.net
 Reported By:      jimbobpalmer at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Gentoo
 PHP Version:      5.2.9
 New Comment:

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 for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

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.

A gdb backtrace would be helpful. Allow your apache user to generate
large enough core files, remove mod_backtrace, and wait for core files
to appear. Then load them in gdb and send a gdb backtrace.


Previous Comments:
------------------------------------------------------------------------

[2009-05-06 09:18:03] jimbobpalmer at gmail dot com

Do you need any more information?

------------------------------------------------------------------------

[2009-05-05 20:44:17] jimbobpalmer at gmail dot com

[Tue May  5 18:12:50 2009] pid 9925 mod_backtrace backtrace for sig 11
(thread "pid" 9925)
[Tue May  5 18:12:50 2009] pid 9925 mod_backtrace main() is at 8066050
/usr/lib/apache2/modules/mod_backtrace.so[0xb7b6ba9a]
/usr/sbin/apache2(ap_run_fatal_exception+0x3f)[0x80827ef]
/usr/sbin/apache2[0x8082be8]
[0xb7f81400]
/usr/lib/apache2/modules/libphp5.so(apply_config+0xa9)[0xb7670f6f]
/usr/lib/apache2/modules/libphp5.so[0xb767031e]
/usr/sbin/apache2(ap_run_handler+0x57)[0x807a127]
/usr/sbin/apache2(ap_invoke_handler+0x91)[0x807d4b1]
/usr/sbin/apache2(ap_process_request+0x196)[0x80887e6]
/usr/sbin/apache2[0x80857d8]
/usr/sbin/apache2(ap_run_process_connection+0x57)[0x80814b7]
/usr/sbin/apache2[0x808e6ac]
/usr/lib/libapr-1.so.0[0xb7d91e8e]
/lib/libpthread.so.0[0xb7d1e19b]
/lib/libc.so.6(clone+0x5e)[0xb7ca286e]
[Tue May  5 18:12:50 2009] pid 9925 mod_backtrace end of backtrace

(gdb) bt
#0  0xb7f81424 in __kernel_vsyscall ()
#1  0xb7d2565b in read () from /lib/libpthread.so.0
#2  0x080906e4 in ap_mpm_pod_check ()
#3  0x0808ea35 in ?? ()
#4  0x098c39c8 in ?? ()
#5  0x0808ca30 in ?? ()
#6  0x0808ec50 in ?? ()
#7  0x09888498 in ?? ()
#8  0x09888408 in ?? ()
#9  0x00000000 in ?? ()

------------------------------------------------------------------------

[2009-05-05 13:54:51] jimbobpalmer at gmail dot com

I've rebuilt php with the debug flag so that the next backtrace is more
useful.

Please can you change the status of this bug to open. Thanks.

------------------------------------------------------------------------

[2009-05-05 13:33:19] jimbobpalmer at gmail dot com

backtrace from coredump:

#0  0xb7612052 in apply_config () from
/usr/lib/apache2/modules/libphp5.so
#1  0xb76114af in ?? () from /usr/lib/apache2/modules/libphp5.so
#2  0x08987108 in ?? ()
#3  0x0ad8b230 in ?? ()
#4  0xb76107c0 in ?? () from /usr/lib/apache2/modules/libphp5.so
#5  0x08063c00 in __ctype_toupper_...@plt ()
#6  0x0aa8b098 in ?? ()
#7  0x0aa8b060 in ?? ()
#8  0xa42b8188 in ?? ()
#9  0xb7d0dff4 in ?? () from /usr/lib/libapr-1.so.0
#10 0x08987108 in ?? ()
#11 0x0ad8b180 in ?? ()
#12 0x0ad8b198 in ?? ()
#13 0xb7cf7c1f in apr_table_setn () from /usr/lib/libapr-1.so.0
#14 0x0807a127 in ap_run_handler ()
#15 0x0807d4b1 in ap_invoke_handler ()
#16 0x080887e6 in ap_process_request ()
#17 0x080857d8 in ?? ()
#18 0x0aa89428 in ?? ()
#19 0x00000004 in ?? ()
#20 0x0aa89428 in ?? ()
#21 0x00000000 in ?? ()

I can't supply the coredump due to policy reasons, but I can run more
commands if you need me to with gdb.

------------------------------------------------------------------------

[2009-05-05 13:31:15] jimbobpalmer at gmail dot com

With 5.2.9:

[Tue May  5 15:03:32 2009] pid 27627 mod_backtrace backtrace for sig 11
(thread "pid" 27627)
[Tue May  5 15:03:32 2009] pid 27627 mod_backtrace main() is at
8066050
/usr/lib/apache2/modules/mod_backtrace.so[0xb7ae2a9a]
/usr/sbin/apache2(ap_run_fatal_exception+0x3f)[0x80827ef]
/usr/sbin/apache2[0x8082be8]
[0xb7ef8400]
/usr/lib/apache2/modules/libphp5.so[0xb76114af]
/usr/sbin/apache2(ap_run_handler+0x57)[0x807a127]
/usr/sbin/apache2(ap_invoke_handler+0x91)[0x807d4b1]
/usr/sbin/apache2(ap_process_request+0x196)[0x80887e6]
/usr/sbin/apache2[0x80857d8]
/usr/sbin/apache2(ap_run_process_connection+0x57)[0x80814b7]
/usr/sbin/apache2[0x808e6ac]
/usr/lib/libapr-1.so.0[0xb7d08e8e]
/lib/libpthread.so.0[0xb7c9519b]
/lib/libc.so.6(clone+0x5e)[0xb7c1986e]
[Tue May  5 15:03:32 2009] pid 27627 mod_backtrace end of backtrace

------------------------------------------------------------------------

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/48134

-- 
Edit this bug report at http://bugs.php.net/?id=48134&edit=1

Reply via email to