From owner-freebsd-ports@FreeBSD.ORG Fri Jul 16 09:15:34 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C4D716A4CE for ; Fri, 16 Jul 2004 09:15:34 +0000 (GMT) Received: from goofy.cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id F23DE43D3F for ; Fri, 16 Jul 2004 09:15:32 +0000 (GMT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 64766 invoked by uid 89); 16 Jul 2004 11:16:05 +0200 Received: from sheepkiller@cultdeadsheep.org by goofy.cultdeadsheep.org by uid 89 with qmail-scanner-1.22 (clamdscan: 0.74. spamassassin: 2.63. Clear:RC:1(192.168.0.8):. Processed in 0.164772 secs); 16 Jul 2004 09:16:05 -0000 X-Qmail-Scanner-Mail-From: sheepkiller@cultdeadsheep.org via goofy.cultdeadsheep.org X-Qmail-Scanner: 1.22 (Clear:RC:1(192.168.0.8):. Processed in 0.164772 secs) Received: from unknown (HELO persephone.cultdeadsheep.org) (192.168.0.8) by goofy.cultdeadsheep.org with SMTP; 16 Jul 2004 11:16:05 +0200 Received: (qmail 54083 invoked from network); 16 Jul 2004 11:13:38 +0200 Received: from unknown (HELO satan.cultdeadsheep.org) (192.168.0.4) by persephone.cultdeadsheep.org with DES-CBC3-SHA encrypted SMTP; 16 Jul 2004 11:13:38 +0200 Date: Fri, 16 Jul 2004 11:15:15 +0200 From: Clement Laforet To: Will McCutcheon 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> Organization: tH3 cUlt 0f tH3 d3@d sH33p X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Fri__16_Jul_2004_11_15_15_+0200_FIy7vqAhs1e3frB9" cc: freebsd-ports@freebsd.org Subject: Re: 'Unable to read from thread kernel pipe' error in Apache X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 09:15:34 -0000 --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 wrote: > Clement Laforet wrote: > > > Can you do a "ldd /usr/local/sbin/httpd" ? > > $ ldd /usr/local/sbin/httpd > /usr/local/sbin/httpd: 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--