Received: from eggs.gnu.org ([208.118.235.92]:35412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TpmOZ-000149-WF for qemu-devel@nongnu.org; Mon, 31 Dec 2012 15:55:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TpmOV-0006ZS-Q2 for qemu-devel@nongnu.org; Mon, 31 Dec 2012 15:55:39 -0500 Received: from indium.canonical.com ([91.189.90.7]:34741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TpmOV-0006ZO-HX for qemu-devel@nongnu.org; Mon, 31 Dec 2012 15:55:35 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1TpmOU-0005Kb-GN for ; Mon, 31 Dec 2012 20:55:34 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 6FD4F2E807C for ; Mon, 31 Dec 2012 20:55:34 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 31 Dec 2012 20:46:45 -0000 From: Christopher Mason Sender: bounces@canonical.com References: <20121231204645.26308.5533.malonedeb@soybean.canonical.com> Message-Id: <20121231204645.26308.5533.malonedeb@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1094950] [NEW] crash at qemu_iohandler_poll (iohandler.c:124) on macos 10.8.2 Reply-To: Bug 1094950 <1094950@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: I'm seeing consistent hangs / crashes on MacOS 10.8.2 with 1.3.0. I've tried both gcc-4.2 and clang. I've tried a half a dozen different images/kernels. I configured qemu like this: ./configure --disable-sdl --disable-kvm --enable-cocoa --cc=3Dgcc-4.2 --host-cc=3Dgcc-4.2 --enable-debug --extra-cflags=3D-g --extra- ldflags=3D-g And ran it like this: qemu-system-arm -nographic -M versatilepb -kernel vmlinuz-2.6.32-5-versatile -initrd initrd.img-2.6.32-5-versatile -hda debian_squeeze_armel_standard.qcow2 -append "root=3D/dev/sda1 console=3DttyAMA0" With images, kernel, and initrd described here: http://psellos.com/2012/08/2012.08.qemu-arm-osx.html And I get: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x000000010142f2d0 0x000000010142f2d0 in ?? () (gdb) bt #0 0x000000010142f2d0 in ?? () #1 0x000000010016e209 in qemu_iohandler_poll (readfds=3D0x10097ca00, write= fds=3D0x10097ca80, xfds=3D0x10097cb00, ret=3D4) at iohandler.c:124 #2 0x0000000100172acf in main_loop_wait (nonblocking=3D0) at main-loop.c:4= 18 #3 0x0000000100207bbf in main_loop () at vl.c:1765 #4 0x000000010020e7b0 in qemu_main (argc=3D12, argv=3D0x7fff5fbff360, envp= =3D0x7fff5fbff3c8) at vl.c:3992 #5 0x00000001001d6013 in main (argc=3D12, argv=3D0x7fff5fbff360) at ui/coc= oa.m:884 (gdb) frame 1 #1 0x000000010016e209 in qemu_iohandler_poll (readfds=3D0x10097ca00, write= fds=3D0x10097ca80, xfds=3D0x10097cb00, ret=3D4) at iohandler.c:124 124 ioh->fd_read(ioh->opaque); Current language: auto; currently c (gdb) p ioh $1 =3D (IOHandlerRecord *) 0x10142f110 (gdb) p *ioh $2 =3D { fd_read_poll =3D 0, = fd_read =3D 0x10017212b , = fd_write =3D 0, = opaque =3D 0x3, = next =3D { le_next =3D 0x0, = le_prev =3D 0x105d00bc0 }, = fd =3D 3, = deleted =3D false } ** Affects: qemu Importance: Undecided Status: New -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1094950 Title: crash at qemu_iohandler_poll (iohandler.c:124) on macos 10.8.2 Status in QEMU: New Bug description: I'm seeing consistent hangs / crashes on MacOS 10.8.2 with 1.3.0. I've tried both gcc-4.2 and clang. I've tried a half a dozen different images/kernels. I configured qemu like this: ./configure --disable-sdl --disable-kvm --enable-cocoa --cc=3Dgcc-4.2 --host-cc=3Dgcc-4.2 --enable-debug --extra-cflags=3D-g --extra- ldflags=3D-g And ran it like this: qemu-system-arm -nographic -M versatilepb -kernel vmlinuz-2.6.32-5-versatile -initrd initrd.img-2.6.32-5-versatile -hda debian_squeeze_armel_standard.qcow2 -append "root=3D/dev/sda1 console=3DttyAMA0" With images, kernel, and initrd described here: http://psellos.com/2012/08/2012.08.qemu-arm-osx.html And I get: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x000000010142f2d0 0x000000010142f2d0 in ?? () (gdb) bt #0 0x000000010142f2d0 in ?? () #1 0x000000010016e209 in qemu_iohandler_poll (readfds=3D0x10097ca00, wri= tefds=3D0x10097ca80, xfds=3D0x10097cb00, ret=3D4) at iohandler.c:124 #2 0x0000000100172acf in main_loop_wait (nonblocking=3D0) at main-loop.c= :418 #3 0x0000000100207bbf in main_loop () at vl.c:1765 #4 0x000000010020e7b0 in qemu_main (argc=3D12, argv=3D0x7fff5fbff360, en= vp=3D0x7fff5fbff3c8) at vl.c:3992 #5 0x00000001001d6013 in main (argc=3D12, argv=3D0x7fff5fbff360) at ui/c= ocoa.m:884 (gdb) frame 1 #1 0x000000010016e209 in qemu_iohandler_poll (readfds=3D0x10097ca00, wri= tefds=3D0x10097ca80, xfds=3D0x10097cb00, ret=3D4) at iohandler.c:124 124 ioh->fd_read(ioh->opaque); Current language: auto; currently c (gdb) p ioh $1 =3D (IOHandlerRecord *) 0x10142f110 (gdb) p *ioh $2 =3D { fd_read_poll =3D 0, = fd_read =3D 0x10017212b , = fd_write =3D 0, = opaque =3D 0x3, = next =3D { le_next =3D 0x0, = le_prev =3D 0x105d00bc0 }, = fd =3D 3, = deleted =3D false } To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1094950/+subscriptions