Segfault happened at: 0x7fea8d784692 <mempcpy+194>: mov (%rsi),%rax
PC (0x7fea8d784692) ok
source "(%rsi)" (0x00000000) not located in a known VMA region (needed readable region)!
destination "%rax" ok
mempcpy () from /lib/libc.so.6
_IO_file_xsputn () from /lib/libc.so.6
fwrite () from /lib/libc.so.6
?? ()
I'm also getting a similar error when configuring qemu upstream (hash 08218b352730176 0393b0b4ec732fc dfb7ff6cda) .
Seems to run fine, but apport gets the segfault at ld.bfd:
[70428.554802] ld[28939]: segfault at 0 ip 00007fea8d784692 sp 00007fff2a067be8 error 4 in libc-2. 12.so[7fea8d6fe 000+17a000]
/usr/bin/ld --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=both -dynamic-linker /lib64/ ld-linux- x86-64. so.2 -o /tmp/qemu- conf--28675- .exe -z relro /usr/lib/ gcc/x86_ 64-linux- gnu/4.4. 4/../.. /../../ lib/crt1. o /usr/lib/ gcc/x86_ 64-linux- gnu/4.4. 4/../.. /../../ lib/crti. o /usr/lib/ gcc/x86_ 64-linux- gnu/4.4. 4/crtbegin. o -L/usr/ lib/gcc/ x86_64- linux-gnu/ 4.4.4 -L/usr/ lib/gcc/ x86_64- linux-gnu/ 4.4.4 -L/usr/ lib/gcc/ x86_64- linux-gnu/ 4.4.4/. ./../.. /../lib -L//lib/../lib -L//usr/lib/../lib -L/usr/ lib/gcc/ x86_64- linux-gnu/ 4.4.4/. ./../.. -L//lib -L//usr/lib -L/usr/ lib/x86_ 64-linux- gnu /tmp/ccqhLdme.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/ gcc/x86_ 64-linux- gnu/4.4. 4/crtend. o /usr/lib/ gcc/x86_ 64-linux- gnu/4.4. 4/../.. /../../ lib/crtn. o
Segfault happened at: 0x7fea8d784692 <mempcpy+194>: mov (%rsi),%rax
PC (0x7fea8d784692) ok
source "(%rsi)" (0x00000000) not located in a known VMA region (needed readable region)!
destination "%rax" ok
mempcpy () from /lib/libc.so.6
_IO_file_xsputn () from /lib/libc.so.6
fwrite () from /lib/libc.so.6
?? ()