'Unable to read from thread kernel pipe' error in Apache
Clement Laforet
sheepkiller at cultdeadsheep.org
Fri Jul 16 02:15:34 PDT 2004
On Fri, 16 Jul 2004 01:22:25 -0400 (EDT)
Will McCutcheon <freebsd at toyingwithfate.com> wrote:
> Clement Laforet wrote:
>
> > Can you do a "ldd /usr/local/sbin/httpd" ?
>
> $ ldd /usr/local/sbin/httpd
> /usr/local/sbin/httpd:
<snip output>
apache2 is not linked against any thread library. That's a good start ;-)
> > 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!
It's not very informative ;-)
According to previous ldd output, apache2 doesn't call libc_r of any thread lib.
"ldd /usr/local/libexec/apache2/libphp4.so" should help us to know if it comes from here.
can you send me your modules list too ?
FYI, I run IMP-4.0-cvs on apache 2.0.50 (prefork) + php 4.3.7 without any problems.
clem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040716/9d371318/attachment.bin
More information about the freebsd-ports
mailing list