On 2011/01/21 12:18, Stefan Sperling wrote:
> I've run into a qemu crash with the following trace:

Cool! On the occasions when I have been able to obtain a valid
backtrace after a crash, it has always looked like this.

Since there have been a number of people who have been
complaining about the qemu port, there should be no shortage
of testers!

I committed to qemu recently, so here is an updated diff that
will apply to -current.


Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/qemu/Makefile,v
retrieving revision 1.60
diff -u -p -r1.60 Makefile
--- Makefile    19 Jan 2011 16:22:31 -0000      1.60
+++ Makefile    21 Jan 2011 11:22:13 -0000
@@ -6,7 +6,7 @@ ONLY_FOR_ARCHS =        i386 amd64 sparc64
 COMMENT =              multi system emulator
 
 DISTNAME =             qemu-0.13.0
-REVISION =             0
+REVISION =             1
 CATEGORIES =           emulators
 
 HOMEPAGE =             http://www.qemu.org/
Index: patches/patch-cpus_c
===================================================================
RCS file: patches/patch-cpus_c
diff -N patches/patch-cpus_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-cpus_c        21 Jan 2011 11:22:13 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- cpus.c.orig        Fri Jan 21 10:24:52 2011
++++ cpus.c     Fri Jan 21 10:26:29 2011
+@@ -149,7 +149,7 @@ static void cpu_debug_handler(CPUState *env)
+ }
+ 
+ #ifndef _WIN32
+-static int io_thread_fd = -1;
++static volatile sig_atomic_t io_thread_fd = -1;
+ 
+ static void qemu_event_increment(void)
+ {
Index: patches/patch-net_h
===================================================================
RCS file: /cvs/ports/emulators/qemu/patches/patch-net_h,v
retrieving revision 1.1
diff -u -p -r1.1 patch-net_h
--- patches/patch-net_h 27 May 2010 17:55:05 -0000      1.1
+++ patches/patch-net_h 21 Jan 2011 11:22:13 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-net_h,v 1.1 2010/05/27 17:55:05 fgsch Exp $
---- net.h.orig Tue Feb 23 20:54:38 2010
-+++ net.h      Mon Mar 22 20:26:50 2010
-@@ -172,7 +172,7 @@ void net_host_device_remove(Monitor *mon, const QDict 
+--- net.h.orig Fri Oct 15 22:56:09 2010
++++ net.h      Fri Jan 21 10:04:46 2011
+@@ -172,7 +172,7 @@ int do_netdev_del(Monitor *mon, const QDict *qdict, QO
  #ifdef __sun__
  #define SMBD_COMMAND "/usr/sfw/sbin/smbd"
  #else
Index: patches/patch-posix-aio-compat_c
===================================================================
RCS file: patches/patch-posix-aio-compat_c
diff -N patches/patch-posix-aio-compat_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-posix-aio-compat_c    21 Jan 2011 11:22:13 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- posix-aio-compat.c.orig    Fri Jan 21 10:27:04 2011
++++ posix-aio-compat.c Fri Jan 21 10:15:20 2011
+@@ -495,7 +495,7 @@ static int posix_aio_flush(void *opaque)
+     return !!s->first_aio;
+ }
+ 
+-static PosixAioState *posix_aio_state;
++static volatile PosixAioState *posix_aio_state;
+ 
+ static void aio_signal_handler(int signum)
+ {
Index: patches/patch-qemu-options_hx
===================================================================
RCS file: /cvs/ports/emulators/qemu/patches/patch-qemu-options_hx,v
retrieving revision 1.1
diff -u -p -r1.1 patch-qemu-options_hx
--- patches/patch-qemu-options_hx       27 May 2010 17:55:05 -0000      1.1
+++ patches/patch-qemu-options_hx       21 Jan 2011 11:22:13 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-qemu-options_hx,v 1.1 2010/05/27 17:55:05 fgsch Exp $
---- qemu-options.hx.orig       Tue Feb 23 20:54:38 2010
-+++ qemu-options.hx    Mon Mar 22 20:26:50 2010
-@@ -942,7 +942,7 @@ or @file{C:\WINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS} (Windo
+--- qemu-options.hx.orig       Fri Oct 15 22:56:09 2010
++++ qemu-options.hx    Fri Jan 21 10:04:46 2011
+@@ -1105,7 +1105,7 @@ or @file{C:\WINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS} (Windo
  Then @file{@var{dir}} can be accessed in @file{\\smbserver\qemu}.
  
  Note that a SAMBA server must be installed on the host OS in

Reply via email to