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
Created attachment 953891 [details] File: backtrace
Created attachment 953892 [details] File: cgroup
Created attachment 953893 [details] File: core_backtrace
Created attachment 953894 [details] File: environ
Created attachment 953895 [details] File: exploitable
Created attachment 953896 [details] File: limits
Created attachment 953897 [details] File: maps
Created attachment 953898 [details] File: os_info_in_rootdir
Created attachment 953899 [details] File: proc_pid_status
Created attachment 953900 [details] File: var_log_messages
Hi Daniel, Please could you upload a copy of the assembler source file that triggered this problem. Cheers Nick
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.
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.
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.