From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6035 invoked by alias); 6 Apr 2006 14:34:06 -0000 Received: (qmail 6027 invoked by uid 22791); 6 Apr 2006 14:34:05 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 06 Apr 2006 14:34:03 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k36EXxBs007117; Thu, 6 Apr 2006 10:33:59 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.11.6) with ESMTP id k36EXxx8001038; Thu, 6 Apr 2006 10:33:59 -0400 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id k36EXxlO030217; Thu, 6 Apr 2006 10:33:59 -0400 Received: from ton.toronto.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id C97CF8002B7; Thu, 6 Apr 2006 10:33:58 -0400 (EDT) Received: from ton.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by ton.toronto.redhat.com (8.13.1/8.13.1) with ESMTP id k36EXwEp013183; Thu, 6 Apr 2006 10:33:58 -0400 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id k36EXwXv013182; Thu, 6 Apr 2006 10:33:58 -0400 Date: Thu, 06 Apr 2006 14:34:00 -0000 From: "Frank Ch. Eigler" To: Onno Kortmann Cc: sid@sourceware.org Subject: Re: Bugreport: Latest CVS checkout of sid: segfault with empty file w/o configuration(?) Message-ID: <20060406143358.GE16498@redhat.com> References: <200603312010.33935.onno@gmx.net> <20060331184053.GC22505@redhat.com> <200603312210.16824.onno@gmx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: <200603312210.16824.onno@gmx.net> User-Agent: Mutt/1.4.1i X-IsSubscribed: yes Mailing-List: contact sid-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sourceware.org X-SW-Source: 2006-q2/txt/msg00003.txt.bz2 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1209 Hi - On Fri, Mar 31, 2006 at 10:10:16PM +0200, Onno Kortmann wrote: > [...] > I have now debugged it (somehow the backtrace was of no help, lacked symb= ols=20 > and was messed up - so I got to this location iteratively!) until this li= ne=20 > in compConfig.cxx: >=20 > bool > cfgroot_component::register_dso(const string& dso_name, const string&=20 > _symbol_name) > { > lt_dlhandle dl_handle =3D 0; >=20 > // Try ordinary dynamic linking > dl_handle =3D lt_dlopen(dso_name.c_str()); <-------- Try recompiling the whole thing with "CFLAGS=3D-g CXXFLAGS=3D-g". It may help explain why lt_dlopen failed, if perhaps something is wrong with dso_open. Another fall-back option is to configure with "--disable-shared", which will link in component libraries right into the sid binary. > I installed sid with the default prefix into /usr/local. I added > /usr/local/sid/sidcomp to the LD_LIBRARY_PATH as a test - this did > not help. [...] sid tries to locate its component shared libraries using several means, including the SID_EXEC_PREFIX environment variable, and the location of its own executable. Because of the latter, it should just work without additional environment settings. - FChE --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFENSbWVZbdDOm/ZT0RAsF8AJ458NjEu1er9vUy8PN5gOo74C8QCgCeNQ5u jQ9/OlKD9HYSeNbq/KEzz18= =wUJd -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR--