Bug 850502 - [abrt] gdb- elf_get_probes: Process /usr/bin/gdb was killed by signal 11 (SIGSEGV)
[abrt] gdb- elf_get_probes: Process /usr/bin/gdb was ...
Product: Fedora
Classification: Fedora
Component: gdb (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Jan Kratochvil
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-08-21 12:54 EDT by Rafael Kümmel
Modified: 2013-07-31 21:02 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-07-31 21:02:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
File: backtrace (22.62 KB, text/plain)
2012-08-21 12:54 EDT, Rafael Kümmel
no flags Details
File: maps (14.56 KB, text/plain)
2012-08-21 12:54 EDT, Rafael Kümmel
no flags Details

  None (edit)
Description Rafael Kümmel 2012-08-21 12:54:38 EDT
libreport version: 2.0.10
abrt_version:   2.0.10
backtrace_rating: 4
cmdline:        /usr/bin/gdb -i=mi main
crash_function: elf_get_probes
executable:     /usr/bin/gdb
kernel:         3.5.1-1.fc17.x86_64
pid:            1349
pwd:            /home/rafael.kummel
remote_result:  NOTFOUND
time:           Tue 21 Aug 2012 12:23:56 PM BRT
uid:            1000
username:       rafael.kummel

backtrace:      Text file, 23162 bytes
maps:           Text file, 14910 bytes



:9f64df5552bcacac80071bad9f04fda17a7aef7b 0xdc6c9 - [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x24e326 find_probes_in_objfile [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x10c2a2 - [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x111d72 breakpoint_re_set [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x14b177 clear_symtab_users [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x224276 - [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x170728 throw_exception [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x1707e0 - [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x170be6 throw_verror [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x224934 error [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x14b83e reread_symbols [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x15814d - [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x22286a execute_command [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0xb5110 - [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0xb51bd - [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x171777 interp_exec [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0xbaa2b mi_cmd_interpreter_exec [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0xbe0d5 mi_execute_command [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x177cd6 - [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x17847f gdb_do_one_event [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x178605 start_event_loop [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x171db3 - [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x170ebe catch_errors [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x172976 - [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x170ebe catch_errors [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x1735b4 gdb_main [exe] -
:9f64df5552bcacac80071bad9f04fda17a7aef7b 0x5121e main [exe] -

:/usr/lib64/python2.7/lib-dynload/itertoolsmodule.so python-libs-2.7.3-7.2.fc17.x86_64 (Fedora Project) 1344208009
:/usr/lib64/libplc4.so nspr-4.9.1-2.fc17.x86_64 (Fedora Project) 1342753536
:/usr/lib64/libattr.so.1.1.0 libattr-2.4.46-5.fc17.x86_64 (Fedora Project) 1337719197
:/usr/lib64/libpopt.so.0.0.0 popt-1.13-10.fc17.x86_64 (Fedora Project) 1337719198
:/usr/lib64/libsqlite3.so.0.8.6 sqlite-3.7.11-3.fc17.x86_64 (Fedora Project) 1342478450
:/usr/lib64/libcap.so.2.22 libcap-2.22-2.fc17.x86_64 (Fedora Project) 1337719197
:/usr/lib64/libreadline.so.6.2 readline-6.2-4.fc17.x86_64 (Fedora Project) 1337719198
:/usr/lib64/libz.so.1.2.5 zlib-1.2.5-6.fc17.x86_64 (Fedora Project) 1337719197
:/usr/lib64/libnss3.so nss-3.13.5-1.fc17.x86_64 (Fedora Project) 1342753544
:/usr/lib64/libm-2.15.so glibc-2.15-56.fc17.x86_64 (Fedora Project) 1345347643
:/usr/lib64/libnssutil3.so nss-util-3.13.5-1.fc17.x86_64 (Fedora Project) 1342753537
:/usr/lib64/libncurses.so.5.9 ncurses-libs-5.9-4.20120204.fc17.x86_64 (Fedora Project) 1337719197
:/usr/lib64/libbz2.so.1.0.6 bzip2-libs-1.0.6-4.fc17.x86_64 (Fedora Project) 1337719198
:/usr/lib64/libnss_files-2.15.so glibc-2.15-56.fc17.x86_64 (Fedora Project) 1345347643
:/usr/lib64/libfreebl3.so nss-softokn-freebl-3.13.5-1.fc17.x86_64 (Fedora Project) 1342753542
:/usr/lib64/libpthread-2.15.so glibc-2.15-56.fc17.x86_64 (Fedora Project) 1345347643
:/usr/lib64/libutil-2.15.so glibc-2.15-56.fc17.x86_64 (Fedora Project) 1345347643
:/usr/lib64/librpmio.so.2.0.1 rpm-libs- (Fedora Project) 1342478609
:/usr/lib64/libc-2.15.so glibc-2.15-56.fc17.x86_64 (Fedora Project) 1345347643
:/usr/lib64/libdb-5.2.so libdb-5.2.36-5.fc17.x86_64 (Fedora Project) 1337719200
:/usr/lib64/libdl-2.15.so glibc-2.15-56.fc17.x86_64 (Fedora Project) 1345347643
:/usr/lib64/libselinux.so.1 libselinux-2.1.10-3.fc17.x86_64 (Fedora Project) 1337719197
:/usr/lib64/libtinfo.so.5.9 ncurses-libs-5.9-4.20120204.fc17.x86_64 (Fedora Project) 1337719197
:/usr/lib64/libplds4.so nspr-4.9.1-2.fc17.x86_64 (Fedora Project) 1342753536
:/usr/lib64/liblua-5.1.so lua-5.1.4-10.fc17.x86_64 (Fedora Project) 1337719200
:/usr/lib64/libelf-0.154.so elfutils-libelf-0.154-2.fc17.x86_64 (Fedora Project) 1344654448
:/usr/lib/locale/locale-archive glibc-common-2.15-56.fc17.x86_64 (Fedora Project) 1345347657
:/usr/lib64/liblzma.so.5.0.99 xz-libs-5.1.1-2alpha.fc17.x86_64 (Fedora Project) 1337719198
:/usr/lib64/libsoftokn3.so nss-softokn-3.13.5-1.fc17.x86_64 (Fedora Project) 1342753543
:/usr/lib64/libnspr4.so nspr-4.9.1-2.fc17.x86_64 (Fedora Project) 1342753536
:/usr/lib64/libacl.so.1.1.0 libacl-2.2.51-5.fc17.x86_64 (Fedora Project) 1337719198
:/usr/lib64/librpm.so.2.0.3 rpm-libs- (Fedora Project) 1342478609
:/usr/lib64/librt-2.15.so glibc-2.15-56.fc17.x86_64 (Fedora Project) 1345347643
:/usr/lib64/ld-2.15.so glibc-2.15-56.fc17.x86_64 (Fedora Project) 1345347643
:/usr/lib64/libpython2.7.so.1.0 python-libs-2.7.3-7.2.fc17.x86_64 (Fedora Project) 1344208009
:/usr/lib64/libexpat.so.1.6.0 expat-2.1.0-1.fc17.x86_64 (Fedora Project) 1337719198
:/usr/bin/gdb gdb- (Fedora Project) 1342478502

:'LESSOPEN=||/usr/bin/lesspipe.sh %s'

:Limit                     Soft Limit           Hard Limit           Units     
:Max cpu time              unlimited            unlimited            seconds   
:Max file size             unlimited            unlimited            bytes     
:Max data size             unlimited            unlimited            bytes     
:Max stack size            8720000              unlimited            bytes     
:Max core file size        0                    unlimited            bytes     
:Max resident set          unlimited            unlimited            bytes     
:Max processes             1024                 29842                processes 
:Max open files            1024                 4096                 files     
:Max locked memory         65536                65536                bytes     
:Max address space         unlimited            unlimited            bytes     
:Max file locks            unlimited            unlimited            locks     
:Max pending signals       29842                29842                signals   
:Max msgqueue size         819200               819200               bytes     
:Max nice priority         0                    0                    
:Max realtime priority     0                    0                    
:Max realtime timeout      unlimited            unlimited            us        

:pos:	0
:flags:	0100002
:pos:	0
:flags:	0100002
:pos:	0
:flags:	0100002
:pos:	0
:flags:	02
:pos:	0
:flags:	02
:pos:	4096
:flags:	02100000

:Aug 20 21:55:16 kummel kernel: [422446.773069] gdb[28978]: segfault at c000a0036 ip 00000000005a59de sp 00007fffdf1c8370 error 4 in gdb[400000+4c2000]
:Aug 20 21:55:17 kummel abrt[29363]: Saved core dump of pid 28978 (/usr/bin/gdb) to /var/spool/abrt/ccpp-2012-08-20-21:55:16-28978 (7479296 bytes)
:Aug 21 12:23:56 kummel kernel: [474566.425435] gdb[1349]: segfault at d88 ip 00000000004dc6c9 sp 00007fff79e33140 error 4 in gdb[400000+4c2000]
:Aug 21 12:23:56 kummel abrt[9635]: Saved core dump of pid 1349 (/usr/bin/gdb) to /var/spool/abrt/ccpp-2012-08-21-12:23:56-1349 (6873088 bytes)
Comment 1 Rafael Kümmel 2012-08-21 12:54:43 EDT
Created attachment 605985 [details]
File: backtrace
Comment 2 Rafael Kümmel 2012-08-21 12:54:45 EDT
Created attachment 605986 [details]
File: maps
Comment 3 Sergio Durigan Junior 2012-08-24 22:54:05 EDT
I could not replicate the issue.  According to frame #1, the segmentation fault occurred when trying to find the probe "longjmp" on glibc.  Frame #0 also tells that the problem is in this line of elfread:

2735       if (! elf_tdata (obfd)->sdt_note_head)

I will have to investigate more, but as far as I have seen it is not possible for obfd->tdata.elf_obj_data to be NULL.

Rafael, is it possible for you to provide a few more info on this bug?  From the report you were using some GUI to debug a program.  Is it possible for you to say what GUI were you using and what program were you debugging?  Thanks.
Comment 4 Fedora End Of Life 2013-07-03 18:51:57 EDT
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.
Comment 5 Fedora End Of Life 2013-07-31 21:02:54 EDT
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

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