public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/27806] New: free(): invalid pointer during gdb.ada/fixed_cmp.exp
@ 2021-04-30 12:49 vries at gcc dot gnu.org
  2021-04-30 12:50 ` [Bug gdb/27806] " vries at gcc dot gnu.org
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: vries at gcc dot gnu.org @ 2021-04-30 12:49 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=27806

            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 SIGABRT
UNRESOLVED: gdb.ada/fixed_cmp.exp: gnat_encodings=all: 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)
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-05-04  8:28 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-30 12:49 [Bug gdb/27806] New: free(): invalid pointer during gdb.ada/fixed_cmp.exp vries at gcc dot gnu.org
2021-04-30 12:50 ` [Bug gdb/27806] " vries at gcc dot gnu.org
2021-04-30 12:52 ` vries at gcc dot gnu.org
2021-04-30 13:19 ` vries at gcc dot gnu.org
2021-04-30 13:48 ` vries at gcc dot gnu.org
2021-04-30 14:00 ` vries at gcc dot gnu.org
2021-04-30 14:09 ` simark at simark dot ca
2021-04-30 14:13 ` vries at gcc dot gnu.org
2021-04-30 14:26 ` vries at gcc dot gnu.org
2021-04-30 14:29 ` vries at gcc dot gnu.org
2021-04-30 14:35 ` vries at gcc dot gnu.org
2021-04-30 14:37 ` simark at simark dot ca
2021-04-30 14:42 ` vries at gcc dot gnu.org
2021-04-30 14:56 ` vries at gcc dot gnu.org
2021-05-03  8:39 ` [Bug guile/27806] " vries at gcc dot gnu.org
2021-05-03  8:55 ` vries at gcc dot gnu.org
2021-05-04  8:26 ` cvs-commit at gcc dot gnu.org
2021-05-04  8:28 ` vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).