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

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Fri__16_Jul_2004_11_15_15_+0200_FIy7vqAhs1e3frB9
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Fri, 16 Jul 2004 01:22:25 -0400 (EDT)
Will McCutcheon <freebsd@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

--Signature=_Fri__16_Jul_2004_11_15_15_+0200_FIy7vqAhs1e3frB9
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA95yosRhfjwcjuh0RAoVtAKCymgtSY4XHODOgQOWkbODpdnzi5QCghmk8
21JjDG2k9VnTw8+3GDWakGU=
=OgWh
-----END PGP SIGNATURE-----

--Signature=_Fri__16_Jul_2004_11_15_15_+0200_FIy7vqAhs1e3frB9--



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