summary refs log tree commit diff stats
path: root/results/classifier/108/other/2078
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-05 06:55:18 +0000
committerChristian Krinitsin <mail@krinitsin.com>2025-06-05 06:55:18 +0000
commit993a7c1ea28968a4479a87ad6c2637a7045d2d51 (patch)
tree024d7266fc695c4f93ab6ce0fcd52326f3ac379d /results/classifier/108/other/2078
parent2773b5e236e2217a35a53dbc298757610c7bbbc6 (diff)
downloademulator-bug-study-993a7c1ea28968a4479a87ad6c2637a7045d2d51.tar.gz
emulator-bug-study-993a7c1ea28968a4479a87ad6c2637a7045d2d51.zip
add new classifier result
Diffstat (limited to 'results/classifier/108/other/2078')
-rw-r--r--results/classifier/108/other/207849
1 files changed, 49 insertions, 0 deletions
diff --git a/results/classifier/108/other/2078 b/results/classifier/108/other/2078
new file mode 100644
index 00000000..e7e33bd2
--- /dev/null
+++ b/results/classifier/108/other/2078
@@ -0,0 +1,49 @@
+graphic: 0.916
+device: 0.821
+semantic: 0.803
+performance: 0.771
+other: 0.737
+debug: 0.697
+PID: 0.673
+network: 0.666
+vnc: 0.573
+permissions: 0.497
+socket: 0.482
+files: 0.434
+boot: 0.371
+KVM: 0.081
+
+Qemu crashes with SIGFPE on certain trapping arithmetic operations on m68k target
+Description of problem:
+I recently ported NetBSD to the Qemu m68k "virt" platform, and this was discovered when running NetBSD's automated tests.  Certain arithmetic operation that will trap in the guest will crash Qemu.  First case encountered is below.
+Steps to reproduce:
+1. Compile and run the following program in the m68k guest:
+
+```
+virt68k:thorpej 3$ cat crash-qemu.c                                            
+#include <limits.h>
+#include <stdlib.h>
+
+int divisor = -1;
+
+int
+main(int argc, char *argv[])
+{
+
+	if (argc > 1)
+		divisor = atoi(argv[1]);
+
+	return INT_MIN / divisor;
+}
+virt68k:thorpej 4$ 
+```
+
+Another minimal case would be:
+
+```
+move.l #-2147483648,%d0
+move.l #-1,%d1
+divsl.l %d1,%d1:%d0
+```
+Additional information:
+