From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S21wL-0006LS-86 for qemu-devel@nongnu.org; Mon, 27 Feb 2012 09:52:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S21wF-0002Du-8T for qemu-devel@nongnu.org; Mon, 27 Feb 2012 09:52:37 -0500 Received: from moutng.kundenserver.de ([212.227.126.187]:63680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S21wE-0002Dm-Uv for qemu-devel@nongnu.org; Mon, 27 Feb 2012 09:52:31 -0500 Date: Mon, 27 Feb 2012 15:52:29 +0100 (CET) From: Erik Rull Message-ID: <1726500113.424119.1330354349503.JavaMail.open-xchange@email.1und1.de> In-Reply-To: <4F4B7BB5.4030405@redhat.com> References: <390007896.172233.1329997133650.JavaMail.open-xchange@email.1und1.de> <4F465748.8050605@redhat.com> <736907392.381675.1330334571227.JavaMail.open-xchange@email.1und1.de> <4F4B7BB5.4030405@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qemu assertion failed with usb on current git master! Reply-To: Erik Rull List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: "qemu-devel@nongnu.org" On February 27, 2012 at 1:48 PM Gerd Hoffmann wrote: > >>> qemu-system-x86_64: /home/erik/qemu/hw/usb.c:358 usb_packet_complete: > >>> Assertion 'p->state == USB_PACKET_QUEUED' failed. > >> > >> Stacktrace? > >> What kind of device? > >> > > > Hi Gerd, > > > > attached the usb logger dump as requested. > > Stacktrace - I tried that without real success using the gdbserver - I had > > issues with the symbol resolving, no idea what went wrong... > > You don't need gdbserver, that one is for debugging the guest, not for > debugging qemu. > > Just use gdb on the qemu core dump. And please also print p (packet > pointer) which fails the assertion, so we can match it with the packet > pointers printed in the log. > > thanks, > Gerd > I'm really sorry, but I don't understand what's happening - I copied the qemu executable on my target system before executing it, but gdb complains that the core file does not match the executable! But except the file paths they are identical. Here the gdb output: warning: core file may not match specified executable file. Core was generated by `/disc/qemu-system-x86_64 -machine kernel_irqchip=on -serial /dev/ttyS2 -usb -de'. Program terminated with signal 6, Aborted. #0 0xffffe424 in __kernel_vsyscall () (gdb) bt #0 0xffffe424 in __kernel_vsyscall () #1 0xb705f671 in ?? () #2 0xb714bff4 in ?? () #3 0xb6faf6b0 in ?? () #4 0xbfe8b514 in ?? () #5 0xb7060cf9 in ?? () #6 0x00000006 in ?? () #7 0xbfe8b488 in ?? () #8 0x00000000 in ?? () (gdb) p The history is empty. (gdb) I don't know how to proceed here. Don't you run into this problem (crash on USB plug in) on your system? I tested it with a Linux guest, there it does not crash! Only with a Windows XP guest! Best regards, Erik