Bug 200048

Summary: gdb crashes on ^X 1
Product: [Fedora] Fedora Reporter: mmiikkee13
Component: gdbAssignee: Alexandre Oliva <aoliva>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: jan.kratochvil, stoned
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: gdb-6.5-5.fc6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-25 14:27:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 195895, 202345, 202346, 202347    
Attachments:
Description Flags
gdb.log (generated it with 'gdb 2>&1 |tee gdb.log')
none
gdb-6.5 patch fixing the memory corruption none

Description mmiikkee13 2006-07-25 04:02:12 UTC
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                                 6.3.0.0-1.122          installed

How reproducible:
[mike in ~]$ gdb
GNU gdb Red Hat Linux (6.3.0.0-1.122rh)
Copyright 2004 Free Software Foundation, Inc.
(blah blah blah, legal stuff)
(gdb) (hit ctrl-X, release both, press 1 (one))
  
Actual results:
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 ;-)

Expected results:
A nice ncurses window with an interactive view of the source code.

Comment 1 mmiikkee13 2006-07-25 04:02:12 UTC
Created attachment 132959 [details]
gdb.log (generated it with 'gdb 2>&1 |tee gdb.log')

Comment 2 Jan Kratochvil 2006-08-13 09:31:35 UTC
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.
http://www.jankratochvil.net/priv/pr200048/

Comment 6 Alexandre Oliva 2006-08-24 07:09:43 UTC
*** Bug 195895 has been marked as a duplicate of this bug. ***

Comment 7 Alexandre Oliva 2006-08-24 07:16:09 UTC
gdb-6.5-5 in today's rawhide should have the fix.