summary refs log tree commit diff stats
path: root/results/classifier/118/all/1768246
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/118/all/1768246')
-rw-r--r--results/classifier/118/all/1768246215
1 files changed, 215 insertions, 0 deletions
diff --git a/results/classifier/118/all/1768246 b/results/classifier/118/all/1768246
new file mode 100644
index 000000000..c78616664
--- /dev/null
+++ b/results/classifier/118/all/1768246
@@ -0,0 +1,215 @@
+permissions: 0.966
+register: 0.965
+semantic: 0.964
+assembly: 0.963
+architecture: 0.963
+PID: 0.963
+debug: 0.962
+socket: 0.961
+device: 0.960
+graphic: 0.957
+files: 0.957
+arm: 0.953
+virtual: 0.952
+performance: 0.950
+kernel: 0.947
+peripherals: 0.946
+network: 0.945
+TCG: 0.941
+x86: 0.938
+hypervisor: 0.935
+ppc: 0.934
+vnc: 0.933
+risc-v: 0.925
+KVM: 0.921
+boot: 0.915
+i386: 0.895
+VMM: 0.881
+user-level: 0.854
+mistranslation: 0.816
+
+cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed.
+
+OpenJDK no longer works on qemu-sh4, it previously did after #1735384 was fixed.
+
+Crash indicates an assertion failure:
+
+(sid-sh4-sbuild)root@nofan:/# java --version
+qemu-sh4-static: /root/qemu/accel/tcg/cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed.
+qemu: uncaught target signal 6 (Aborted) - core dumped
+Aborted
+(sid-sh4-sbuild)root@nofan:/#
+
+Haven't bi-sected the issue yet, but will do so later.
+
+
+John Paul Adrian Glaubitz <email address hidden> writes:
+
+> Public bug reported:
+>
+> OpenJDK no longer works on qemu-sh4, it previously did after #1735384
+> was fixed.
+>
+> Crash indicates an assertion failure:
+>
+> (sid-sh4-sbuild)root@nofan:/# java --version
+> qemu-sh4-static: /root/qemu/accel/tcg/cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed.
+> qemu: uncaught target signal 6 (Aborted) - core dumped
+> Aborted
+> (sid-sh4-sbuild)root@nofan:/#
+>
+> Haven't bi-sected the issue yet, but will do so later.
+
+Hmm that's ominous - arguably the assert should be inside the
+CONFIG_USER but I'm not sure how you get to the point where icount isn't
+< 0 after receiving a TB_EXIT_REQUESTED.
+
+>
+> ** Affects: qemu
+>      Importance: Undecided
+>          Status: New
+
+
+--
+Alex Bennée
+
+
+On 05/01/2018 05:31 PM, Alex Bennée wrote:
+>> Haven't bi-sected the issue yet, but will do so later.
+> 
+> Hmm that's ominous - arguably the assert should be inside the
+> CONFIG_USER but I'm not sure how you get to the point where icount isn't
+> < 0 after receiving a TB_EXIT_REQUESTED.
+
+git bisect yielded this:
+
+4834871bc95b67343248100e2a75ae0d287bc08b is the first bad commit
+commit 4834871bc95b67343248100e2a75ae0d287bc08b
+Author: Richard Henderson <email address hidden>
+Date:   Thu Sep 7 11:50:54 2017 -0700
+
+    target/sh4: Convert to DisasJumpType
+
+    Signed-off-by: Richard Henderson <email address hidden>
+    Message-Id: <email address hidden>
+    [aurel32: fix whitespace]
+    Signed-off-by: Aurelien Jarno <email address hidden>
+
+:040000 040000 6e0e67cc5d0eb5ef461510d314c6af43eecc08bb aa3399c893c49e6fafda157181cf10f8fbcd0a72 M      target
+
+-- 
+ .''`.  John Paul Adrian Glaubitz
+: :' :  Debian Developer - <email address hidden>
+`. `'   Freie Universitaet Berlin - <email address hidden>
+  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
+
+
+This bug also affects GHC on qemu-sh4:
+
+checking version of ghc... ./configure: line 3199: 55879 Segmentation fault      "${WithGhc-ghc}" --version > conftestghc 2>&1
+8.2.2
+qemu-sh4-static: /build/qemu-fWXVPw/qemu-2.12+dfsg/accel/tcg/cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed.
+qemu: uncaught target signal 11 (Segmentation fault) - core dumped
+qemu-sh4-static: /build/qemu-fWXVPw/qemu-2.12+dfsg/accel/tcg/cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed.
+qemu: uncaught target signal 11 (Segmentation fault) - core dumped
+qemu-sh4-static: /build/qemu-fWXVPw/qemu-2.12+dfsg/accel/tcg/cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed.
+qemu: uncaught target signal 11 (Segmentation fault) - core dumped
+qemu-sh4-static: /build/qemu-fWXVPw/qemu-2.12+dfsg/accel/tcg/cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed.
+qemu: uncaught target signal 11 (Segmentation fault) - core dumped
+qemu-sh4-static: /build/qemu-fWXVPw/qemu-2.12+dfsg/accel/tcg/cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed.
+qemu: uncaught target signal 11 (Segmentation fault) - core dumped
+
+Just tested with qemu 5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b.
+
+-- 
+ .''`.  John Paul Adrian Glaubitz
+: :' :  Debian Developer - <email address hidden>
+`. `'   Freie Universitaet Berlin - <email address hidden>
+  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
+
+
+Still present on git master:
+
+/usr/bin/make -f src/server/CMakeFiles/KF5WaylandServer_autogen.dir/build.make src/server/CMakeFiles/KF5WaylandServer_autogen.dir/build
+make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-sh4-linux-gnu'
+make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-sh4-linux-gnu'
+[  0%] Automatic MOC for target surfaceExtensionHelper
+[  0%] Generating src/KF5Wayland.qch, src/KF5Wayland.tags
+cd /<<PKGBUILDDIR>>/obj-sh4-linux-gnu/autotests/server && /usr/bin/cmake -E cmake_autogen /<<PKGBUILDDIR>>/obj-sh4-linux-gnu/autotests/server/CMakeFiles/surfaceExtensionHelper_autogen.dir/AutogenInfo.cmake Debian
+cd /<<PKGBUILDDIR>>/obj-sh4-linux-gnu/src && cmake -E remove_directory "/<<PKGBUILDDIR>>/obj-sh4-linux-gnu/src/KF5Wayland_ECMQchDoxygen"
+[  0%] Automatic MOC for target KF5WaylandClient
+[  0%] Automatic MOC for target kwaylandScanner
+cd /<<PKGBUILDDIR>>/obj-sh4-linux-gnu/src/tools && /usr/bin/cmake -E cmake_autogen /<<PKGBUILDDIR>>/obj-sh4-linux-gnu/src/tools/CMakeFiles/kwaylandScanner_autogen.dir/AutogenInfo.cmake Debian
+cd /<<PKGBUILDDIR>>/obj-sh4-linux-gnu/src/client && /usr/bin/cmake -E cmake_autogen /<<PKGBUILDDIR>>/obj-sh4-linux-gnu/src/client/CMakeFiles/KF5WaylandClient_autogen.dir/AutogenInfo.cmake Debian
+[  0%] Automatic MOC for target KF5WaylandServer
+cd /<<PKGBUILDDIR>>/obj-sh4-linux-gnu/src/server && /usr/bin/cmake -E cmake_autogen /<<PKGBUILDDIR>>/obj-sh4-linux-gnu/src/server/CMakeFiles/KF5WaylandServer_autogen.dir/AutogenInfo.cmake Debian
+cd /<<PKGBUILDDIR>>/obj-sh4-linux-gnu/src && cmake -E make_directory "/<<PKGBUILDDIR>>/obj-sh4-linux-gnu/src/KF5Wayland_ECMQchDoxygen"
+qemu-sh4-static: /root/qemu/accel/tcg/cpu-exec.c:634: cpu_loop_exec_tb: Assertion `use_icount' failed.
+qemu: uncaught target signal 11 (Segmentation fault) - core dumped
+Segmentation fault
+make[3]: *** [autotests/server/CMakeFiles/surfaceExtensionHelper_autogen.dir/build.make:61: autotests/server/CMakeFiles/surfaceExtensionHelper_autogen] Error 139
+make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-sh4-linux-gnu'
+make[2]: *** [CMakeFiles/Makefile2:3729: autotests/server/CMakeFiles/surfaceExtensionHelper_autogen.dir/all] Error 2
+make[2]: *** Waiting for unfinished jobs....
+qemu-sh4-static: /root/qemu/accel/tcg/cpu-exec.c:634: cpu_loop_exec_tb: Assertion `use_icount' failed.
+qemu: uncaught target signal 11 (Segmentation fault) - core dumped
+Segmentation fault
+make[3]: *** [src/client/CMakeFiles/KF5WaylandClient_autogen.dir/build.make:61: src/client/CMakeFiles/KF5WaylandClient_autogen] Error 139
+make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-sh4-linux-gnu'
+make[2]: *** [CMakeFiles/Makefile2:259: src/client/CMakeFiles/KF5WaylandClient_autogen.dir/all] Error 2
+cd /<<PKGBUILDDIR>>/obj-sh4-linux-gnu/src && /usr/bin/doxygen /<<PKGBUILDDIR>>/obj-sh4-linux-gnu/src/KF5Wayland_ECMQchDoxygen.config
+qemu-sh4-static: /root/qemu/accel/tcg/cpu-exec.c:634: cpu_loop_exec_tb: Assertion `use_icount' failed.
+qemu: uncaught target signal 11 (Segmentation fault) - core dumped
+Segmentation fault
+make[3]: *** [src/tools/CMakeFiles/kwaylandScanner_autogen.dir/build.make:61: src/tools/CMakeFiles/kwaylandScanner_autogen] Error 139
+make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-sh4-linux-gnu'
+make[2]: *** [CMakeFiles/Makefile2:437: src/tools/CMakeFiles/kwaylandScanner_autogen.dir/all] Error 2
+qemu-sh4-static: /root/qemu/accel/tcg/cpu-exec.c:634: cpu_loop_exec_tb: Assertion `use_icount' failed.
+qemu: uncaught target signal 11 (Segmentation fault) - core dumped
+Segmentation fault
+make[3]: *** [src/server/CMakeFiles/KF5WaylandServer_autogen.dir/build.make:61: src/server/CMakeFiles/KF5WaylandServer_autogen] Error 139
+make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-sh4-linux-gnu'
+make[2]: *** [CMakeFiles/Makefile2:347: src/server/CMakeFiles/KF5WaylandServer_autogen.dir/all] Error 2
+QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-glaubitz'
+Building up file structure...
+Insert custom filters...
+Insert help data for filter section (1 of 1)...
+Insert files...
+Warning: The file /<<PKGBUILDDIR>>/obj-sh4-linux-gnu/src/KF5Wayland_ECMQchDoxygen/html/dynsections.js does not exist, skipping it...
+Insert contents...
+
+This change seems to fix the problem:
+
+diff --git a/target/sh4/translate.c b/target/sh4/translate.c
+index 1b9a201d6d..5010b0d349 100644
+--- a/target/sh4/translate.c
++++ b/target/sh4/translate.c
+@@ -253,7 +253,6 @@ static void gen_goto_tb(DisasContext *ctx, int n, target_ulong dest)
+             tcg_gen_lookup_and_goto_ptr();
+         }
+     }
+-    ctx->base.is_jmp = DISAS_NORETURN;
+ }
+ 
+ static void gen_jump(DisasContext * ctx)
+@@ -324,7 +323,6 @@ static void gen_delayed_conditional_jump(DisasContext * ctx)
+         gen_jump(ctx);
+ 
+         gen_set_label(l1);
+-        ctx->base.is_jmp = DISAS_NEXT;
+         return;
+     }
+ 
+@@ -1877,6 +1875,7 @@ static void decode_opc(DisasContext * ctx)
+         ctx->envflags &= ~GUSA_MASK;
+ 
+         tcg_gen_movi_i32(cpu_flags, ctx->envflags);
++        ctx->base.is_jmp = DISAS_NORETURN;
+         if (old_flags & DELAY_SLOT_CONDITIONAL) {
+            gen_delayed_conditional_jump(ctx);
+         } else {
+
+
+Fix has been committed here:
+https://git.qemu.org/?p=qemu.git;a=commitdiff;h=5b38d0264064055255db991
+