From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjP5Q-0003Vl-DM for qemu-devel@nongnu.org; Thu, 02 Mar 2017 06:39:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjP5M-00004r-E2 for qemu-devel@nongnu.org; Thu, 02 Mar 2017 06:39:56 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:61835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjP5M-0008Vk-7U for qemu-devel@nongnu.org; Thu, 02 Mar 2017 06:39:52 -0500 References: <877f492ppx.fsf@linaro.org> From: Yongbok Kim Message-ID: <7d21bd42-db77-aa47-b0a4-fdeeaacf9d9d@imgtec.com> Date: Thu, 2 Mar 2017 11:39:43 +0000 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] mips failure: "tcg_handle_interrupt: assertion failed: (qemu_mutex_iothread_locked())" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth , =?UTF-8?Q?Alex_Benn=c3=a9e?= Cc: Peter Maydell , QEMU Developers On 01/03/2017 18:41, Thomas Huth wrote: > On 01.03.2017 12:36, Alex Benn=C3=A9e wrote: >> >> Peter Maydell writes: >> >>> I got a make check failure on aarch64 host running a sparc64 test: >>> >>> >>> TEST: tests/prom-env-test... (pid=3D13573) >>> /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. >=20 > xtensa-softmmu crashes, too: >=20 Hi, mips softmmu crashes as well. ** ERROR:/user/ygk/qemu/master/translate-common.c:34:tcg_handle_interrupt: assertion failed: (qemu_mutex_iothread_locked()) Program received signal SIGABRT, Aborted. [Switching to Thread 0x7fffc986d700 (LWP 17296)] 0x00007ffff5690635 in raise () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.5-7.el6_0.x86_64 glib2-2.28.8-4.el6.x86_64 glibc-2.12-1.132.el6_5.4.x86_64 libgcc-4.4.7-11.el6.x86_64 libstdc++-4.4.7-11.el6.x86_64 z lib-1.2.3-29.el6.x86_64 (gdb) where #0 0x00007ffff5690635 in raise () from /lib64/libc.so.6 #1 0x00007ffff5691e15 in abort () from /lib64/libc.so.6 #2 0x00007ffff6416324 in g_assertion_message () from /lib64/libglib-2.0.= so.0 #3 0x00007ffff64168f0 in g_assertion_message_expr () from /lib64/libglib-2.0.so.0 #4 0x00007ffff7578a6f in tcg_handle_interrupt (cpu=3D0x7ffff8aba600, mas= k=3D2) at /user/ygk/qemu/master/translate-common.c:34 #5 0x00007ffff7659b2e in cpu_interrupt (cpu=3D0x7ffff8aba600, mask=3D2) = at /user/ygk/qemu/master/include/qom/cpu.h:801 #6 0x00007ffff7659c5c in cpu_mips_irq_request (opaque=3D0x7ffff8aba600, irq=3D7, level=3D1) at /user/ygk/qemu/master/hw/mips/mips_int.c:55 #7 0x00007ffff77b9f3d in qemu_set_irq (irq=3D0x7ffff8aecc10, level=3D1) = at /user/ygk/qemu/master/hw/core/irq.c:45 #8 0x00007ffff765937c in qemu_irq_raise (irq=3D0x7ffff8aecc10) at /user/ygk/qemu/master/include/hw/irq.h:16 #9 0x00007ffff76596ea in cpu_mips_timer_expire (env=3D0x7ffff8ac2890) at /user/ygk/qemu/master/hw/mips/cputimer.c:73 #10 0x00007ffff7659789 in cpu_mips_get_count (env=3D0x7ffff8ac2890) at /user/ygk/qemu/master/hw/mips/cputimer.c:87 #11 0x00007ffff76d2056 in helper_mfc0_count (env=3D0x7ffff8ac2890) at /user/ygk/qemu/master/target/mips/op_helper.c:830 #12 0x00007fffd4e328b1 in code_gen_buffer () #13 0x00007ffff75778f1 in cpu_tb_exec (cpu=3D0x7ffff8aba600, itb=3D0x7fffcb37d9f0) at /user/ygk/qemu/master/cpu-exec.c:165 #14 0x00007ffff75786ca in cpu_loop_exec_tb (cpu=3D0x7ffff8aba600, tb=3D0x7fffcb37d9f0, last_tb=3D0x7fffc986caa0, tb_exit=3D0x7fffc986cab0, sc=3D0x7fffc986ca80) at /user/ygk/qemu/master/cpu-exec.c:584 #15 0x00007ffff757899a in cpu_exec (cpu=3D0x7ffff8aba600) at /user/ygk/qemu/master/cpu-exec.c:686 #16 0x00007ffff75b4495 in tcg_cpu_exec (cpu=3D0x7ffff8aba600) at /user/ygk/qemu/master/cpus.c:1251 #17 0x00007ffff75b4769 in qemu_tcg_rr_cpu_thread_fn (arg=3D0x7ffff8aba600= ) at /user/ygk/qemu/master/cpus.c:1347 #18 0x00007ffff59f99d1 in start_thread () from /lib64/libpthread.so.0 #19 0x00007ffff574686d in clone () from /lib64/libc.so.6 (gdb) Regards, Yongbok