From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F2B25398242D; Fri, 20 May 2022 00:38:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F2B25398242D From: "amerey at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/29159] New: gdb crashes when libstdc++ debuginfo is present but .dwz is missing Date: Fri, 20 May 2022 00:38:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amerey at redhat dot com X-Bugzilla-Status: NEW 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: Fri, 20 May 2022 00:38:13 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29159 Bug ID: 29159 Summary: gdb crashes when libstdc++ debuginfo is present but .dwz is missing Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: amerey at redhat dot com Target Milestone: --- gdb crashes when libstdc++ debuginfo is present but the libstdc++ .dwz file= is missing. This condition can be triggered by installing the libstdc++ debuginfo packa= ge and manually moving the .dwz file so gdb can't find it. Alternatively, all= ow debuginfod to download the libstdc++ debuginfo but cancel the .dwz file download (press ctrl-c during the download). Steps to Reproduce: $ gdb -ex 'run' gdb [...] Downloading separate debug info for /lib64/libstdc++.so.6... Downloading separate debug info for /home/amerey/.cache/debuginfod_client/36f7946c2608f3e08b11ec0af0b63055a39c8= 9f3/debuginfo... Cancelling download of separate debug info for /home/amerey/.cache/debuginfod_client/36f7946c2608f3e08b11ec0af0b63055a39c8= 9f3/debuginfo... [...] Starting program: /usr/bin/gdb=20 Error while reading shared library symbols for /lib64/libstdc++.so.6: could not find '.gnu_debugaltlink' file for /home/amerey/.cache/debuginfod_client/36f7946c2608f3e08b11ec0af0b63055a39c8= 9f3/debuginfo [...] double free or corruption (!prev) --=20 You are receiving this mail because: You are on the CC list for the bug.=