Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2004 01:22:25 -0400 (EDT)
From:      Will McCutcheon <freebsd@toyingwithfate.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: 'Unable to read from thread kernel pipe' error in Apache
Message-ID:  <200407160529.i6G5MPKC052059@toyingwithfate.com>
In-Reply-To: <20040715225910.6f14220f.sheepkiller@cultdeadsheep.org>
References:  <20040715225910.6f14220f.sheepkiller@cultdeadsheep.org> <20040715214806.4bc8a4ee.sheepkiller@cultdeadsheep.org> <200407150539.i6F5dCZY004459@toyingwithfate.com> <200407152004.i6FK3eKC049113@toyingwithfate.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407160529.i6G5MPKC052059>