qemu crashes on Darwin in qemu_iohandler_poll
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
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-
Reading symbols for shared libraries .++++++
pxa2xx_
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
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)
fter bisection seems that this starts happening after following patch:
commit 09716e45a05cc0c 93bcf55bd0c0888 dd678e490f
Author: Alexander Graf <email address hidden>
Date: Thu Jun 9 00:55:37 2011 +0200
sigfd: use pthread_sigmask
diff --git a/compatfd.c b/compatfd.c compat( void *opaque)
index bd377c4..41586ce 100644
--- a/compatfd.c
+++ b/compatfd.c
@@ -29,7 +29,7 @@ static void *sigwait_
sigset_t all;
sigfillset( &all); SIG_BLOCK, &all, NULL); sigmask( SIG_BLOCK, &all, NULL);
- sigprocmask(
+ pthread_
while (1) {
However before this patch qemu doesn't respond to keyboard (i.e. commit 31b7c261).
Last full working commit is 630ecca.