Received: from eggs.gnu.org ([2001:4830:134:3::10]:35446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq2NV-0005NV-Py for qemu-devel@nongnu.org; Wed, 06 May 2015 12:40:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yq2NP-0004XM-BH for qemu-devel@nongnu.org; Wed, 06 May 2015 12:40:57 -0400 Received: from mail-qk0-x22d.google.com ([2607:f8b0:400d:c09::22d]:34055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq2NP-0004XG-7G for qemu-devel@nongnu.org; Wed, 06 May 2015 12:40:51 -0400 Received: by qkgx75 with SMTP id x75so9829569qkg.1 for ; Wed, 06 May 2015 09:40:50 -0700 (PDT) Received: from [192.168.0.3] (d199-74-164-53.col.wideopenwest.com. [74.199.53.164]) by mx.google.com with ESMTPSA id a6sm1494294qgf.17.2015.05.06.09.40.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 May 2015 09:40:50 -0700 (PDT) From: Programmingkid Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 6 May 2015 12:40:48 -0400 Message-Id: <18C7C30B-DC02-4CF1-8190-EFB063692272@gmail.com> Mime-Version: 1.0 (Apple Message framework v1084) Subject: [Qemu-devel] Help with deadlock when using sound List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel qemu-devel When I try to use the pcspk sound hardware, QEMU freezes and uses 100% = of the cpu time. This is the command I use: qemu-system-i386 -cdrom -soundhw pcspk This looks like a deadlock situation because some unknown code called = qemu_mutex_lock(). Here is the stack trace at the freeze: (gdb) bt #0 0x00007fff824e2db6 in semaphore_wait_trap () #1 0x00007fff824e8417 in pthread_mutex_lock () #2 0x0000000100267199 in qemu_mutex_lock (mutex=3D) at util/qemu-thread-posix.c:73 #3 0x003c44016e95153b in ?? () My host is Mac OS 10.6.8. My guest isn't really anything. I have used = Windows XP before but it isn't necessary to reproduce the problem.=20 The ?? is what appears to be the problem. I can't even print = instructions at that address. Any ideas as to what is calling the = qemu_mutex_lock() function could help.=