Bug 614604

Summary: invalid backtraces by gdb 7.0.1-23.el5
Product: [Fedora] Fedora Reporter: Jan Kratochvil <jan.kratochvil>
Component: gdbAssignee: Jan Kratochvil <jan.kratochvil>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 12CC: jan.kratochvil, pmuldoon, swagiaal
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gdb-7.1-29.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 614028 Environment:
Last Closed: 2010-10-02 21:32:36 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: 614028    
Bug Blocks: 614601    

Description Jan Kratochvil 2010-07-14 20:46:33 UTC
+++ This bug was initially created as a clone of Bug #614028 +++

Created an attachment (id=431479)
Old Backtrace, New Backtrace and Binary to reproduce

Description of problem:
gdb produces invalid backtraces.

for example stackframe of threads:
#12 0x0000000001db3818 in ?? ()
#13 0x00000000477c3c01 in ?? ()
#14 0x00000000477c3c50 in ?? ()
Cannot access memory at address 0x2f1b16068d234f5

Version-Release number of selected component (if applicable):
7.0.1-23.el5 (gdb-6.8-37.el5 - RHEL 5.4 - works perfectly)

How reproducible:
(Attachment)

Steps to Reproduce:
1. Call Binary "BinaryToReproduce"
2. Binary will crash automatically with signal 6
3. Analyze coredump with gdb - following steps:
3.1 bt
3.2 info threads
3.3 thread apply all backtrace


  
Actual results:
see gdb.BinaryToReproduce_7.0.1-23.el5.txt in attached zip-archive.

Expected results:
see gdb.BinaryToReproduce_gdb-6.8-37.el5.txt in attached zip-archive.

Additional info:
Binary compliled with gcc version 4.1.2 20080704 (Red Hat 4.1.2-48).

--- Additional comment from jan.kratochvil on 2010-07-14 22:34:33 CEST ---

Fix + testcase at:
http://sourceware.org/ml/archer/2010-q3/msg00028.html

Comment 1 Fedora Update System 2010-07-20 17:33:59 UTC
gdb-7.1-29.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/gdb-7.1-29.fc13

Comment 2 Fedora Update System 2010-07-20 18:07:21 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