From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6542 invoked by alias); 25 Apr 2007 01:28:02 -0000 Received: (qmail 6534 invoked by uid 22791); 25 Apr 2007 01:28:01 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 25 Apr 2007 02:27:59 +0100 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id 729904B267; Tue, 24 Apr 2007 20:27:58 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id 30F4C4B262; Tue, 24 Apr 2007 20:27:58 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1HgWIX-0003wj-M8; Tue, 24 Apr 2007 21:27:57 -0400 Date: Wed, 25 Apr 2007 01:28:00 -0000 From: Daniel Jacobowitz To: Keith Seitz Cc: gdb@sourceware.org, kip@thevertigo.com Subject: Re: Problem Debugging wxWidgets Applications (more) Message-ID: <20070425012757.GA15155@caradoc.them.org> Mail-Followup-To: Keith Seitz , gdb@sourceware.org, kip@thevertigo.com References: <462E9AC5.5090407@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <462E9AC5.5090407@redhat.com> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00141.txt.bz2 On Tue, Apr 24, 2007 at 05:03:17PM -0700, Keith Seitz wrote: > -------- Original Message -------- > Subject: Problem Debugging wxWidgets Applications (more) > Date: Tue, 24 Apr 2007 15:22:26 -0700 > From: Kip Warner > To: insight@sourceware.org > > I am running Ubuntu Feisty, GCC 4.1.2, GNU gdb 6.6-debian, and Insight > 6.5. > > Whenever I load a wxWidgets application and click run, I get a pop up > message box that will not go away no matter how many times I hit ok: > > "Cannot initialize thread debugging library: generic error" > > I have also installed libc6-debug too, but to no avail. > > $ insight --nw ./slither > GNU gdb 6.5 > Copyright (C) 2006 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i486-linux-gnu"...Using host libthread_db library > "/lib/tls/i686/cmov/libthread_db.so.1". > > (gdb) r > Starting program: /home/kip/Projects/Slither/trunk/slither > warning: Unable to find dynamic linker breakpoint function. > GDB will be unable to debug shared library initializers > and track explicitly loaded dynamic code. > Error while mapping shared library sections: > /usr/lib/libwx_gtk2u_media-2.8.so.0: No such file or directory. Looks to me like something in this build of Insight is setting the shared library search prefix. I've had lots of bugs of people failing to set it, but this may be the first time I've seen it set unnecessarily... does "show solib-absolute-prefix" show anything enlightening? -- Daniel Jacobowitz CodeSourcery