From: Yongbok Kim <yongbok.kim@imgtec.com>
To: "Thomas Huth" <thuth@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>
Cc: Peter Maydell <peter.maydell@linaro.org>,
QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] mips failure: "tcg_handle_interrupt: assertion failed: (qemu_mutex_iothread_locked())"
Date: Thu, 2 Mar 2017 11:39:43 +0000 [thread overview]
Message-ID: <7d21bd42-db77-aa47-b0a4-fdeeaacf9d9d@imgtec.com> (raw)
In-Reply-To: <d3a039e7-77cc-f0de-2b9a-1779009bb7bb@redhat.com>
On 01/03/2017 18:41, Thomas Huth wrote:
> On 01.03.2017 12:36, Alex Bennée wrote:
>>
>> Peter Maydell <peter.maydell@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:
>
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=0x7ffff8aba600, mask=2)
at /user/ygk/qemu/master/translate-common.c:34
#5 0x00007ffff7659b2e in cpu_interrupt (cpu=0x7ffff8aba600, mask=2) at
/user/ygk/qemu/master/include/qom/cpu.h:801
#6 0x00007ffff7659c5c in cpu_mips_irq_request (opaque=0x7ffff8aba600,
irq=7, level=1) at /user/ygk/qemu/master/hw/mips/mips_int.c:55
#7 0x00007ffff77b9f3d in qemu_set_irq (irq=0x7ffff8aecc10, level=1) at
/user/ygk/qemu/master/hw/core/irq.c:45
#8 0x00007ffff765937c in qemu_irq_raise (irq=0x7ffff8aecc10) at
/user/ygk/qemu/master/include/hw/irq.h:16
#9 0x00007ffff76596ea in cpu_mips_timer_expire (env=0x7ffff8ac2890) at
/user/ygk/qemu/master/hw/mips/cputimer.c:73
#10 0x00007ffff7659789 in cpu_mips_get_count (env=0x7ffff8ac2890) at
/user/ygk/qemu/master/hw/mips/cputimer.c:87
#11 0x00007ffff76d2056 in helper_mfc0_count (env=0x7ffff8ac2890) at
/user/ygk/qemu/master/target/mips/op_helper.c:830
#12 0x00007fffd4e328b1 in code_gen_buffer ()
#13 0x00007ffff75778f1 in cpu_tb_exec (cpu=0x7ffff8aba600,
itb=0x7fffcb37d9f0) at /user/ygk/qemu/master/cpu-exec.c:165
#14 0x00007ffff75786ca in cpu_loop_exec_tb (cpu=0x7ffff8aba600,
tb=0x7fffcb37d9f0, last_tb=0x7fffc986caa0, tb_exit=0x7fffc986cab0,
sc=0x7fffc986ca80) at /user/ygk/qemu/master/cpu-exec.c:584
#15 0x00007ffff757899a in cpu_exec (cpu=0x7ffff8aba600) at
/user/ygk/qemu/master/cpu-exec.c:686
#16 0x00007ffff75b4495 in tcg_cpu_exec (cpu=0x7ffff8aba600) at
/user/ygk/qemu/master/cpus.c:1251
#17 0x00007ffff75b4769 in qemu_tcg_rr_cpu_thread_fn (arg=0x7ffff8aba600) 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
next prev parent reply other threads:[~2017-03-02 11:39 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-28 19:10 [Qemu-devel] intermittent make check failure: "tcg_handle_interrupt: assertion failed: (qemu_mutex_iothread_locked())" Peter Maydell
2017-02-28 19:30 ` Thomas Huth
2017-02-28 21:28 ` Thomas Huth
2017-02-28 21:35 ` Mark Cave-Ayland
2017-02-28 22:07 ` Mark Cave-Ayland
2017-02-28 20:52 ` Kevin Wolf
2017-03-01 10:37 ` Dr. David Alan Gilbert
2017-03-01 11:36 ` Alex Bennée
2017-03-01 12:15 ` Mark Cave-Ayland
2017-03-01 12:41 ` Alex Bennée
2017-03-01 14:53 ` Mark Cave-Ayland
2017-03-01 15:19 ` Alex Bennée
2017-03-01 16:19 ` Mark Cave-Ayland
2017-03-01 18:33 ` Alex Bennée
2017-03-01 16:36 ` Peter Maydell
2017-03-01 18:17 ` Thomas Huth
2017-03-01 12:52 ` Peter Maydell
2017-03-01 18:27 ` [Qemu-devel] s390x " Thomas Huth
2017-03-01 18:35 ` Alex Bennée
2017-03-01 18:41 ` [Qemu-devel] xtensa " Thomas Huth
2017-03-01 20:32 ` Alex Bennée
2017-03-01 20:48 ` Peter Maydell
2017-03-02 11:39 ` Yongbok Kim [this message]
2017-03-02 12:57 ` [Qemu-devel] mips " Alex Bennée
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7d21bd42-db77-aa47-b0a4-fdeeaacf9d9d@imgtec.com \
--to=yongbok.kim@imgtec.com \
--cc=alex.bennee@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).