From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5DCAF3858D20; Wed, 9 Aug 2023 10:40:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5DCAF3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1691577628; bh=M59U1G4FPxb0xBFPoKorzlHL8uovHK1LBAXFezBkIxE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=c3SuLYmL0oFZvUMzTnoI2utP0SINMXnfoOhZ3I51whtuA4UlnatDsJR9PhSWV0/y9 9WRQ/9k8hQq1UvoOv+XdohuSd+rw5SDv2UT7aULNZhcJXzT7z0N5gVbuEzVGQNthB3 pf9f/BPpUg0jKJ4fUdv7E3s+gwQEXwOihTwUFuWI= From: "tneumann at users dot sourceforge.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/110956] gcc_assert is hit at gcc-13.2.0/libgcc/unwind-dw2-fde.c#L291 with some special library Date: Wed, 09 Aug 2023 10:40:27 +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: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.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://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 #1 from Thomas Neumann = --- The assert says that the code tries to de-register a frame that it did not register before or that was deregistered before. If you see that failing you might want to add some print statements to __register_frame_info_{tables_|}bases and __deregister_frame_info_bases. But the example that you included in the report does not seem to trigger the assert but crashes during unwinding instead? This has to be looked at in a debugger. I do not have access to Solaris. If you can give me remote access to a suit= able machine I am willing to debug this, otherwise you must check yourself why t= he crash happens.=