Bug 561784 - corrupted psymtabs_addrmap in objfile
Summary: corrupted psymtabs_addrmap in objfile
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: 12
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tom Tromey
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2d1165c7a4a1d6781cd89bcc7dd...
: 568951 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-04 10:17 UTC by alan merriman
Modified: 2014-08-11 05:46 UTC (History)
5 users (show)

Fixed In Version: gdb-7.0.1-34.fc12
Clone Of:
Environment:
Last Closed: 2010-03-16 00:50:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (11.04 KB, text/plain)
2010-02-04 10:17 UTC, alan merriman
no flags Details

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.


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