Bug 574483

Summary: SIGSEGV on 'run' while displaying the result of a function
Product: [Fedora] Fedora Reporter: Kamil Dudka <kdudka>
Component: gdbAssignee: Jan Kratochvil <jan.kratochvil>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 12CC: jan.kratochvil, pmuldoon
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-07 21:15:10 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
backtrace of the gdb crash
none
bt without optimizations none

Description Kamil Dudka 2010-03-17 16:10:28 UTC
Created attachment 400814 [details]
backtrace of the gdb crash

Version-Release number of selected component (if applicable):
gdb-7.0.1-35.fc12.x86_64

How reproducible:
100% by me

Steps to Reproduce:
1. gdb curl --args curl -so/dev/null https://bugzilla.redhat.com
2. (gdb) break HandshakeCallback
3. (gdb) run
4. (gdb) display PR_GetError()
5. (gdb) run
  
Actual results:
gdb gets SIGSEGV

Expected results:
no crash, still debugging the program

Additional info:
bt attached

Comment 1 Kamil Dudka 2010-03-17 16:50:18 UTC
Created attachment 400827 [details]
bt without optimizations

Comment 2 Jan Kratochvil 2010-04-03 10:26:12 UTC
OK, thanks for the bugreport.
http://sourceware.org/ml/gdb-patches/2010-04/msg00055.html

Comment 3 Fedora Update System 2010-04-03 10:35:36 UTC
gdb-7.1-5.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/gdb-7.1-5.fc13

Comment 4 Fedora Update System 2010-04-03 10:38:29 UTC
gdb-7.0.1-39.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/gdb-7.0.1-39.fc12

Comment 5 Kamil Dudka 2010-04-03 10:53:19 UTC
Update to gdb-7.0.1-39.fc12.x86_64.rpm solves the problem for me.  Thanks!

Comment 6 Fedora Update System 2010-07-20 18:07:26 UTC
gdb-7.0.1-49.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/gdb-7.0.1-49.fc12