This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/15338] New: Assertion `dwarf2_per_objfile->ranges.readin' failed


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]