Bug 766719

Summary: [abrt] gdb-7.3.50.20110722-10.fc16: free_cached_comp_units: Process /usr/bin/gdb was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Guillaume Desmottes <gdesmott>
Component: gdbAssignee: Jan Kratochvil <jan.kratochvil>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: jan.kratochvil, pmuldoon, qguo, sergiodj, tromey
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:5eea7f862bbfe730b9ea7ed26f5cd00ea5062c9d
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-13 16:32:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: dso_list
none
File: maps
none
File: environ
none
File: backtrace none

Description Guillaume Desmottes 2011-12-12 15:32:53 UTC
libreport version: 2.0.7
abrt_version:   2.0.6
backtrace_rating: 4
cmdline:        gdb ./empathy-chat
comment:        Was running empathy-chat in gdb; it crashed and gdb crashed as well.
crash_function: free_cached_comp_units
executable:     /usr/bin/gdb
kernel:         3.1.1-2.fc16.x86_64
pid:            8639
pwd:            /home/cassidy/gnome/empathy/src
reason:         Process /usr/bin/gdb was killed by signal 11 (SIGSEGV)
time:           lun 12 déc 2011 16:29:38 CET
uid:            1000
username:       cassidy

backtrace:      Text file, 15515 bytes
dso_list:       Text file, 9632 bytes
environ:        Text file, 4652 bytes
maps:           Text file, 35911 bytes

build_ids:
:16053224897d5961128b8819407b87a74957908a
:84b11ab3a043dc234c53c6c83d9a8aa37af97695
:bcc1273aa3d6d882f6e42297c587d9ddb66cdb18
:bfa713fda01e5880fdba7387f6053e350dcf9738
:3ed9e61c2b7e707ce244816335776afa2ad0307d
:aa733447f84020c94a66814e501a36e248cbb43d
:2c5957a6a123fe37bde0be6e87957f0a02f2b865
:9e8739a57b5d15d950b3daacdfb2383ae7faf7d6
:7f61fb1b16866dcb14575dfc5dda295a8c416071
:6ae19b07608683ea0d76f1406c6d50d5a2793ecc
:ab59942678bcdecb23756804dcd0aac63ccc1669
:086b8d05a2fb6992634d2e22e69d7aefe16cf390
:4ea09f2cc6fa21696beac3f95cdd4160cfddd35f
:9d1209fc79304f03cc839de1c0036c61b48dfff8
:638db099ff5fb986d1a092629d1bb1dca5be4904
:022f1a6511ab7f46cc5b6f0df5852b50dfd46c85
:15c25336f081a938b4c7bdc13478f620c614242d
:b682f0c21c6ed2e0d474de137d5499999d451235
:7109859fdd4912a7b36eea239079fd72b5575d18
:0f0c9eed63ed279ceb0aef109eff8bcbb351e4bb
:e00197fd41716ba040c25b4210f1a3a0eab95133
:104e675cb52acd6a43ff3a77bada7825efd595fa
:b9746e6e639b060dcd2809a4c46655ee77838bf1
:48aea888319e1848137073c9cbde54a4c2a731c9
:6502dd4813f98137c70e6e05cc43828f5c2263c1
:9c23cc77b5763600b189289e892983ebb6c172c8
:b0eabf9093defbfdd0857ea3ed1a4563b743434e
:b2addb78b534f66e1c4fb01a407861181151bd8a
:e2e67b3ae2579e1667b73ad385f61552931024e9
:66b8a549e5dfccb29eee911c9a1f987d05f12613
:cd77f398c344fb85d62bb939fa1896091055f835
:e567a4b498aa9dfc484575e666a17925f0944318
:4cd8fa570a1bbc72cf724584eff76012b2f80b57
:9c4040663276f2d45ef7e52080f2580bc4eeae42
:71ddb5b548bc9a76c3095b7c2a5f4906c85a79d8
:3cbc639da8b05f5cd87202ff77c5c335313d3276
:48d3cff26c916dff6cbcb5e67d5cf6d391f6ccca
:0949b493f01e0553822be3bd14def9dbe79b804f

