qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [BUG] USB assertion triggers in usb_packet_complete()


From: Thomas Huth
Subject: Re: [Qemu-devel] [BUG] USB assertion triggers in usb_packet_complete()
Date: Wed, 12 Oct 2011 13:17:20 +0200

Am Wed, 12 Oct 2011 11:02:42 +0100
schrieb Stefan Hajnoczi <address@hidden>:

> On Tue, Oct 11, 2011 at 8:35 AM, Thomas Huth <address@hidden> wrote:
> > Am Mon, 10 Oct 2011 15:03:41 +0200
> > schrieb Thomas Huth <address@hidden>:
> >>
> >> I am currently facing a problem when running QEMU (up-to-date git
> >> version) with OHCI and a lot of virtual USB devices.
> >> The emulator dies with the following assertion:
> >>
> >> qemu-system-arm: hw/usb.c:337: usb_packet_complete:
> >> Assertion `p->owner != ((void *)0)' failed.
> 
> Hi Thomas,
> I hit the same bug recently and Gerd has posted a patch which you can test:
> http://patchwork.ozlabs.org/patch/118726/

Thanks for the hint, Stefan, you're right, that seems to be the same
bug. Your patch is working fine in my scenario, too.

However, Gerd's patch is not working for me, the assertion still
triggers. It seems like usb_packet_complete() is called for the leaf
node before it is called for the hub node, so the leaf node already set
p->owner = NULL.

 Thomas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]