qemu-user crashing when writing core dump
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
I've a binary I'm running in qemux86-64 but it is segfaulting. Whilst qemu writes the core dump for that, qemu itself is segfaulting.
(gdb) bt full
#0 0x00007efdd962e32e in sigsuspend () from /data/poky-
No symbol table info available.
#1 0x0000559176d74da4 in dump_core_and_abort (target_
at /data/poky-
cpu = <optimized out>
env = <optimized out>
ts = 0x55917a42d160
core_dumped = <optimized out>
act = {__sigaction_
#2 0x0000559176d75a38 in handle_
k=k@
at /data/poky-
handler = <optimized out>
set = {__val = {4294967297, 4294967297, 94083256460867, 14, 128, 0, 8, 3, 0, 1, 0, 4243635, 139628765215104,
sa = <optimized out>
ts = 0x55917a42d160
#3 0x0000559176d765ac in process_
at /data/poky-
sig = 11
ts = 0x55917a42d160
set = {__val = {18446744067267
blocked_set = <optimized out>
#4 0x0000559176d5e0d8 in cpu_loop (env=0x55917a41
at /data/poky-
trapnr = 14
pc = <optimized out>
ret = <optimized out>
info = {si_signo = 11, si_errno = 0, si_code = 196609, _sifields = {_pad = {101897450, 192, -647518572, 32509,
842, 0, 1993519912, 21905, 2051194736, 21905, 1997320506, 21905, 2051195440, 21905, 1993546713, 0,
_kill = {_pid = 101897450, _uid = 192}, _timer = {_timer1 = 101897450, _timer2 = 192}, _rt = {
_pid = 101897450, _uid = 192, _sigval = {sival_int = -647518572, sival_ptr = 139628739274388}},
#5 0x0000559176d2a4b8 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>)
at /data/poky-
regs1 = {r15 = 0, r14 = 0, r13 = 0, r12 = 0, rbp = 0, rbx = 0, r11 = 0, r10 = 0, r9 = 0, r8 = 0, rax = 0,
rcx = 0, rdx = 0, rsi = 0, rdi = 0, orig_rax = 0, rip = 274888416832, cs = 0, eflags = 0,
rsp = 274888401360, ss = 0}
regs = 0x7ffda5b29fc0
info1 = {load_bias = 274888413184, load_addr = 274877906944, start_code = 274877906944,
end_code = 274877917360, start_data = 274880015120, end_data = 274880016400, start_brk = 0,
brk = 274880016472, start_mmap = 183251939328, start_stack = 274888401360, stack_limit = 274880024576,
entry = 274888416832, code_offset = 0, data_offset = 0, saved_auxv = 274888402256,
auxv_len = 184467440737095
info = 0x7ffda5b2a070
bprm = {
buf = "\177ELF\
e_uid = 1000, e_gid = 1000, argc = 5, envc = 104, argv = 0x55917a42d120, envp = 0x55917a42a8f0,
filename = 0x7ffda5b2c683 "/data/
ts = <optimized out>
env = 0x55917a41c2a0
cpu = 0x55917a414010
wrk = 0x55917a42ac30
target_argv = 0x55917a42d120
target_argc = 5
i = <optimized out>
ret = <optimized out>
execfd = <optimized out>
(I'll reproduce this with glibc debug symbols shortly)
Looking through old bug tickets... is this still an issue with the latest version of QEMU? Or could we close this ticket nowadays?