[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu-system-nios2 hangs when emulator is quit
From: |
Marek Vasut |
Subject: |
Re: [Qemu-devel] qemu-system-nios2 hangs when emulator is quit |
Date: |
Tue, 10 Oct 2017 10:58:40 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 10/10/2017 10:15 AM, Thomas Huth wrote:
> On 10.10.2017 09:57, Marek Vasut wrote:
>> On 10/10/2017 09:20 AM, Thomas Huth wrote:
>>> Hi Chris, hi Marek,
>>
>> Hi,
>>
>>> I recently noticed that when I start qemu-system-nios2 (build from the
>>> very latest git master branch) and then type "quit" at the monitor (or
>>> simply try to close the GTK window), QEMU does not shut down right and
>>> hangs somewhere in pause_all_vcpus() forever.
>>> Do you have any idea what might be wrong here?
>>
>> Nope, can you debug it and ev. send patch ?
>
> Backtrace looks like this:
>
> #0 0x00007ffff7931945 in pthread_cond_wait@@GLIBC_2.3.2 () at
> /lib64/libpthread.so.0
> #1 0x00005555557cf9c5 in qemu_cond_wait (address@hidden <qemu_pause_cond>,
> address@hidden <qemu_global_mutex>) at util/qemu-thread-posix.c:161
> #2 0x0000555555606ee8 in pause_all_vcpus () at cpus.c:1620
> #3 0x00005555555cc43a in main (argc=<optimized out>, argv=<optimized out>,
> envp=<optimized out>)
> at vl.c:4906
>
> Looks like the CPU does not get stopped right? Unfortunately, I've got no
> good clue how to debug that further right now...
I'd look at pause_all_vcpus() and check why it is stuck.
I'm a bit overloaded at the moment, so I don't have time to dig in it.
>> We're talking about git HEAD, right ?
>
> Yes.
>
> Thomas
>
--
Best regards,
Marek Vasut