This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem Debugging wxWidgets Applications (more)

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:
> 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/".
> (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/ 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

Daniel Jacobowitz

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]