From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 71C083849ACE; Fri, 3 May 2024 15:38:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 71C083849ACE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1714750698; bh=Lk6a/60Bc3u7+6XriusFFwVR9ejSfsQJ9k8euQeePb8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DApxf/l0r7q/f037YwZEtSWj/2H8TANZrgqgV+IBWQd+N3ug5fcMINpUIaFIOhUc0 6794hBb1Lo8fQ9gHysDGsYUnkj0Vd9orUB0IcKF0+5OtnuoEXwW53LH33q9YCiey7d lEyPIGhVDIdMo4kR4gt6O7p5gZ6ELADmKT7UNFPU= From: "ssbssa at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug exp/31671] [gdb/exp] Segmentation fault in value_type Date: Fri, 03 May 2024 15:38:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: exp X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ssbssa at sourceware dot org X-Bugzilla-Status: NEW 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: 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=3D31671 --- Comment #2 from Hannes Domani --- Commit [1] changed the arrayview argument of the last 2 call_function_by_ha= nd calls to include the NULL pointer at the end, I suspect this is the reason = for the crash. It also added the following comment to the split out function: > /* Note that ARGS needs 2 empty slots up front and must end with a > null pointer. */ Why is this null pointer even needed? [1] https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dcommitdiff;h=3D5e80600= ed0e929faaeac205dbf0d4e7f9b2842cb --=20 You are receiving this mail because: You are on the CC list for the bug.=