Received: from eggs.gnu.org ([140.186.70.92]:56172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qck3A-00057X-De for qemu-devel@nongnu.org; Fri, 01 Jul 2011 16:10:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qck34-0006gc-Gz for qemu-devel@nongnu.org; Fri, 01 Jul 2011 16:10:52 -0400 Received: from adelie.canonical.com ([91.189.90.139]:39193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qck34-0006ft-4m for qemu-devel@nongnu.org; Fri, 01 Jul 2011 16:10:46 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Qck32-0003C7-Vt for ; Fri, 01 Jul 2011 20:10:45 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id EF3562E889C for ; Fri, 1 Jul 2011 20:10:44 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 01 Jul 2011 20:02:43 -0000 From: Damjan Marion <804517@bugs.launchpad.net> Sender: bounces@canonical.com References: <20110701200216.25071.79043.malonedeb@gac.canonical.com> Message-Id: <20110701200243.16423.77218.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 804517] Re: qemu crashes on Darwin in qemu_iohandler_poll Reply-To: Bug 804517 <804517@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org fter bisection seems that this starts happening after following patch: commit 09716e45a05cc0c93bcf55bd0c0888dd678e490f Author: Alexander Graf Date: Thu Jun 9 00:55:37 2011 +0200 sigfd: use pthread_sigmask diff --git a/compatfd.c b/compatfd.c index bd377c4..41586ce 100644 --- a/compatfd.c +++ b/compatfd.c @@ -29,7 +29,7 @@ static void *sigwait_compat(void *opaque) sigset_t all; sigfillset(&all); - sigprocmask(SIG_BLOCK, &all, NULL); + pthread_sigmask(SIG_BLOCK, &all, NULL); while (1) { However before this patch qemu doesn't respond to keyboard (i.e. commit 31b= 7c261). Last full working commit is 630ecca. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/804517 Title: qemu crashes on Darwin in qemu_iohandler_poll Status in QEMU: New Bug description: I have an issue when I try to run qemu-system-arm on Mac OS X. = Sometime between 1 and 15 secs after qemu is started it crashes as shown bellow. Same thing on linux host works fine. Is anybody else experiencing this? Any Hints? Thanks, Damjan (gdb) run Starting program: /opt/arm-qemu/bin/qemu-system-arm -M verdex -pflash fla= sh.img -nographic -monitor null -m 289 Reading symbols for shared libraries .++++++++++++++.....................= ................................................................... done pxa2xx_clkpwr_write: CPU frequency change attempt = U-Boot 1.2.0 (May 10 2008 - 21:17:19) - PXA270@400 MHz - 1604 *** Welcome to Gumstix *** DRAM: 256 MB Flash: 32 MB Using default environment Hit any key to stop autoboot: 1 = Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00007fff5fbfed30 0x00007fff5fbfed30 in ?? () (gdb) = (gdb) bt #0 0x00007fff5fbfed30 in ?? () #1 0x00000001000c26f4 in qemu_iohandler_poll () #2 0x00000001001975ae in main_loop_wait () #3 0x00000001001976e2 in main_loop () #4 0x000000010019bfbc in qemu_main () #5 0x00000001000d63a5 in main () (gdb) To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/804517/+subscriptions