Bug 574483 - SIGSEGV on 'run' while displaying the result of a function
Summary: SIGSEGV on 'run' while displaying the result of a function
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: 12
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jan Kratochvil
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-17 16:10 UTC by Kamil Dudka
Modified: 2010-07-20 18:07 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-04-07 21:15:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
backtrace of the gdb crash (2.59 KB, text/plain)
2010-03-17 16:10 UTC, Kamil Dudka
no flags Details
bt without optimizations (3.45 KB, text/plain)
2010-03-17 16:50 UTC, Kamil Dudka
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.