var_log_messages:
:Dec 12 16:29:38 cass-x200s kernel: [375712.678383] gdb[8639]: segfault at 130 ip 00000000005a8294 sp 00007fffa37a70e0 error 4 in gdb (deleted)[400000+4c6000]
:Dec 12 16:29:38 cass-x200s abrt[19208]: File '/usr/bin/gdb' seems to be deleted
:Dec 12 16:29:45 cass-x200s abrt[19208]: Saved core dump of pid 8639 (/usr/bin/gdb) to /var/spool/abrt/ccpp-2011-12-12-16:29:38-8639 (157061120 bytes)

Comment 1 Guillaume Desmottes 2011-12-12 15:32:56 UTC
Created attachment 545777 [details]
File: dso_list

Comment 2 Guillaume Desmottes 2011-12-12 15:32:58 UTC
Created attachment 545778 [details]
File: maps

Comment 3 Guillaume Desmottes 2011-12-12 15:33:01 UTC
Created attachment 545779 [details]
File: environ

Comment 4 Guillaume Desmottes 2011-12-12 15:33:03 UTC
Created attachment 545780 [details]
File: backtrace

Comment 5 Jan Kratochvil 2011-12-12 19:51:24 UTC
Do you have the problem reproducible?

It happened due to:
Dwarf Error: Cannot handle DW_FORM_<unknown> in DWARF reader [in module /usr/lib/debug/lib64/libc-2.14.90.so.debug]

While the crash should not happen even with invalid debuginfo files in reality currently GDB does not try to be safe against such cases.

It is more suspicious why you have glibc-debuginfo-2.14.90-21.x86_64 corrupted.
Could you try:
gdb -readnow /lib64/libc-2.14.90.so

I also do not see e02146cbd7b3747790cf4808baa58dc78c2e0042 in the build-id list, do you have Fedora /lib64/libc-2.14.90.so?  What does say:
rpm -V glibc{,-debuginfo}
?

That works for me.  If it works for you I suspect some hardware problems, run memtest86+ in such case.

Comment 6 Guillaume Desmottes 2011-12-13 15:24:33 UTC
(In reply to comment #5)
> Do you have the problem reproducible?

No, it happened just once.

> It happened due to:
> Dwarf Error: Cannot handle DW_FORM_<unknown> in DWARF reader [in module
> /usr/lib/debug/lib64/libc-2.14.90.so.debug]
> 
> While the crash should not happen even with invalid debuginfo files in reality
> currently GDB does not try to be safe against such cases.
> 
> It is more suspicious why you have glibc-debuginfo-2.14.90-21.x86_64 corrupted.
> Could you try:
> gdb -readnow /lib64/libc-2.14.90.so

Reading symbols from /lib64/libc-2.14.90.so...Reading symbols from /usr/lib/debug/lib64/libc-2.14.90.so.debug...expanding to full symbols...done.
expanding to full symbols...done.

Seems to work.

> I also do not see e02146cbd7b3747790cf4808baa58dc78c2e0042 in the build-id
> list, do you have Fedora /lib64/libc-2.14.90.so?  What does say:
> rpm -V glibc{,-debuginfo}
> ?

I do have this file.
$  rpm -V glibc{,-debuginfo}
missing     /usr/lib64/audit/sotruss-lib.so (Permission denied)
?........    /usr/sbin/glibc_post_upgrade.x86_64
?........    /usr/sbin/glibc_post_upgrade.i686


> That works for me.  If it works for you I suspect some hardware problems, run
> memtest86+ in such case.

Ok, I'll try that and let you know.

Comment 7 Jan Kratochvil 2011-12-13 16:32:32 UTC
Thanks but so far I do not see a GDB bug to fix.  As long as I forgive:

(In reply to comment #5)
> While the crash should not happen even with invalid debuginfo files in reality
> currently GDB does not try to be safe against such cases.

Comment 8 Guillaume Desmottes 2011-12-14 09:44:09 UTC
(In reply to comment #6)
> > That works for me.  If it works for you I suspect some hardware problems, run
> > memtest86+ in such case.
> 
> Ok, I'll try that and let you know.

Nope, no error found.