public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/15338] New: Assertion `dwarf2_per_objfile->ranges.readin' failed
@ 2013-04-04  8:44 fakju666 at o2 dot pl
  2013-04-10 15:00 ` [Bug gdb/15338] " tromey at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fakju666 at o2 dot pl @ 2013-04-04  8:44 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15338

             Bug #: 15338
           Summary: Assertion `dwarf2_per_objfile->ranges.readin' failed
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: critical
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: fakju666@o2.pl
    Classification: Unclassified


This bug makes it impossible to debug crashes of ASAN instrumented binaries in
Eclipse (gdb asserts on segfaults). It's present in 7.4 as well as the latest
CVS revision.

Steps to reproduce:

1. Download and unpack
https://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux64-asan/1365041687/firefox-23.0a1.en-US.linux-x86_64-asan.tar.bz2
(396 MB)
2. In shell, navigate to the directory and run:
gdb ./firefox-bin
3. In gdb shell, type "run" and press enter.
4. Wait for the browser to open.
5. In the browser, open https://bugzilla.mozilla.org/attachment.cgi?id=698225
In gdb, you should see:

Program received signal SIGSEGV, Segmentation fault.
0x00007fffecf22a5c in Length (this=<optimized out>) at
../../dist/include/nsTArray.h:353
353    ../../dist/include/nsTArray.h: No such file or directory.

6. In gdb shell, type "info threads" and press enter. You should see:

  Id   Target Id         Frame 
  65   Thread 0x7fffa8be2700 (LWP 2185) "mozStorage #11" 
/build/buildd/gdb-7.4-2012.04/gdb/dwarf2read.c:6860: internal-error:
dwarf2_record_block_ranges: Assertion `dwarf2_per_objfile->ranges.readin'
failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-05-13 16:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-04  8:44 [Bug gdb/15338] New: Assertion `dwarf2_per_objfile->ranges.readin' failed fakju666 at o2 dot pl
2013-04-10 15:00 ` [Bug gdb/15338] " tromey at redhat dot com
2013-04-10 17:02 ` fakju666 at o2 dot pl
2013-04-15 19:54 ` tromey at redhat dot com
2013-04-15 21:37 ` fakju666 at o2 dot pl
2013-05-13 16:57 ` tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).