On 01.03.2017 12:36, Alex Bennée wrote: > > Peter Maydell <peter.mayd...@linaro.org> writes: > >> I got a make check failure on aarch64 host running a sparc64 test: >> >> >> TEST: tests/prom-env-test... (pid=13573) >> /sparc64/prom-env/sun4u: ** >> ERROR:/home/pm215/qemu/translate-common.c:34:tcg_handle_interrupt: >> assertion failed: (qemu_mutex_iothread_locked()) [...] > What will be useful for all these reports is the backtrace. Then it's > fairly simple to identify the thing triggering the interrupt and > identify the correct place for the locking.
xtensa-softmmu crashes, too: #0 0x00007ffff18ef1d7 in raise () at /lib64/libc.so.6 #1 0x00007ffff18f08c8 in abort () at /lib64/libc.so.6 #2 0x00007ffff2f642a5 in g_assertion_message () at /lib64/libglib-2.0.so.0 #3 0x00007ffff2f6433a in g_assertion_message_expr () at /lib64/libglib-2.0.so.0 #4 0x00005555555e5411 in tcg_handle_interrupt (cpu=0x555555fec400, mask=2) at /home/thuth/devel/qemu/translate-common.c:34 #5 0x000055555563d2e7 in check_interrupts (mask=2, cpu=0x555555fec400) at /home/thuth/devel/qemu/include/qom/cpu.h:801 #6 0x000055555563d2e7 in check_interrupts (env=0x555555ff4690) at /home/thuth/devel/qemu/hw/xtensa/pic_cpu.c:44 #7 0x00007fffe5ab66da in code_gen_buffer () #8 0x00005555555e4a51 in cpu_exec (itb=<optimized out>, itb=<optimized out>, cpu=0x7fffe51bf3c0) at /home/thuth/devel/qemu/cpu-exec.c:165 #9 0x00005555555e4a51 in cpu_exec (sc=0x7fffe51bc9b0, tb_exit=<synthetic pointer>, last_tb=<synthetic pointer>, tb=<optimized out>, cpu=0x7fffe51bf3c0) at /home/thuth/devel/qemu/cpu-exec.c:584 #10 0x00005555555e4a51 in cpu_exec (cpu=cpu@entry=0x555555fec400) at /home/thuth/devel/qemu/cpu-exec.c:686 #11 0x000055555560e89a in tcg_cpu_exec (cpu=0x555555fec400) at /home/thuth/devel/qemu/cpus.c:1251 #12 0x000055555560ebd4 in qemu_tcg_rr_cpu_thread_fn (arg=<optimized out>) at /home/thuth/devel/qemu/cpus.c:1347 #13 0x00007ffff53b3dc5 in start_thread () at /lib64/libpthread.so.0 #14 0x00007ffff19b173d in clone () at /lib64/libc.so.6 IIRC I once downloaded that image from http://wiki.qemu-project.org/Testing/System_Images Thomas