Bug 25402 - Asm view can not be restarted
Summary: Asm view can not be restarted
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: tui (show other bugs)
Version: 8.3.1
: P2 minor
Target Milestone: 9.1
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-16 17:52 UTC by flymagnus
Modified: 2020-03-31 15:40 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.