Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 15017] New: gdb unusable with multi-threaded apps with glibc and strip

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 15017] New: gdb unusable with multi-threaded apps with glibc and strip
  • Date: 10 Jan 2009 02:07:31 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=15017

Summary: gdb unusable with multi-threaded apps with glibc and
strip
Product: Codex
Version: stable grimoire
Platform: x86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P3
Component: devel
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: gsherwood AT sourcemage.org


If strip is selected as an option gdb will not work with multi-thread apps.
With gdb 6.8, the error looks like:

Starting program: /usr/bin/midori
warning: Lowest section in /usr/lib/libicudata.so.41 is .hash at 000000b4
[New LWP 8979]
[LWP 8979 exited]
[New process 8975]
linux-nat.c:1152: internal-error: linux_nat_resume: Assertion `lp != NULL'
failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.

with gdb 6.7.1:
(gdb) run
Starting program: /usr/bin/midori
warning: Lowest section in /usr/lib/libicudata.so.41 is .hash at 000000b4
[New LWP 21649]
[LWP 21649 exited]
[New process 21645]
ptrace: No such process.

This was when I found this closed gentoo bug:

http://bugs.gentoo.org/show_bug.cgi?id=196031

Building glibc without strip selected will allow normal debugging. Not sure
if
we have a method to only strip on lib as gentoo or glibc will have to build
with no stripping to work with gdb


--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



  • [SM-Grimoire-Bugs] [Bug 15017] New: gdb unusable with multi-threaded apps with glibc and strip, bugzilla-daemon, 01/09/2009

Archive powered by MHonArc 2.6.24.

Top of Page