* Problem Debugging wxWidgets Applications (more)
@ 2007-04-25 0:03 Keith Seitz
2007-04-25 1:28 ` Daniel Jacobowitz
0 siblings, 1 reply; 6+ messages in thread
From: Keith Seitz @ 2007-04-25 0:03 UTC (permalink / raw)
To: gdb; +Cc: kip
-------- Original Message --------
Subject: Problem Debugging wxWidgets Applications (more)
Date: Tue, 24 Apr 2007 15:22:26 -0700
From: Kip Warner <kip@thevertigo.com>
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.
Error while mapping shared library sections:
/usr/lib/libwx_gtk2u_aui-2.8.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libwx_gtk2u_xrc-2.8.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libwx_gtk2u_qa-2.8.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libwx_gtk2u_html-2.8.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libwx_gtk2u_adv-2.8.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libwx_gtk2u_core-2.8.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libwx_baseu_xml-2.8.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libwx_baseu_net-2.8.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libwx_baseu-2.8.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/local/lib/libcxcore.so.1: No such file or directory.
Error while mapping shared library sections:
/usr/local/lib/libcv.so.1: No such file or directory.
Error while mapping shared library sections:
/usr/local/lib/libhighgui.so.1: No such file or directory.
Error while mapping shared library sections:
/usr/local/lib/libcvaux.so.1: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libstdc++.so.6: No such file or directory.
Error while mapping shared library sections:
/lib/tls/i686/cmov/libm.so.6: No such file or directory.
Error while mapping shared library sections:
/lib/libgcc_s.so.1: No such file or directory.
Error while mapping shared library sections:
/lib/tls/i686/cmov/libpthread.so.0: No such file or directory.
Error while mapping shared library sections:
/lib/tls/i686/cmov/libc.so.6: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libz.so.1: No such file or directory.
Error while mapping shared library sections:
/lib/tls/i686/cmov/libdl.so.2: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libgstreamer-0.10.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libgmodule-2.0.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libxml2.so.2: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libgconf-2.so.4: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libORBit-2.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libgthread-2.0.so.0: No such file or directory.
Error while mapping shared library sections:
/lib/tls/i686/cmov/librt.so.1: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libgobject-2.0.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libglib-2.0.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libgstinterfaces-0.10.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libgtk-x11-2.0.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libgdk-x11-2.0.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libatk-1.0.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libgdk_pixbuf-2.0.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libfontconfig.so.1: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libXext.so.6: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libXrender.so.1: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libXinerama.so.1: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libXi.so.6: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libXrandr.so.2: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libXcursor.so.1: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libXfixes.so.3: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libpango-1.0.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libX11.so.6: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libSM.so.6: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libpng12.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libjpeg.so.62: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libtiff.so.4: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libSDL-1.2.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libexpat.so.1: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libpangocairo-1.0.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libcairo.so.2: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libavcodec.so.0d: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libavformat.so.0d: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libraw1394.so.8: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libdc1394_control.so.13: No such file or directory.
Error while mapping shared library sections:
/lib/ld-linux.so.2: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libfreetype.so.6: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libXau.so.6: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libXdmcp.so.6: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libICE.so.6: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libasound.so.2: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libartsc.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libesd.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libaudiofile.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libaudio.so.2: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libXt.so.6: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libdirectfb-0.9.so.25: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libfusion-0.9.so.25: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libdirect-0.9.so.25: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libaa.so.1: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libpangoft2-1.0.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libavutil.so.0d: No such file or directory.
Error while mapping shared library sections:
/usr/lib/liba52-0.7.4.so: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libgsm.so.1: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libvorbis.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libvorbisenc.so.2: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libogg.so.0: No such file or directory.
Error while mapping shared library sections:
/lib/libncurses.so.5: No such file or directory.
Error while mapping shared library sections:
/lib/libslang.so.2: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libgpm.so.1: No such file or directory.
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
Program exited normally.
(gdb)
--
Kip Warner
Vertigo
http://TheVertigo.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problem Debugging wxWidgets Applications (more)
2007-04-25 0:03 Problem Debugging wxWidgets Applications (more) Keith Seitz
@ 2007-04-25 1:28 ` Daniel Jacobowitz
2007-04-25 1:33 ` Kip Warner
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Jacobowitz @ 2007-04-25 1:28 UTC (permalink / raw)
To: Keith Seitz; +Cc: gdb, kip
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 <kip@thevertigo.com>
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problem Debugging wxWidgets Applications (more)
2007-04-25 1:28 ` Daniel Jacobowitz
@ 2007-04-25 1:33 ` Kip Warner
2007-04-25 2:31 ` Daniel Jacobowitz
0 siblings, 1 reply; 6+ messages in thread
From: Kip Warner @ 2007-04-25 1:33 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: Keith Seitz, gdb
On Tue, 2007-24-04 at 21:27 -0400, Daniel Jacobowitz wrote:
> On Tue, Apr 24, 2007 at 05:03:17PM -0700, Keith Seitz wrote:
> > 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?
(gdb) show solib-absolute-prefix
Prefix for loading absolute shared library symbol files is "/usr/share".
Any help?
--
Kip Warner
Vertigo
http://TheVertigo.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problem Debugging wxWidgets Applications (more)
2007-04-25 1:33 ` Kip Warner
@ 2007-04-25 2:31 ` Daniel Jacobowitz
2007-04-25 2:41 ` Kip Warner
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Jacobowitz @ 2007-04-25 2:31 UTC (permalink / raw)
To: Kip Warner; +Cc: Keith Seitz, gdb
On Tue, Apr 24, 2007 at 06:33:33PM -0700, Kip Warner wrote:
> On Tue, 2007-24-04 at 21:27 -0400, Daniel Jacobowitz wrote:
> > On Tue, Apr 24, 2007 at 05:03:17PM -0700, Keith Seitz wrote:
> > > 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?
>
> (gdb) show solib-absolute-prefix
> Prefix for loading absolute shared library symbol files is "/usr/share".
>
> Any help?
When you (or whoever else) built that Insight, they must have passed
--with-sysroot=/usr/share. I can't guess why, but it's wrong. Try
again without that, or manually "set solib-absolute-prefix /."
(there's no way to set it to an empty string but that's close enough).
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problem Debugging wxWidgets Applications (more)
2007-04-25 2:31 ` Daniel Jacobowitz
@ 2007-04-25 2:41 ` Kip Warner
2007-04-25 11:20 ` Daniel Jacobowitz
0 siblings, 1 reply; 6+ messages in thread
From: Kip Warner @ 2007-04-25 2:41 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: Keith Seitz, gdb
On Tue, 2007-24-04 at 22:30 -0400, Daniel Jacobowitz wrote:
> On Tue, Apr 24, 2007 at 06:33:33PM -0700, Kip Warner wrote:
> > On Tue, 2007-24-04 at 21:27 -0400, Daniel Jacobowitz wrote:
> > > On Tue, Apr 24, 2007 at 05:03:17PM -0700, Keith Seitz wrote:
> > > > 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?
> >
> > (gdb) show solib-absolute-prefix
> > Prefix for loading absolute shared library symbol files is "/usr/share".
> >
> > Any help?
>
> When you (or whoever else) built that Insight, they must have passed
> --with-sysroot=/usr/share. I can't guess why, but it's wrong. Try
> again without that, or manually "set solib-absolute-prefix /."
> (there's no way to set it to an empty string but that's close enough).
It works now =)
Should I post this on the Ubuntu tracker for whoever the package
maintainer for the Feisty insight package is?
--
Kip Warner
Vertigo
http://TheVertigo.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-04-25 11:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-25 0:03 Problem Debugging wxWidgets Applications (more) Keith Seitz
2007-04-25 1:28 ` Daniel Jacobowitz
2007-04-25 1:33 ` Kip Warner
2007-04-25 2:31 ` Daniel Jacobowitz
2007-04-25 2:41 ` Kip Warner
2007-04-25 11:20 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox