From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 306B13894C1D; Thu, 15 Dec 2022 21:12:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 306B13894C1D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1671138758; bh=baguYmcO1ztQX9KCZX0QbZGNlrwBfyRRJt6jyEI+EEo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yWwTiKT9gvKn2E9SQtj1D332GPLL+bS3fh+FKA+i8HKVgNmcXP3P4u3VKm9ha6dh5 eAKtq8pkIIyHarjCIndd2qMGhRFbWpvL+8E5Uj6MDAUiOBg1MOk3ehTtlWFxyO864s t55Kl1H32762TV3ebdLCs+wxC6xIhGn1saKA+qR8= From: "simon.marchi at polymtl dot ca" To: gdb-prs@sourceware.org Subject: [Bug backtrace/29395] blockframe.c:79: internal-error: get_frame_block: Assertion `bl != NULL' failed. Date: Thu, 15 Dec 2022 21:12:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: backtrace X-Bugzilla-Version: 11.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simon.marchi at polymtl dot ca X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 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=3D29395 --- Comment #8 from Simon Marchi --- (In reply to Seth Pellegrino from comment #7) > (In reply to Simon Marchi from comment #5) > > Ok, I got it to crash by installing the Arch Linux packages you provide= d on > > Arch Linux system, and then: > >=20 > > $ /usr/bin/gdb /usr/bin/kicad -c kicad-core-gdb-crasher > >=20 > > I then tried using my own build of GDB, it wouldn't crash. I rebuilt t= he > > Arch package with debug info to understand where it crashes, it's withi= n a > > frame-filter implementation. To reproduce the crash, we need this to be > > loaded: > >=20 > > [ ... ] >=20 > Oh, interesting: so it's something particular about the way the arch pack= age > is built? Is that frame-filter something I can turn off to avoid the crash > for now? No, just that by default, when you build GDB from source (or pretty much any other package using autotools), it defaults to using the /usr/local prefix.= So my local build was looking for separate debug info in /usr/local/lib/debug, didn't find the required debug info, and therefore didn't crash. By tellin= g it to search in /usr/lib/debug, it finds the debug info and hits the bug. You can disable the frame-filter by with the "disable frame-filter" command. Then confirm it is disabled with "info frame-filter". See: https://sourceware.org/gdb/onlinedocs/gdb/Frame-Filter-Management.html --=20 You are receiving this mail because: You are on the CC list for the bug.=