summary refs log tree commit diff stats
path: root/mailinglist/output_launchpad/1812861
diff options
context:
space:
mode:
Diffstat (limited to 'mailinglist/output_launchpad/1812861')
-rw-r--r--mailinglist/output_launchpad/181286128
1 files changed, 28 insertions, 0 deletions
diff --git a/mailinglist/output_launchpad/1812861 b/mailinglist/output_launchpad/1812861
new file mode 100644
index 00000000..57379d7d
--- /dev/null
+++ b/mailinglist/output_launchpad/1812861
@@ -0,0 +1,28 @@
+QEMU in user-mode emulation mode crashes when the user program jumps to an invalid address
+
+Running this code:
+
+void (*func)() = 0x12345678;
+
+int main()
+{
+    func();
+    return 0;
+}
+
+Produces the following output:
+
+qemu-arm-static: /build/qemu-DqynNa/qemu-2.8+dfsg/translate-all.c:175: tb_lock: Assertion `!have_tb_lock' failed.
+qemu-arm-static: /build/qemu-DqynNa/qemu-2.8+dfsg/translate-all.c:175: tb_lock: Assertion `!have_tb_lock' failed.
+Segmentation fault
+
+The expected result is as follows:
+
+qemu: uncaught target signal 11 (Segmentation fault) - core dumped
+Segmentation fault
+
+
+
+I'm not sure exactly when we fixed this (the fix is probably in the 4.1 release) but as of current head-of-git this correctly generates the SIGSEGV.
+
+