Bug 1160498 - [abrt] binutils: hash_traverse(): as killed by SIGSEGV
Summary: [abrt] binutils: hash_traverse(): as killed by SIGSEGV
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: binutils
Version: 21
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:9bd51552d06cd7904196d0f287f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-05 02:01 UTC by Daniel Miranda
Modified: 2015-12-02 16:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-02 04:43:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (3.67 KB, text/plain)
2014-11-05 02:02 UTC, Daniel Miranda
no flags Details
File: cgroup (190 bytes, text/plain)
2014-11-05 02:02 UTC, Daniel Miranda
no flags Details
File: core_backtrace (1.08 KB, text/plain)
2014-11-05 02:02 UTC, Daniel Miranda
no flags Details
File: environ (7.61 KB, text/plain)
2014-11-05 02:02 UTC, Daniel Miranda
no flags Details
File: exploitable (82 bytes, text/plain)
2014-11-05 02:02 UTC, Daniel Miranda
no flags Details
File: limits (1.29 KB, text/plain)
2014-11-05 02:02 UTC, Daniel Miranda
no flags Details
File: maps (4.12 KB, text/plain)
2014-11-05 02:02 UTC, Daniel Miranda
no flags Details
File: os_info_in_rootdir (377 bytes, text/plain)
2014-11-05 02:02 UTC, Daniel Miranda
no flags Details
File: proc_pid_status (922 bytes, text/plain)
2014-11-05 02:02 UTC, Daniel Miranda
no flags Details
File: var_log_messages (27.17 KB, text/plain)
2014-11-05 02:02 UTC, Daniel Miranda
no flags Details

Description Daniel Miranda 2014-11-05 02:01:58 UTC
Description of problem:
Recompiling kernel (3.17.2-300.fc21) from SRPM with mock

Version-Release number of selected component:
binutils-2.24-21.fc21

