From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2EAE13858D32; Mon, 5 Jun 2023 20:34:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2EAE13858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685997296; bh=lQ1+ZLDPrVKmjG+d8HV+xLCaCiPaQtLgJGF7Mejse8M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rwCE/+aiykqWSnHP0RpKHptE/mdGRzHxH223Y07r1k9aA5+oRfEB96/C2oSg2SubQ 36PkLAclflobpvWlOorTDeHF9F8ZPv1qSixmh1qQxXGlnHZQ1hmC1Yztg2vosekxre qexaZSc7tJF18h9y0Cg1BJK/IXZ+BwmOlBqcXWlI= From: "carlosgalvezp at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/109712] Segmentation fault in linear_search_fdes Date: Mon, 05 Jun 2023 20:34:55 +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.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlosgalvezp at gmail dot com X-Bugzilla-Status: REOPENED 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=3D109712 --- Comment #22 from Carlos Galvez --- Indeed it's an uninitialized read according to valgrind: =3D=3D15475=3D=3D Use of uninitialised value of size 8 =3D=3D15475=3D=3D at 0x1E81C2E9: base_from_object (unwind-dw2-fde.c:319) =3D=3D15475=3D=3D by 0x1E81C2E9: linear_search_fdes (unwind-dw2-fde.c:97= 5) =3D=3D15475=3D=3D by 0x1E81CE50: find_fde_tail (unwind-dw2-fde-dip.c:519) =3D=3D15475=3D=3D by 0x1E81CE50: _Unwind_Find_FDE (unwind-dw2-fde-dip.c:= 573) =3D=3D15475=3D=3D by 0x1E8184A9: uw_frame_state_for (unwind-dw2.c:1005) =3D=3D15475=3D=3D by 0x1E819EFC: _Unwind_RaiseException (unwind.inc:104) =3D=3D15475=3D=3D by 0x1E2B8089: __cxa_throw (in /path/to/gcc/usr/lib64/libstdc++.so.6.0.32)=