From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7BBAF3858288; Thu, 30 May 2024 13:36:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7BBAF3858288 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1717076180; bh=yz48T4nVNeACDD/Sm/YVybBPb1qV69ByH0unC1MwZdY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ff48oZ21KGEq1UVJQa/ZdGWEEF2fv62J5xP5PfSykl2IqCCTC6YXNiBehdvD4P+jc wD6/2qraQIUhQPU6yhLhInE00yIZnEdcdEoyrn+zLmhaRY8h3fDtOAcHtMQw4rIN85 OtdinhID72JZ/zXJa8+iO5GnDTRgshl14xA+hW+Y= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/31820] segfault when target_stack::push > t->stratum () Date: Thu, 30 May 2024 13:36:19 +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: cc 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=3D31820 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg --- Comment #1 from Tom Tromey --- > _vptr.target_ops =3D 0x0 Something is pretty wrong with your build. the_dummy_target is just: static dummy_target the_dummy_target; The C++ compiler should ensure this is fully initialized before use. The vptr should never be null. I doubt this is a gdb bug, but rather something wrong with your compiler or something along those lines. --=20 You are receiving this mail because: You are on the CC list for the bug.=