From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 443E23855014; Sun, 27 Jun 2021 17:48:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 443E23855014 From: "ahmedsayeed1982 at yahoo dot com" To: gdb-prs@sourceware.org Subject: [Bug tui/26973] gdb crashes when not including the status window in a new layout Date: Sun, 27 Jun 2021 17:48:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tui X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ahmedsayeed1982 at yahoo dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 10.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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: Sun, 27 Jun 2021 17:48:53 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26973 Ahmed Sayeed changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ahmedsayeed1982 at yahoo d= ot com --- Comment #4 from Ahmed Sayeed --- 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 dynamical= ly. http://localpay.tech --=20 You are receiving this mail because: You are on the CC list for the bug.=