public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tui/26973] New: gdb crashes when not including the status window in a new layout
@ 2020-11-29 17:40 ssbssa at sourceware dot org
  2020-11-29 17:49 ` [Bug tui/26973] " cvs-commit at gcc dot gnu.org
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: ssbssa at sourceware dot org @ 2020-11-29 17:40 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 26973
           Summary: gdb crashes when not including the status window in a
                    new layout
           Product: gdb
           Version: 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tui
          Assignee: unassigned at sourceware dot org
          Reporter: ssbssa at sourceware dot org
  Target Milestone: 10.2

If you create a new TUI layout, don't include the status window, and then
change from a layout with the status window to the new one, gdb crashes.

(gdb) layout src
(gdb) tui new-layout test src 2 cmd 1
(gdb) layout test

On Windows I get a STATUS_HEAP_CORRUPTION exception (0xc0000374).
It happens because tui_apply_current_layout() deletes all windows that are no
longer needed, but the status (locator) window is never allocated dynamically.

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

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

end of thread, other threads:[~2021-11-22  6:48 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-29 17:40 [Bug tui/26973] New: gdb crashes when not including the status window in a new layout ssbssa at sourceware dot org
2020-11-29 17:49 ` [Bug tui/26973] " cvs-commit at gcc dot gnu.org
2020-11-29 17:54 ` cvs-commit at gcc dot gnu.org
2020-11-29 17:55 ` ssbssa at sourceware dot org
2021-06-27 17:48 ` ahmedsayeed1982 at yahoo dot com
2021-09-02 11:06 ` donipah907 at mtlcz dot com
2021-09-02 11:15 ` mark at klomp dot org
2021-09-05  7:36 ` kimolsun2020 at yahoo dot com
2021-09-06  9:08 ` focixujo at livinginsurance dot co.uk
2021-09-06  9:12 ` focixujo at livinginsurance dot co.uk
2021-09-10 19:36 ` mehmetgelisin at aol dot com
2021-09-14 12:54 ` jarilittlenen at yahoo dot com
2021-09-26 13:31 ` tes.vik1986 at gmail dot com
2021-10-09 11:00 ` gulsenenginar at aol dot com
2021-10-09 16:09 ` studiaviktor at gmail dot com
2021-10-19  7:14 ` progonsaytu at gmail dot com
2021-10-24 10:02 ` glassmtech at ukr dot net
2021-11-13 19:34 ` tesaso8237 at funboxcn dot com
2021-11-22  6:48 ` gexed96894 at keagenan dot com

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).