From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BCF71385780D; Wed, 13 Mar 2024 19:30:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BCF71385780D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1710358259; bh=R8PXzhXSLfBFC9qh/AiIoD7rUbWwzn11u6cbF/kZxkg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QGmEBT5lVEFSw+qCo4qxH+k8Me4v9462+a1rwe1KZ//4l0KoltfIiZa/1iDB7Etxh 2zIekq5wNK5HQAp/Gf54fPRG+39ce95v+13eE35tuK/tamEtUcEbks1QZ13xkHvvTw iJ7W6UkJNziNFfNa0gD83a37kNoA7XCrsWEB1+B4= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/31478] GDB crashes when corrupted debuginfo Date: Wed, 13 Mar 2024 19:30:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 14.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org 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: Message-ID: In-Reply-To: References: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31478 --- Comment #6 from Tom Tromey --- (In reply to D=C4=81vis Mos=C4=81ns from comment #5) > I have some other corrupted files aswell but those don't crash gdb. > It just outputs bunch of >=20 > > Dwarf Error: wrong version in compilation unit header (is 0, should be = 2, 3, 4 or 5) [in module ~/.cache/debuginfod_client/xxx/debuginfo] This is fine unless gdb is incorrect in saying so. The main thing with corrupted files is not to crash or have bad behavior. Ignoring the damage and continuing on is what should happen. --=20 You are receiving this mail because: You are on the CC list for the bug.=