Insight shouldn't be built with --with-sysroot=/usr/share
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
insight (Debian) |
Fix Released
|
Unknown
|
|||
insight (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Dapper |
Invalid
|
Medium
|
Unassigned | ||
Feisty |
Won't Fix
|
Medium
|
Unassigned | ||
Gutsy |
Won't Fix
|
Medium
|
Unassigned | ||
Hardy |
Won't Fix
|
Medium
|
Unassigned | ||
Intrepid |
Fix Released
|
Medium
|
Unassigned |
Bug Description
SRU Details
Impact: Renders debugger unstable and unsuitable for use. Which, of course, means that finding other bugs is harder. Severe to all package users, minimal to normal users.
Development Branch: Fixed in Debian in the same way that is proposed for the SRUs, package merged from
Debian now.
Patches: attached, see comments.
TEST CASE:
1. Install insight (...)
2. Run Insight (I use "insight" in a terminal)
3. Click on "View" > "Console"
4. Type "show solib-absolute-
5. See error.
Regression Potential:
Minimal - changes are made in the way the package is built, which may cause other problems, but its unlikely. Only one line is changed in the build configuration.
More thorough test case:
$ sudo apt-get install wx2.8-examples
$ cd ~/Desktop
$ /usr/share/
$ cp /usr/share/
$ make -C Test/minimal
Failure case:
=======
$ insight --nw --quiet Test/minimal/
Using host libthread_db library "/lib/tls/
(gdb) r
Starting program: /home/kip/
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/
Error while mapping shared library sections:
/usr/lib/
Error while mapping shared library sections:
/usr/lib/
Error while mapping shared library sections:
/lib/tls/
Error while mapping shared library sections:
/lib/libgcc_s.so.1: No such file or directory.
...
Success case:
=======
$ insight --nw --quiet Test/minimal/
Using host libthread_db library "/lib/tls/
(gdb) r
Starting program: /home/kip/
[Thread debugging using libthread_db enabled]
[New Thread 0xb6e48720 (LWP 30966)]
(I'm not positive that the needed example is available on all versions)
================
Original Description:
Binary package hint: 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"
After much probing around and help on the insight mailing list, it turns out that it was built wrong.
From people on the mailing list...
> > > > 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-
> > > > enlightening?
> > > (gdb) show solib-absolute-
> > > 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-
> > again without that, or manually "set solib-absolute-
> > (there's no way to set it to an empty string but that's close enough).
> It works now =)
Kip
Related branches
Changed in insight: | |
importance: | Undecided → Medium |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in insight: | |
status: | Unknown → New |
Changed in insight: | |
status: | New → Fix Released |
Changed in insight: | |
status: | Confirmed → New |
description: | updated |
description: | updated |
Hi, thanks for your report.
Can you please post the result of running 'uname -a' on your system, and tell me which version of Ubuntu you are running?