public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "fakju666 at o2 dot pl" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/15338] New: Assertion `dwarf2_per_objfile->ranges.readin' failed
Date: Thu, 04 Apr 2013 08:44:00 -0000	[thread overview]
Message-ID: <bug-15338-4717@http.sourceware.org/bugzilla/> (raw)

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.


             reply	other threads:[~2013-04-04  8:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-04  8:44 fakju666 at o2 dot pl [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-15338-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).