Bug 561784

Summary: corrupted psymtabs_addrmap in objfile
Product: [Fedora] Fedora Reporter: alan merriman <alanmerriman>
Component: gdbAssignee: Tom Tromey <tromey>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: antifreeze2173, jan.kratochvil, patrickm, pmuldoon, tromey
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:2d1165c7a4a1d6781cd89bcc7dd315f2ea9bae9e
Fixed In Version: gdb-7.0.1-34.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-16 00:50:34 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
File: backtrace none

Description alan merriman 2010-02-04 10:17:17 UTC
abrt 1.0.4 detected a crash.

architecture: i686
Attached file: backtrace
cmdline: gdb -batch -ex 'set set debug-file-direc set debug-file-directory /usr/lib/debug:/var/ca' -ex 'file file /usr/lib/firefox-3.5.6/fi' -ex 'core-file core-file /var/cache/abrt/ccpp-1265278080-225' -ex 'thread threa thr thread ap thre thre' -ex 'info info shar' -ex 'print print (char*)__abo'
component: gdb
executable: /usr/bin/gdb
kernel: 2.6.31.12-174.2.3.fc12.i686
package: gdb-7.0.1-30.fc12
rating: 4
reason: Process was terminated by signal 6 (Aborted)
release: Fedora release 12 (Constantine)

Comment 1 alan merriman 2010-02-04 10:17:20 UTC
Created attachment 388760 [details]
File: backtrace

Comment 2 Tom Tromey 2010-02-25 18:03:28 UTC
This bug happens because an objfile's psymtabs_addrmap is never
converted to a fixed addrmap.
This means an error occurred during dwarf2_build_psymtabs_hard.
This can only happen due to the code from the lazy symfile branch --
trunk doesn't exhibit this behavior because all calls to the
syms_read method are protected by a cleanup that destroys the objfile.

It would be interesting to know which objfile causes an error and
what the error is.

I'm investigating a fix.

Comment 3 Tom Tromey 2010-02-26 23:50:11 UTC
I pushed a fix for this to archer-tromey-delayed-symfile.

Comment 4 Tom Tromey 2010-03-01 16:56:39 UTC
*** Bug 568951 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2010-03-12 13:58:51 UTC
gdb-7.0.1-34.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/gdb-7.0.1-34.fc12

Comment 6 Fedora Update System 2010-03-16 00:50:16 UTC
gdb-7.0.1-34.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.