Red Hat Bugzilla – Bug 200048
gdb crashes on ^X 1
Last modified: 2007-11-30 17:11:38 EST
Description of problem:
gdb crashes when I hit ^X and then 1 (which should bring up a nice ncurses
window with a view of the source code.) gnome-terminal refused to scroll up, but
here's what I got from the crash: http://rafb.net/paste/results/UjscKr81.html
Version-Release number of selected component (if applicable):
gdb.i386 220.127.116.11-1.122 installed
[mike in ~]$ gdb
GNU gdb Red Hat Linux (18.104.22.168-1.122rh)
Copyright 2004 Free Software Foundation, Inc.
(blah blah blah, legal stuff)
(gdb) (hit ctrl-X, release both, press 1 (one))
A major crash, http://rafb.net/paste/results/UjscKr81.html
I also tried tee'ing it to a log file, but it's mostly unreadable to me. I
attached it in case someone here is well-versed in escape codes ;-)
A nice ncurses window with an interactive view of the source code.
Created attachment 132959 [details]
gdb.log (generated it with 'gdb 2>&1 |tee gdb.log')
Created attachment 134094 [details]
gdb-6.5 patch fixing the memory corruption
Thanks for this bugreport.
Provided only the RawHide/FC6 version here - binary built for FC5.
*** Bug 195895 has been marked as a duplicate of this bug. ***
gdb-6.5-5 in today's rawhide should have the fix.