This is the mail archive of the
mailing list for the GDB project.
Re: Problem Debugging wxWidgets Applications (more)
- From: Daniel Jacobowitz <drow at false dot org>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: gdb at sourceware dot org, kip at thevertigo dot com
- Date: Tue, 24 Apr 2007 21:27:57 -0400
- Subject: Re: Problem Debugging wxWidgets Applications (more)
- References: <462E9AC5.firstname.lastname@example.org>
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 <email@example.com>
> To: firstname.lastname@example.org
> I am running Ubuntu Feisty, GCC 4.1.2, GNU gdb 6.6-debian, and Insight
> 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
> (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