Bug 1101144 - [abrt] binutils: bfd_plugin_get_symbols_in_object_only(): ar killed by SIGSEGV
Summary: [abrt] binutils: bfd_plugin_get_symbols_in_object_only(): ar killed by SIGSEGV
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: binutils
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nick Clifton
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:b2ba6abdf538e84bd9c5afa4e3c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-26 09:20 UTC by sheepdestroyer
Modified: 2015-06-29 20:48 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-29 20:48:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (26.17 KB, text/plain)
2014-05-26 09:20 UTC, sheepdestroyer
no flags Details
File: cgroup (171 bytes, text/plain)
2014-05-26 09:20 UTC, sheepdestroyer
no flags Details
File: core_backtrace (3.36 KB, text/plain)
2014-05-26 09:20 UTC, sheepdestroyer
no flags Details
File: dso_list (780 bytes, text/plain)
2014-05-26 09:20 UTC, sheepdestroyer
no flags Details
File: environ (3.34 KB, text/plain)
2014-05-26 09:20 UTC, sheepdestroyer
no flags Details
File: exploitable (82 bytes, text/plain)
2014-05-26 09:20 UTC, sheepdestroyer
no flags Details
File: limits (1.29 KB, text/plain)
2014-05-26 09:20 UTC, sheepdestroyer
no flags Details
File: maps (3.41 KB, text/plain)
2014-05-26 09:20 UTC, sheepdestroyer
no flags Details
File: open_fds (1.25 KB, text/plain)
2014-05-26 09:20 UTC, sheepdestroyer
no flags Details
File: proc_pid_status (931 bytes, text/plain)
2014-05-26 09:20 UTC, sheepdestroyer
no flags Details
File: var_log_messages (44.35 KB, text/plain)
2014-05-26 09:20 UTC, sheepdestroyer
no flags Details

Description sheepdestroyer 2014-05-26 09:20:42 UTC
Version-Release number of selected component:
binutils-2.23.88.0.1-13.fc20

Additional info:
reporter:       libreport-2.2.2
backtrace_rating: 4
cmdline:        /usr/bin/ar --plugin /usr/libexec/gcc/x86_64-redhat-linux/4.9.0/liblto_plugin.so -cr libbdisasm.a CMakeFiles/bdisasm.dir/dis_decode.cpp.o CMakeFiles/bdisasm.dir/dis_groups.cpp.o CMakeFiles/bdisasm.dir/resolve.cpp.o CMakeFiles/bdisasm.dir/syntax.cpp.o CMakeFiles/bdisasm.dir/PowerPCDisasm.cpp.o
crash_function: bfd_plugin_get_symbols_in_object_only
executable:     /usr/bin/ar
kernel:         3.15.0-rc3
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 bfd_plugin_get_symbols_in_object_only at plugin.c:151
 #1 add_symbols at plugin.c:278
 #2 claim_file_handler at ../../lto-plugin/lto-plugin.c:929
 #3 bfd_plugin_object_p at plugin.c:450
 #4 bfd_check_format_matches at format.c:202
 #5 bfd_check_format at format.c:95
 #6 _bfd_write_archive_contents at archive.c:2132
 #7 bfd_close at opncls.c:719
 #8 write_archive at ar.c:1125
 #9 replace_members at ar.c:1366

Comment 1 sheepdestroyer 2014-05-26 09:20:45 UTC
Created attachment 899238 [details]
File: backtrace

Comment 2 sheepdestroyer 2014-05-26 09:20:46 UTC
Created attachment 899239 [details]
File: cgroup

Comment 3 sheepdestroyer 2014-05-26 09:20:47 UTC
Created attachment 899240 [details]
File: core_backtrace

Comment 4 sheepdestroyer 2014-05-26 09:20:48 UTC
Created attachment 899241 [details]
File: dso_list

Comment 5 sheepdestroyer 2014-05-26 09:20:50 UTC
Created attachment 899242 [details]
File: environ

Comment 6 sheepdestroyer 2014-05-26 09:20:51 UTC
Created attachment 899243 [details]
File: exploitable

Comment 7 sheepdestroyer 2014-05-26 09:20:52 UTC
Created attachment 899244 [details]
File: limits

Comment 8 sheepdestroyer 2014-05-26 09:20:53 UTC
Created attachment 899245 [details]
File: maps

Comment 9 sheepdestroyer 2014-05-26 09:20:54 UTC
Created attachment 899246 [details]
File: open_fds

Comment 10 sheepdestroyer 2014-05-26 09:20:55 UTC
Created attachment 899247 [details]
File: proc_pid_status

Comment 11 sheepdestroyer 2014-05-26 09:20:57 UTC
Created attachment 899248 [details]
File: var_log_messages

Comment 12 Jeff Law 2014-05-28 12:58:55 UTC
This looks like a problem in the kernel-ld-r patch.  

add_symbols looks like:

  bfd *abfd = handle;
  struct plugin_data_struct *plugin_data =
    bfd_alloc (abfd, sizeof (plugin_data_struct));;

  plugin_data->nsyms = nsyms;
  plugin_data->syms = syms;

  bfd_plugin_get_symbols_in_object_only (abfd);

  if ((nsyms + plugin_data->object_only_nsyms) != 0)
    abfd->flags |= HAS_SYMS;

  abfd->tdata.plugin_data = plugin_data;
  return LDPS_OK;

Note how we call bfd_plugin_get_symbols_in_object_only before we set abfd->tdata.plugin_data.

Comment 13 Fedora End Of Life 2015-05-29 11:56:56 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. 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 EOL if it remains open with a Fedora  'version'
of '20'.

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.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 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 this bug is closed as described in the policy above.

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 14 Erwan Legrand 2015-05-29 12:49:36 UTC
I can reproduce this with binutils-2.24-30.fc21.x86_64. (Fedora 21)

Comment 15 Fedora End Of Life 2015-06-29 20:48:34 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 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. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

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.