Bug 25402

Summary: Asm view can not be restarted
Product: gdb Reporter: flymagnus
Component: tuiAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: minor CC: tromey
Priority: P2    
Version: 8.3.1   
Target Milestone: 9.1   
Host: Target:
Build: Last reconfirmed:

Description flymagnus 2020-01-16 17:52:34 UTC
Turning on "layout asm", and running any program twice in gdb gives SIGSEGV or SIGABRT. Example output is below, suggesting a possible double free.

Start it from the beginning? (y or n) y
Starting program: /tmp/gdbcrash/a.out
free(): invalid size
                    fish: “gdb ./a.out” terminated by signal SIGABRT (Abort)
Comment 1 Tom Tromey 2020-03-31 15:40:52 UTC
Thank you for the report.
I was able to reproduce this with gdb 8.3, but not with 9.1.
There were many TUI fixes in this time frame, including at least
one double-free fix, so I am closing this as fixed.