From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A012C3858D20; Wed, 9 Aug 2023 22:55:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A012C3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1691621747; bh=6kz/2Vb6Dl+xqHTivFphl5xLh8l2wbEw094mvzmVrpw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Bq/8fFmcfmJ26+TKPrXJw2kCc5DP3IUjZ0CQM+wtAsqO5S1WSkuJ4Nv1s/FKOkx27 orooWA+gylTnQr7BmnylareG1f5sgp4iotTABZe6LIuaRLbXggZe7+exl28zodArsL z5xGEflg+W9NwPg0vQjguXsp6jlrtX9qoQwVs1eY= From: "tneumann at users dot sourceforge.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/110956] [13/14 regression] gcc_assert is hit at gcc-13.2.0/libgcc/unwind-dw2-fde.c#L291 with some special library Date: Wed, 09 Aug 2023 22:55:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tneumann at users dot sourceforge.net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 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://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110956 --- Comment #7 from Thomas Neumann = --- Thanks for the pointer, I could reproduce the problem in a VM now. That shared library uses an usual table encoding that has to reference the original base pointer within get_pc_range. But when deregistering a frame we simply set the base pointer to nullptr, which does not work here. I will write a patch that makes sure we always have to correct base pointer available.=