public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tui/27900] New: gdb dumps core after using arrow keys in reverse-i-search
@ 2021-05-23  0:18 raphael at pdev dot de
  2023-05-24 14:11 ` [Bug tui/27900] " vries at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: raphael at pdev dot de @ 2021-05-23  0:18 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 27900
           Summary: gdb dumps core after using arrow keys in
                    reverse-i-search
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tui
          Assignee: unassigned at sourceware dot org
          Reporter: raphael at pdev dot de
  Target Milestone: ---

Minimal example to reproduce the bug:
- gdb --tui
- (make sure the focus is not in the terminal window, as it is after startup)
- press C-r to start the reverse command search
- press any arrow key or PgUp/PgDown
- (notice how typing is blocked, and Enter does not return to the prompt)
- press C-c
gdb crashes with the message "free(): double free detected in tcache 2" and
dumps core.

I used gdb version 10.2 on Arch Linux.

I discovered this bug while trying to recall a previously typed command to edit
it before executing it while the focus was on another window.

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

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

* [Bug tui/27900] gdb dumps core after using arrow keys in reverse-i-search
  2021-05-23  0:18 [Bug tui/27900] New: gdb dumps core after using arrow keys in reverse-i-search raphael at pdev dot de
@ 2023-05-24 14:11 ` vries at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2023-05-24 14:11 UTC (permalink / raw)
  To: gdb-prs

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

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vries at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Dup.

*** This bug has been marked as a duplicate of bug 30056 ***

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

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

end of thread, other threads:[~2023-05-24 14:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-23  0:18 [Bug tui/27900] New: gdb dumps core after using arrow keys in reverse-i-search raphael at pdev dot de
2023-05-24 14:11 ` [Bug tui/27900] " 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).