Additional info:
reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        as -I ./arch/x86/include -I arch/x86/include/generated -I include -I ./arch/x86/include/uapi -I arch/x86/include/generated/uapi -I ./include/uapi -I include/generated/uapi --64 -o /tmp/ccache/4/3/326fdfe8fc6a42f4549dc8ea2ec30f-661415.o.tmp.daniel-pc.6307
crash_function: hash_traverse
executable:     /var/lib/mock/fedora-21-x86_64/root/usr/bin/as
kernel:         3.17.2-300.fc21.x86_64
open_fds:       
os_release_in_rootdir: Fedora release 21 (Twenty One)
rootdir:        /var/lib/mock/fedora-21-x86_64/root
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
[New LWP 6328]
Core was generated by `as -I ./arch/x86/include -I arch/x86/include/generated -I include -I ./arch/x86'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  hash_traverse (table=0x2112100, pfn=pfn@entry=0x4242b0 <resolve_local_symbol>) at hash.c:368
368		(*pfn) (p->string, p->data);

Thread 1 (LWP 6328):
#0  hash_traverse (table=0x2112100, pfn=pfn@entry=0x4242b0 <resolve_local_symbol>) at hash.c:368
        p = 0x1000000000
        i = 24773
#1  0x0000000000422081 in resolve_local_symbol_values () at symbols.c:1496
No locals.
#2  0x0000000000428b3d in write_object_file () at write.c:1977
        rsi = {pass = 2, changed = 0}
#3  0x0000000000404541 in main (argc=1, argv=0x2112800) at as.c:1299
        argv_orig = <optimized out>
        macro_strip_at = 0
        __PRETTY_FUNCTION__ = "main"
From                To                  Syms Read   Shared Object Library
0x00007fa5525126b0  0x00007fa55251ada1  Yes         /lib64/libopcodes-2.24.so
0x00007fa5521f98b0  0x00007fa55228c682  Yes         /lib64/libbfd-2.24.so
0x00007fa551fb9ed0  0x00007fa551fbaace  Yes         /lib64/libdl.so.2
0x00007fa551da5200  0x00007fa551db1729  Yes         /lib64/libz.so.1
0x00007fa551a054f0  0x00007fa551b50ca4  Yes         /lib64/libc.so.6
0x00007fa552824b10  0x00007fa55283f6d0  Yes         /lib64/ld-linux-x86-64.so.2
$1 = 0x0
No symbol "__glib_assert_msg" in current context.
rax            0x60c5	24773
rbx            0x1000000000	68719476736
rcx            0x2199180	35230080
rdx            0x7fa55293a020	140348031737888
rsi            0x0	0
rdi            0x21900b0	35193008
rbp            0x4242b0	0x4242b0 <resolve_local_symbol>
rsp            0x7fff9a92b9e0	0x7fff9a92b9e0
r8             0x1	1
r9             0x0	0
r10            0x87	135
r11            0x7fa5522089d0	140348024195536
r12            0x60c5	24773
r13            0x2112100	34676992
r14            0x2112800	34678784
r15            0x1	1
rip            0x4110b0	0x4110b0 <hash_traverse+48>
eflags         0x10206	[ PF IF RF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0
Dump of assembler code for function hash_traverse:
   0x0000000000411080 <+0>:	push   %r13
   0x0000000000411082 <+2>:	push   %r12
   0x0000000000411084 <+4>:	xor    %r12d,%r12d
   0x0000000000411087 <+7>:	push   %rbp
   0x0000000000411088 <+8>:	push   %rbx
   0x0000000000411089 <+9>:	mov    %rdi,%r13
   0x000000000041108c <+12>:	mov    %rsi,%rbp
   0x000000000041108f <+15>:	sub    $0x8,%rsp
   0x0000000000411093 <+19>:	mov    0x8(%rdi),%eax
   0x0000000000411096 <+22>:	test   %eax,%eax
   0x0000000000411098 <+24>:	je     0x4110cc <hash_traverse+76>
   0x000000000041109a <+26>:	nopw   0x0(%rax,%rax,1)
   0x00000000004110a0 <+32>:	mov    0x0(%r13),%rdx
   0x00000000004110a4 <+36>:	mov    %r12d,%eax
   0x00000000004110a7 <+39>:	mov    (%rdx,%rax,8),%rbx
   0x00000000004110ab <+43>:	test   %rbx,%rbx
   0x00000000004110ae <+46>:	je     0x4110c2 <hash_traverse+66>
=> 0x00000000004110b0 <+48>:	mov    0x18(%rbx),%rsi
   0x00000000004110b4 <+52>:	mov    0x8(%rbx),%rdi
   0x00000000004110b8 <+56>:	callq  *%rbp
   0x00000000004110ba <+58>:	mov    (%rbx),%rbx
   0x00000000004110bd <+61>:	test   %rbx,%rbx
   0x00000000004110c0 <+64>:	jne    0x4110b0 <hash_traverse+48>
   0x00000000004110c2 <+66>:	add    $0x1,%r12d
   0x00000000004110c6 <+70>:	cmp    %r12d,0x8(%r13)
   0x00000000004110ca <+74>:	ja     0x4110a0 <hash_traverse+32>
   0x00000000004110cc <+76>:	add    $0x8,%rsp
   0x00000000004110d0 <+80>:	pop    %rbx
   0x00000000004110d1 <+81>:	pop    %rbp
   0x00000000004110d2 <+82>:	pop    %r12
   0x00000000004110d4 <+84>:	pop    %r13
   0x00000000004110d6 <+86>:	retq   
End of assembler dump.

Potential duplicate: bug 1124836

Comment 1 Daniel Miranda 2014-11-05 02:02:02 UTC
Created attachment 953891 [details]
File: backtrace

Comment 2 Daniel Miranda 2014-11-05 02:02:03 UTC
Created attachment 953892 [details]
File: cgroup

Comment 3 Daniel Miranda 2014-11-05 02:02:04 UTC
Created attachment 953893 [details]
File: core_backtrace

Comment 4 Daniel Miranda 2014-11-05 02:02:05 UTC
Created attachment 953894 [details]
File: environ

Comment 5 Daniel Miranda 2014-11-05 02:02:06 UTC
Created attachment 953895 [details]
File: exploitable

Comment 6 Daniel Miranda 2014-11-05 02:02:08 UTC
Created attachment 953896 [details]
File: limits

Comment 7 Daniel Miranda 2014-11-05 02:02:09 UTC
Created attachment 953897 [details]
File: maps

Comment 8 Daniel Miranda 2014-11-05 02:02:10 UTC
Created attachment 953898 [details]
File: os_info_in_rootdir

Comment 9 Daniel Miranda 2014-11-05 02:02:11 UTC
Created attachment 953899 [details]
File: proc_pid_status

Comment 10 Daniel Miranda 2014-11-05 02:02:13 UTC
Created attachment 953900 [details]
File: var_log_messages

Comment 11 Nick Clifton 2014-11-06 15:35:39 UTC
Hi Daniel,

  Please could you upload a copy of the assembler source file that triggered this problem.

Cheers
  Nick

Comment 12 Daniel Miranda 2014-11-06 17:28:33 UTC
I'll look into it, but it might be a bit of work since I observed the crashes while compiling the kernel source RPM. I've also seen make and ld crash during the same build, but I'm not sure if in the same spot.

Comment 13 Fedora End Of Life 2015-11-04 14:56:00 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. 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 '21'.

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 21 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 Fedora End Of Life 2015-12-02 04:43:11 UTC
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 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.