From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Guenter Roeck <linux@roeck-us.net>, qemu-devel@nongnu.org
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>
Subject: Re: [Qemu-devel] qemu-system-x86_64: hw/usb/core.c:720: usb_ep_get: Assertion `dev != NULL' failed
Date: Tue, 25 Jun 2019 12:25:08 +0200 [thread overview]
Message-ID: <f61a2457-e8f2-0363-e793-dffa6880dd32@redhat.com> (raw)
In-Reply-To: <20190624180139.GA17161@roeck-us.net>
Cc'ing more people.
On 6/24/19 8:01 PM, Guenter Roeck wrote:
> Hi,
>
> I have seen the following problem several times recently. This is with qemu-4.0.
>
> qemu-system-x86_64: hw/usb/core.c:720: usb_ep_get: Assertion `dev != NULL' failed
>
> Backtrace gives me the following call path.
>
> main_loop()
> main_loop_wait()
> glib_pollfds_poll()
> aio_ctx_dispatch()
> aio_dispatch()
> aio_bh_poll()
> ehci_work_bh()
> ehci_advance_async_state()
> ehci_advance_state()
> ehci_execute()
> usb_ep_get()
>
> The problem always happens during shutdown, maybe once every 100 boots.
> It seems to be more likely to happen when the system is under heavy load.
>
> ...
> umount: devtmpfs busy - remounted read-only
> [ 49.018682] EXT4-fs (sda): re-mounted. Opts: (null)
> [ 49.028052] sd 6:0:0:0: [sda] Synchronizing SCSI cache
> qemu-system-x86_64: hw/usb/core.c:733: usb_ep_get: Assertion `dev != NULL' failed.
>
> Essentially that means that p->queue->dev is NULL in ehci_execute().
>
> Has anyone else seen this problem ? Any idea what I can do to debug
> this further ?
>
> Thanks,
> Guenter
>
prev parent reply other threads:[~2019-06-25 10:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-24 18:01 [Qemu-devel] qemu-system-x86_64: hw/usb/core.c:720: usb_ep_get: Assertion `dev != NULL' failed Guenter Roeck
2019-06-25 10:25 ` Philippe Mathieu-Daudé [this message]
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=f61a2457-e8f2-0363-e793-dffa6880dd32@redhat.com \
--to=philmd@redhat.com \
--cc=kraxel@redhat.com \
--cc=linux@roeck-us.net \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.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).