[Qemu-devel] [Bug 1768246] [NEW] cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed.
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. ** Affects: qemu Importance: Undecided Status: New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1768246 Title: cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed. Status in QEMU: New Bug description: 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. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1768246/+subscriptions
Re: [Qemu-devel] [Bug 1768246] [NEW] cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed.
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 - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1768246 Title: cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed. Status in QEMU: New Bug description: 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. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1768246/+subscriptions
Re: [Qemu-devel] [Bug 1768246] [NEW] cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed.
John Paul Adrian Glaubitz 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
Re: [Qemu-devel] [Bug 1768246] [NEW] cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed.
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 Date: Thu Sep 7 11:50:54 2017 -0700 target/sh4: Convert to DisasJumpType Signed-off-by: Richard Henderson Message-Id: <20170907185057.23421-3-richard.hender...@linaro.org> [aurel32: fix whitespace] Signed-off-by: Aurelien Jarno :04 04 6e0e67cc5d0eb5ef461510d314c6af43eecc08bb aa3399c893c49e6fafda157181cf10f8fbcd0a72 M target -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1768246 Title: cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed. Status in QEMU: New Bug description: 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. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1768246/+subscriptions