From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 41C1E3854815; Mon, 8 Mar 2021 02:16:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 41C1E3854815 From: "liangjs at pku dot edu.cn" To: gdb-prs@sourceware.org Subject: [Bug symtab/27541] New: gdb crashes on "file -readnow" Date: Mon, 08 Mar 2021 02:16:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: liangjs at pku dot edu.cn X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2021 02:16:26 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27541 Bug ID: 27541 Summary: gdb crashes on "file -readnow" Product: gdb Version: 10.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: symtab Assignee: unassigned at sourceware dot org Reporter: liangjs at pku dot edu.cn Target Milestone: --- GDB crashes when you give it a binary on command line and then use "file -readnow" to load that binary again. $ gdb -q -nx a Reading symbols from a... (gdb) file -readnow a Load new symbol table from "a"? (y or n) y Reading symbols from a... ../../gdb/dwarf2/read.c:8190: internal-error: void create_all_comp_units(dwarf2_per_objfile*): Assertion `per_objfile->per_bfd->all_comp_units.empty ()' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) y --=20 You are receiving this mail because: You are on the CC list for the bug.=