qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Wahaha Huang <kingtan9527@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Block-io] qemu virtual machine get stuck during startup
Date: Thu, 19 Oct 2017 17:32:10 +0800	[thread overview]
Message-ID: <CALMRoie6DWc0B5Q3ZAbSS7ezFC=tXtNW+eU1T_deJsadO06erQ@mail.gmail.com> (raw)

Hi there,
I'm a newbie of qemu(2.10.0), when i start a vm from qemu, it sometimes get
stuck,
through gdb debugging, i found aio_worker thread(list below) missing when
vm get stuck,
but i don't know why, does anybody has further idea about this?

(gdb) info threads
>
>   Id   Target Id         Frame
>
>   1    LWP 25451 "qemu-system-x86" 0x00007fc62081dc8b in ppoll () from
>> /lib/libc.so.6
>
>   2    LWP 25452 "qemu-system-x86" 0x00007fc620823ee9 in syscall () from
>> /lib/libc.so.6
>
> * 3    LWP 25495 "qemu-system-x86" 0x00007fc620af8e80 in ?? () from
>> /lib/libpthread.so.0
>
>   4    LWP 25496 "qemu-system-x86" 0x00007fc62081f697 in ioctl () from
>> /lib/libc.so.6
>
>   5    LWP 25497 "qemu-system-x86" 0x00007fc62081f697 in ioctl () from
>> /lib/libc.so.6
>
>   6    LWP 25498 "qemu-system-x86" 0x00007fc62081db9d in poll () from
>> /lib/libc.so.6
>
>   7    LWP 25500 "threaded-ml" 0x00007fc62081db9d in poll () from
>> /lib/libc.so.6
>
>   8    LWP 25501 "qemu-system-x86" 0x00007fc620af5e1d in pthread_cond_wait
>> () from /lib/libpthread.so.0
>
>   9    LWP 25502 "qemu-system-x86" 0x00007fc620af5e1d in pthread_cond_wait
>> () from /lib/libpthread.so.0
>
> (gdb) bt
>
> #0  0x00007fc620af8e80 in  () at /lib/libpthread.so.0
>
> #1  0x00007fc620af8f5f in  () at /lib/libpthread.so.0
>
> #2  0x00007fc620af906f in sem_timedwait () at /lib/libpthread.so.0
>
> #3  0x000055b66332e585 in qemu_sem_timedwait (sem=0x55b664e6c868,
>> ms=10000) at util/qemu-thread-posix.c:289
>
> #4  0x000055b6633279b6 in worker_thread (opaque=0x55b664e6c7f0) at
>> util/thread-pool.c:102
>
> #5  0x00007fc620aef767 in  () at /lib/libpthread.so.0
>
> #6  0x00007fc62082985f in clone () at /lib/libc.so.6
>
>

             reply	other threads:[~2017-10-19  9:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-19  9:32 Wahaha Huang [this message]
2017-10-19 13:29 ` [Qemu-devel] [Block-io] qemu virtual machine get stuck during startup Stefan Hajnoczi
2017-10-20  1:51   ` Wahaha Huang
2017-10-20  9:51     ` Stefan Hajnoczi

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='CALMRoie6DWc0B5Q3ZAbSS7ezFC=tXtNW+eU1T_deJsadO06erQ@mail.gmail.com' \
    --to=kingtan9527@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /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).