Received: from eggs.gnu.org ([2001:4830:134:3::10]:47073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq74m-0004iZ-8H for qemu-devel@nongnu.org; Wed, 06 May 2015 17:41:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yq74j-0006OU-0A for qemu-devel@nongnu.org; Wed, 06 May 2015 17:41:56 -0400 Received: from mail-qk0-x22a.google.com ([2607:f8b0:400d:c09::22a]:33634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq74i-0006OQ-Rf for qemu-devel@nongnu.org; Wed, 06 May 2015 17:41:52 -0400 Received: by qkx62 with SMTP id 62so15827436qkx.0 for ; Wed, 06 May 2015 14:41:52 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Programmingkid In-Reply-To: Date: Wed, 6 May 2015 17:41:49 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <18C7C30B-DC02-4CF1-8190-EFB063692272@gmail.com> Subject: Re: [Qemu-devel] Help with deadlock when using sound List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel qemu-devel On May 6, 2015, at 5:31 PM, Peter Maydell wrote: > On 6 May 2015 at 22:19, Programmingkid = wrote: >>=20 >> On May 6, 2015, at 5:10 PM, Peter Maydell wrote: >>>> Thread 8 (process 29237): >>>> #0 tb_jmp_cache_hash_func (pc=3D1) at exec/exec-all.h:208 >>>> #1 0x000000010000c9d7 in tb_find_slow (env=3D0x103846620, = pc=3D133133655, cs_base=3D133118944, flags=3D244) at = /Users/user/Documents/Development/Projects/Qemu/qemu-git/cpu-exec.c:309 >>>> #2 0x000000010000cae3 in tb_find_fast (env=3D0x103846620) at = /Users/user/Documents/Development/Projects/Qemu/qemu-git/cpu-exec.c:327 >>>> #3 0x000000010000cf66 in cpu_x86_exec (env=3D0x103846620) at = /Users/user/Documents/Development/Projects/Qemu/qemu-git/cpu-exec.c:485 >>>> #4 0x000000010003978b in tcg_cpu_exec (env=3D0x103846620) at = /Users/user/Documents/Development/Projects/Qemu/qemu-git/cpus.c:1354 >>>> #5 0x0000000100039878 in tcg_exec_all () at = /Users/user/Documents/Development/Projects/Qemu/qemu-git/cpus.c:1387 >>>> #6 0x0000000100038dec in qemu_tcg_cpu_thread_fn (arg=3D0x10383e400) = at /Users/user/Documents/Development/Projects/Qemu/qemu-git/cpus.c:1032 >>>> #7 0x00007fff8251bfd6 in _pthread_start () >>>> #8 0x00007fff8251be89 in thread_start () >>>=20 >>> This backtrace says QEMU hasn't hung -- it is still executing >>> guest code (though possibly the guest has crashed or gone off >>> into the weeds, of course). >>=20 >> If it were still executing guest code, then accessing the monitor >> would still work. >=20 > Well, that backtrace says we're executing code. We're not stuck > waiting for a lock, we're in the middle of the execution loop > (looking for a TB for PC=3D0x7ef7557). Your command line hasn't > redirected the monitor to the terminal or to a TCP port, so > possibly it's just that the GUI has got wedged? Try with > '-monitor stdio' and see if that's responsive. Tried this, still froze. > I just tried on OSX and for me there's no hang -- the BIOS > boots normally, fails to find a valid image on the cdrom > and drops into attempting to network-boot, same behaviour > with or without -soundhw pcspk. (I build with coreaudio.) >=20 > -- PMM I did what you did "qemu-system-i386 -soundhw pcspk" and QEMU froze on = me with this as the last thing printed on the screen: "Press Ctrl-B for = the iPXE command line...". What version of Mac OS X are you trying QEMU = on?