From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14330 invoked by alias); 10 Apr 2013 15:00:25 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 14301 invoked by uid 48); 10 Apr 2013 15:00:25 -0000 From: "tromey at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/15338] Assertion `dwarf2_per_objfile->ranges.readin' failed Date: Wed, 10 Apr 2013 15:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: tromey at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-q2/txt/msg00037.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15338 --- Comment #1 from Tom Tromey 2013-04-10 15:00:24 UTC --- Created attachment 6975 --> http://sourceware.org/bugzilla/attachment.cgi?id=6975 patch Please try this patch. I didn't try your test case. However, it seems that we can enter dwarf2_record_block_ranges without first having called dwarf2_ranges_read, which is the only spot that maps the section. Changing dwarf2_record_block_ranges to map the section seems safe... -- 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.