Bug 479381

Summary: "return" can evoke segfault, w/patch
Product: [Fedora] Fedora Reporter: Jim Meyering <meyering>
Component: gdbAssignee: Jan Kratochvil <jan.kratochvil>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dvlasenk, jan.kratochvil
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://sourceware.org/ml/gdb-patches/2008-12/msg00427.html
Whiteboard:
Fixed In Version: 6.8.50.20090302-13.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-30 19:38:52 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:
Attachments:
Description Flags
here's the patch none

Description Jim Meyering 2009-01-09 08:11:32 UTC
Description of problem: running gdb's "return" command can cause a segfault

Version-Release number of selected component (if applicable):
  gdb-6.8.50.20081214-1.fc11.x86_64
  gcc-4.3.2-7.x86_64

How reproducible: always

Steps to Reproduce:
1. see http://sourceware.org/ml/gdb-patches/2008-12/msg00427.html
  
Actual results:
segfault

Expected results:
"return" command works

Additional info:

Comment 1 Jim Meyering 2009-01-09 08:13:35 UTC
Created attachment 328527 [details]
here's the patch

Comment 2 Jan Kratochvil 2009-01-09 21:50:27 UTC
Upstream post:
http://sourceware.org/ml/gdb-patches/2009-01/msg00213.html

For F-11:
http://sourceware.org/gdb/wiki/ArcherBranchManagement
archer-jankratochvil-misc
997d730f46e591a2d45676013ebf857b0339ca04

Comment 3 Jan Kratochvil 2009-03-30 19:38:52 UTC
In Rawhide and FSF GDB:
http://sourceware.org/ml/gdb-cvs/2009-02/msg00069.html