'Unable to read from thread kernel pipe' error in Apache
Will McCutcheon
freebsd at toyingwithfate.com
Thu Jul 15 22:32:57 PDT 2004
Clement Laforet wrote:
> Can you do a "ldd /usr/local/sbin/httpd" ?
$ ldd /usr/local/sbin/httpd
/usr/local/sbin/httpd:
libz.so.2 => /lib/libz.so.2 (0x280bd000)
libssl.so.3 => /usr/lib/libssl.so.3 (0x280cb000)
libcrypto.so.3 => /lib/libcrypto.so.3 (0x280fd000)
libaprutil-0.so.9 => /usr/local/lib/apache2/libaprutil-0.so.9 (0x2820b000)
libexpat.so.5 => /usr/local/lib/libexpat.so.5 (0x2821e000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2823e000)
libapr-0.so.9 => /usr/local/lib/apache2/libapr-0.so.9 (0x2832d000)
libm.so.2 => /lib/libm.so.2 (0x2834a000)
libcrypt.so.2 => /lib/libcrypt.so.2 (0x28363000)
libc.so.5 => /lib/libc.so.5 (0x2837c000)
> Futhermore, it will be great if you can provide me a backtrace.
It took me some research to figure out how to properly debug a crashing
Apache child, but I ultimately figured it out by combining your
instructions with the ones found here:
http://httpd.apache.org/dev/debugging.html
Here's what I got:
(gdb) bt
#0 0x283d1dcf in kill () from /lib/libc.so.5
#1 0x283c6878 in raise () from /lib/libc.so.5
#2 0x2843ef82 in abort () from /lib/libc.so.5
#3 0x2907f565 in _thread_exit () from /usr/lib/libc_r.so.5
#4 0x2907d345 in _thread_kern_sig_undefer () from /usr/lib/libc_r.so.5
#5 0x2907ca94 in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.5
#6 0x2907c445 in _thread_kern_scheduler () from /usr/lib/libc_r.so.5
Anything especially revealing? Thanks for helping me out!
W
More information about the freebsd-ports
mailing list