From owner-freebsd-current@FreeBSD.ORG Wed Nov 2 00:40:07 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 706BF16A41F; Wed, 2 Nov 2005 00:40:07 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8E6943D45; Wed, 2 Nov 2005 00:40:06 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id CC4181A3C2A; Tue, 1 Nov 2005 16:40:06 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id F39C551370; Tue, 1 Nov 2005 19:40:03 -0500 (EST) Date: Tue, 1 Nov 2005 19:40:03 -0500 From: Kris Kennaway To: Greg 'groggy' Lehey Message-ID: <20051102004003.GA42673@xor.obsecurity.org> References: <20051030204120.GB99588@xor.obsecurity.org> <20051030205602.GB201@xor.obsecurity.org> <4365F4D1.6020809@snowfall.se> <20051102000843.GO56043@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline In-Reply-To: <20051102000843.GO56043@wantadilla.lemis.com> User-Agent: Mutt/1.4.2.1i Cc: Daniel Eischen , Kris Kennaway , current@freebsd.org, Stefan Cars Subject: Re: MySQL crashes on amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2005 00:40:07 -0000 --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 02, 2005 at 10:38:43AM +1030, Greg 'groggy' Lehey wrote: > On Monday, 31 October 2005 at 11:41:21 +0100, Stefan Cars wrote: > > Kris Kennaway wrote: > >> On Sun, Oct 30, 2005 at 03:52:42PM -0500, Daniel Eischen wrote: > >>> On Sun, 30 Oct 2005, Kris Kennaway wrote: > >>>> On Sun, Oct 30, 2005 at 02:45:57PM +0100, Stefan Cars wrote: > >>>>> No. I don't need both. Removed libpthread.so.1 and still the same > >>>>> problem. > >>>> > >>>> You removed the mapping entry, or the file itself? Daniel asked for > >>>> the latter. > >>> > >>> Or perhaps try using libmap.conf to map libpthread.so.1 to > >>> libpthread.so.2 without any other mappings: > >>> > >>> libpthread.so.1 libpthread.so.2 > >> > >> This is just a partial workaround, of course, and any of your > >> binaries that are also linked to two versions of other libraries > >> may still experience crashes (or may start to crash later when the > >> new libraries change further). You really want to track down and > >> fix the root cause now, to save you hours of pain later when the > >> problem recurs elsewhere. > > > > The thing is I don't need the libpthread.so.1 to libpthread.so.2 > > mapping, it works anyway (although mysql crashes) but when mapping > > libpthread.so* to libthr* it works perfectly. >=20 > It would be nice to find the bug rather than a workaround. Can you > get a stack dump of the server? The bug is well understood and is solely on the user end (operator did not upgrade software correctly, and caused it to be linked to two versions of the same library), it's not a software or FreeBSD bug. Kris --envbJBWh7q8WU6mo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDaArjWry0BWjoQKURAgaDAJ9hF1EfPrrCt8Fjq0JbSog6A7YueACfQYzC Zubtc+jn89ebErlCku6RigQ= =s4LW -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo--