From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0383A3857C60; Fri, 30 Apr 2021 12:49:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0383A3857C60 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/27806] New: free(): invalid pointer during gdb.ada/fixed_cmp.exp Date: Fri, 30 Apr 2021 12:49:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2021 12:49:34 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27806 Bug ID: 27806 Summary: free(): invalid pointer during gdb.ada/fixed_cmp.exp Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- On openSUSE tumbleweed I run into: ... Running /data/gdb_versions/devel/src/gdb/testsuite/gdb.ada/fixed_cmp.exp ... ERROR: GDB process no longer exists ... In more detail: ... (gdb) print My_Var > 10.0^M free(): invalid pointer^M ERROR: GDB process no longer exists GDB process exited with wait status 5995 exp9 0 0 CHILDKILLED SIGABRT SIGAB= RT UNRESOLVED: gdb.ada/fixed_cmp.exp: gnat_encodings=3Dall: print My_Var > 10.0 ERROR: Couldn't send print My_Var > 20.0 to GDB. ... Reproduce on command line: ... $ gdb -q -batch ./outputs/gdb.ada/fixed_cmp/fixed -ex "b fixed.adb:23" -ex= run -ex "print My_Var > 10.0" Breakpoint 1 at 0x402f95: file fixed.adb, line 23. Breakpoint 1, fixed () at fixed.adb:23 23 Do_Nothing (My_Var'Address); -- STOP double free or corruption (out) Aborted (core dumped) ... --=20 You are receiving this mail because: You are on the CC list for the bug.=