* [Qemu-devel] [Bug 1735384] [NEW] OpenJDK JVM segfaults on qemu-sh4 (regression) @ 2017-11-30 10:19 John Paul Adrian Glaubitz 2017-11-30 12:19 ` [Qemu-devel] [Bug 1735384] " Peter Maydell ` (3 more replies) 0 siblings, 4 replies; 18+ messages in thread From: John Paul Adrian Glaubitz @ 2017-11-30 10:19 UTC (permalink / raw) To: qemu-devel Public bug reported: Some of the recent changes introduced a regression which makes the OpenJDK JVM crash on qemu-sh4: (sid-sh4-sbuild)root@nofan:/# java -version qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (sid-sh4-sbuild)root@nofan:/# An older version works fine: (sid-sh4-sbuild)root@nofan:/# java -version openjdk version "9.0.1" OpenJDK Runtime Environment (build 9.0.1+11-Debian-1) OpenJDK Zero VM (build 9.0.1+11-Debian-1, interpreted mode) (sid-sh4-sbuild)root@nofan:/# Haven't had time for bisecting this yet. Adrian ** 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/1735384 Title: OpenJDK JVM segfaults on qemu-sh4 (regression) Status in QEMU: New Bug description: Some of the recent changes introduced a regression which makes the OpenJDK JVM crash on qemu-sh4: (sid-sh4-sbuild)root@nofan:/# java -version qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (sid-sh4-sbuild)root@nofan:/# An older version works fine: (sid-sh4-sbuild)root@nofan:/# java -version openjdk version "9.0.1" OpenJDK Runtime Environment (build 9.0.1+11-Debian-1) OpenJDK Zero VM (build 9.0.1+11-Debian-1, interpreted mode) (sid-sh4-sbuild)root@nofan:/# Haven't had time for bisecting this yet. Adrian To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1735384/+subscriptions ^ permalink raw reply [flat|nested] 18+ messages in thread
* [Qemu-devel] [Bug 1735384] Re: OpenJDK JVM segfaults on qemu-sh4 (regression) 2017-11-30 10:19 [Qemu-devel] [Bug 1735384] [NEW] OpenJDK JVM segfaults on qemu-sh4 (regression) John Paul Adrian Glaubitz @ 2017-11-30 12:19 ` Peter Maydell 2017-11-30 12:39 ` John Paul Adrian Glaubitz 2017-12-05 15:02 ` [Qemu-devel] [Bug 1735384] [NEW] " Alex Bennée ` (2 subsequent siblings) 3 siblings, 1 reply; 18+ messages in thread From: Peter Maydell @ 2017-11-30 12:19 UTC (permalink / raw) To: qemu-devel This sounds like it may be the bug fixed by this patchset: https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg05067.html -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1735384 Title: OpenJDK JVM segfaults on qemu-sh4 (regression) Status in QEMU: New Bug description: Some of the recent changes introduced a regression which makes the OpenJDK JVM crash on qemu-sh4: (sid-sh4-sbuild)root@nofan:/# java -version qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (sid-sh4-sbuild)root@nofan:/# An older version works fine: (sid-sh4-sbuild)root@nofan:/# java -version openjdk version "9.0.1" OpenJDK Runtime Environment (build 9.0.1+11-Debian-1) OpenJDK Zero VM (build 9.0.1+11-Debian-1, interpreted mode) (sid-sh4-sbuild)root@nofan:/# Haven't had time for bisecting this yet. Adrian To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1735384/+subscriptions ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] [Bug 1735384] Re: OpenJDK JVM segfaults on qemu-sh4 (regression) 2017-11-30 12:19 ` [Qemu-devel] [Bug 1735384] " Peter Maydell @ 2017-11-30 12:39 ` John Paul Adrian Glaubitz 2017-11-30 23:25 ` John Paul Adrian Glaubitz 0 siblings, 1 reply; 18+ messages in thread From: John Paul Adrian Glaubitz @ 2017-11-30 12:39 UTC (permalink / raw) To: qemu-devel On 11/30/2017 01:19 PM, Peter Maydell wrote: > This sounds like it may be the bug fixed by this patchset: > https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg05067.html Unfortunately not. I will upload a prepared chroot for testing later and link it in this bug report. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@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/1735384 Title: OpenJDK JVM segfaults on qemu-sh4 (regression) Status in QEMU: New Bug description: Some of the recent changes introduced a regression which makes the OpenJDK JVM crash on qemu-sh4: (sid-sh4-sbuild)root@nofan:/# java -version qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (sid-sh4-sbuild)root@nofan:/# An older version works fine: (sid-sh4-sbuild)root@nofan:/# java -version openjdk version "9.0.1" OpenJDK Runtime Environment (build 9.0.1+11-Debian-1) OpenJDK Zero VM (build 9.0.1+11-Debian-1, interpreted mode) (sid-sh4-sbuild)root@nofan:/# Haven't had time for bisecting this yet. Adrian To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1735384/+subscriptions ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] [Bug 1735384] Re: OpenJDK JVM segfaults on qemu-sh4 (regression) 2017-11-30 12:39 ` John Paul Adrian Glaubitz @ 2017-11-30 23:25 ` John Paul Adrian Glaubitz 2017-12-03 15:52 ` Thomas Huth 0 siblings, 1 reply; 18+ messages in thread From: John Paul Adrian Glaubitz @ 2017-11-30 23:25 UTC (permalink / raw) To: qemu-devel The offending commit is: d25f2a72272b9ffe0d06710d6217d1169bc2cc7d is the first bad commit commit d25f2a72272b9ffe0d06710d6217d1169bc2cc7d Author: Alex Bennée <alex.bennee@linaro.org> Date: Mon Nov 13 13:55:27 2017 +0000 accel/tcg/translate-all: expand cpu_restore_state addr check We are still seeing signals during translation time when we walk over a page protection boundary. This expands the check to ensure the host PC is inside the code generation buffer. The original suggestion was to check versus tcg_ctx.code_gen_ptr but as we now segment the translation buffer we have to settle for just a general check for being inside. I've also fixed up the declaration to make it clear it can deal with invalid addresses. A later patch will fix up the call sites. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reported-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20171108153245.20740-2-alex.bennee@linaro.org Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Cc: Richard Henderson <rth@twiddle.net> Tested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> :040000 040000 da50c4c43089d3ee7d1e9ad50d3c9036114e5f11 cd6a0dcaa1d284fe5439f6f3b61547d4b0662768 M accel :040000 040000 c294a7c102d27295f8d81cc06b5d4d17357440ad 5a1268b7634f69f0806f22161ec7d6a1a26c8812 M include Reverting the commit resolves the issue. -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@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/1735384 Title: OpenJDK JVM segfaults on qemu-sh4 (regression) Status in QEMU: New Bug description: Some of the recent changes introduced a regression which makes the OpenJDK JVM crash on qemu-sh4: (sid-sh4-sbuild)root@nofan:/# java -version qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (sid-sh4-sbuild)root@nofan:/# An older version works fine: (sid-sh4-sbuild)root@nofan:/# java -version openjdk version "9.0.1" OpenJDK Runtime Environment (build 9.0.1+11-Debian-1) OpenJDK Zero VM (build 9.0.1+11-Debian-1, interpreted mode) (sid-sh4-sbuild)root@nofan:/# Haven't had time for bisecting this yet. Adrian To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1735384/+subscriptions ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] [Bug 1735384] Re: OpenJDK JVM segfaults on qemu-sh4 (regression) 2017-11-30 23:25 ` John Paul Adrian Glaubitz @ 2017-12-03 15:52 ` Thomas Huth 2017-12-04 9:29 ` Alex Bennée 0 siblings, 1 reply; 18+ messages in thread From: Thomas Huth @ 2017-12-03 15:52 UTC (permalink / raw) To: Bug 1735384, qemu-devel, Alex Bennée Cc: Richard Henderson, Laurent Vivier On 01.12.2017 00:25, John Paul Adrian Glaubitz wrote: > The offending commit is: > > d25f2a72272b9ffe0d06710d6217d1169bc2cc7d is the first bad commit > commit d25f2a72272b9ffe0d06710d6217d1169bc2cc7d > Author: Alex Bennée <alex.bennee@linaro.org> > Date: Mon Nov 13 13:55:27 2017 +0000 > > accel/tcg/translate-all: expand cpu_restore_state addr check > > We are still seeing signals during translation time when we walk over > a page protection boundary. This expands the check to ensure the host > PC is inside the code generation buffer. The original suggestion was > to check versus tcg_ctx.code_gen_ptr but as we now segment the > translation buffer we have to settle for just a general check for > being inside. > > I've also fixed up the declaration to make it clear it can deal with > invalid addresses. A later patch will fix up the call sites. > > Signed-off-by: Alex Bennée <alex.bennee@linaro.org> > Reported-by: Peter Maydell <peter.maydell@linaro.org> > Reviewed-by: Laurent Vivier <laurent@vivier.eu> > Reviewed-by: Richard Henderson <richard.henderson@linaro.org> > Message-id: 20171108153245.20740-2-alex.bennee@linaro.org > Suggested-by: Paolo Bonzini <pbonzini@redhat.com> > Cc: Richard Henderson <rth@twiddle.net> > Tested-by: Peter Maydell <peter.maydell@linaro.org> > Signed-off-by: Peter Maydell <peter.maydell@linaro.org> > > :040000 040000 da50c4c43089d3ee7d1e9ad50d3c9036114e5f11 cd6a0dcaa1d284fe5439f6f3b61547d4b0662768 M accel > :040000 040000 c294a7c102d27295f8d81cc06b5d4d17357440ad 5a1268b7634f69f0806f22161ec7d6a1a26c8812 M include > > Reverting the commit resolves the issue. > Alex, any ideas what might be wrong here? Thomas ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] [Bug 1735384] Re: OpenJDK JVM segfaults on qemu-sh4 (regression) 2017-12-03 15:52 ` Thomas Huth @ 2017-12-04 9:29 ` Alex Bennée 2017-12-04 11:53 ` John Paul Adrian Glaubitz 0 siblings, 1 reply; 18+ messages in thread From: Alex Bennée @ 2017-12-04 9:29 UTC (permalink / raw) To: Thomas Huth; +Cc: Bug 1735384, qemu-devel, Richard Henderson, Laurent Vivier Thomas Huth <huth@tuxfamily.org> writes: > On 01.12.2017 00:25, John Paul Adrian Glaubitz wrote: >> The offending commit is: >> >> d25f2a72272b9ffe0d06710d6217d1169bc2cc7d is the first bad commit >> commit d25f2a72272b9ffe0d06710d6217d1169bc2cc7d >> Author: Alex Bennée <alex.bennee@linaro.org> >> Date: Mon Nov 13 13:55:27 2017 +0000 >> >> accel/tcg/translate-all: expand cpu_restore_state addr check >> >> We are still seeing signals during translation time when we walk over >> a page protection boundary. This expands the check to ensure the host >> PC is inside the code generation buffer. The original suggestion was >> to check versus tcg_ctx.code_gen_ptr but as we now segment the >> translation buffer we have to settle for just a general check for >> being inside. >> >> I've also fixed up the declaration to make it clear it can deal with >> invalid addresses. A later patch will fix up the call sites. >> >> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> >> Reported-by: Peter Maydell <peter.maydell@linaro.org> >> Reviewed-by: Laurent Vivier <laurent@vivier.eu> >> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> >> Message-id: 20171108153245.20740-2-alex.bennee@linaro.org >> Suggested-by: Paolo Bonzini <pbonzini@redhat.com> >> Cc: Richard Henderson <rth@twiddle.net> >> Tested-by: Peter Maydell <peter.maydell@linaro.org> >> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> >> >> :040000 040000 da50c4c43089d3ee7d1e9ad50d3c9036114e5f11 cd6a0dcaa1d284fe5439f6f3b61547d4b0662768 M accel >> :040000 040000 c294a7c102d27295f8d81cc06b5d4d17357440ad 5a1268b7634f69f0806f22161ec7d6a1a26c8812 M include >> >> Reverting the commit resolves the issue. >> > > Alex, any ideas what might be wrong here? It's hard to imagine a scenario where taking the tb_lock() for resolving something that will fail is going to be an improvement. However maybe there is a subtle difference with sh4's javavm implementation. A backtrace QEMU after the segv would be useful here. -- Alex Bennée ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] [Bug 1735384] Re: OpenJDK JVM segfaults on qemu-sh4 (regression) 2017-12-04 9:29 ` Alex Bennée @ 2017-12-04 11:53 ` John Paul Adrian Glaubitz 2017-12-04 13:39 ` Alex Bennée 0 siblings, 1 reply; 18+ messages in thread From: John Paul Adrian Glaubitz @ 2017-12-04 11:53 UTC (permalink / raw) To: qemu-devel On 12/04/2017 10:29 AM, Alex Bennée wrote: > It's hard to imagine a scenario where taking the tb_lock() for resolving > something that will fail is going to be an improvement. However maybe > there is a subtle difference with sh4's javavm implementation. So, OpenJDK doesn't have a SH-specific implementation of the JVM, it just uses the Zero variant, which is a pure C++ implementation of the JVM. The same implementation is used on any other architecture like older ARM (< ARMv7). I just tested it on ARMv4T and it doesn't crash there on qemu-user. However, SH4 is special due to its implementation of atomics in user space called gUSA for which support to qemu-user has been recently added by Richard Hendersson. Maybe the problem lies there. > A backtrace QEMU after the segv would be useful here. I forgot what the proper procedure is for running qemu-user inside GDB. Could you help me with that? The strace looks like this in any case: 28856 access("/etc/ld.so.nohwcap",F_OK) = -1 errno=2 (No such file or directory) 28856 open("/lib/sh4-linux-gnu/libgcc_s.so.1",O_RDONLY|O_CLOEXEC) = 3 28856 read(3,0x7fffacd4,512) = 512 28856 fstat64(3,0x7fffabe8) = 0 28856 mmap(NULL,189084,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x7ee27000 28856 mprotect(0x7ee45000,61440,PROT_NONE) = 0 28856 mmap(0x7ee54000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1d000) = 0x7ee54000 28856 close(3) = 0 28856 mprotect(0x7ee54000,4096,PROT_READ) = 0 28856 mprotect(0x7eee8000,4096,PROT_READ) = 0 28856 mprotect(0x7f05c000,20480,PROT_READ) = 0 28856 mprotect(0x7f5c8000,53248,PROT_READ) = 0 28856 getpid() = 28856 28856 munmap(0x7f065000,50134) = 0 28856 getpid() = 28856 28856 mmap(NULL,1572864,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x20000,-1,0) = 0x7eca7000 28856 mprotect(0x7eca7000,4096,PROT_NONE) = 0 28856 clone(CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,child_stack=0x7ee26048,parent_tidptr=0x7ee26528,tls=0x7ee26930,child_tidptr=0x7ee26528) = 28860 28856 futex(0x7ee26528,FUTEX_WAIT,28860,NULL,0x7f77c6e8,2138556136)28856 set_robust_list(2128766256,12,-1,2128766652,-1,2128764832) = -1 errno=38 (Function not implemented) --- SIGSEGV {si_signo=SIGSEGV, si_code=1, si_addr=0x289da000} --- qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (sid-sh4-sbuild)root@nofan:/local_scratch/sid-sh4-sbuild# Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@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/1735384 Title: OpenJDK JVM segfaults on qemu-sh4 (regression) Status in QEMU: New Bug description: Some of the recent changes introduced a regression which makes the OpenJDK JVM crash on qemu-sh4: (sid-sh4-sbuild)root@nofan:/# java -version qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (sid-sh4-sbuild)root@nofan:/# An older version works fine: (sid-sh4-sbuild)root@nofan:/# java -version openjdk version "9.0.1" OpenJDK Runtime Environment (build 9.0.1+11-Debian-1) OpenJDK Zero VM (build 9.0.1+11-Debian-1, interpreted mode) (sid-sh4-sbuild)root@nofan:/# Haven't had time for bisecting this yet. Adrian To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1735384/+subscriptions ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] [Bug 1735384] Re: OpenJDK JVM segfaults on qemu-sh4 (regression) 2017-12-04 11:53 ` John Paul Adrian Glaubitz @ 2017-12-04 13:39 ` Alex Bennée 0 siblings, 0 replies; 18+ messages in thread From: Alex Bennée @ 2017-12-04 13:39 UTC (permalink / raw) To: Bug 1735384; +Cc: qemu-devel John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> writes: > On 12/04/2017 10:29 AM, Alex Bennée wrote: >> It's hard to imagine a scenario where taking the tb_lock() for resolving >> something that will fail is going to be an improvement. However maybe >> there is a subtle difference with sh4's javavm implementation. > > So, OpenJDK doesn't have a SH-specific implementation of the JVM, it just > uses the Zero variant, which is a pure C++ implementation of the JVM. > > The same implementation is used on any other architecture like older ARM > (< ARMv7). I just tested it on ARMv4T and it doesn't crash there on > qemu-user. > > However, SH4 is special due to its implementation of atomics in user > space called gUSA for which support to qemu-user has been recently > added by Richard Hendersson. Maybe the problem lies there. > >> A backtrace QEMU after the segv would be useful here. > > I forgot what the proper procedure is for running qemu-user inside > GDB. Could you help me with that? Either call directly: gdb --args qemu-foo <userspace args> Or alternatively: qemu-foo -g 1234 <userspace args> And then: gdb qemu-foo -p <pid of qemu-foo> And finally attaching to the gdbstub: gdb-multiarch -ex "target remote localhost:1234" c Or just make sure your environment is generating core dumps you can backtrace at leisure: gdb qemu-foo core bt > > The strace looks like this in any case: > > 28856 access("/etc/ld.so.nohwcap",F_OK) = -1 errno=2 (No such file or directory) > 28856 open("/lib/sh4-linux-gnu/libgcc_s.so.1",O_RDONLY|O_CLOEXEC) = 3 > 28856 read(3,0x7fffacd4,512) = 512 > 28856 fstat64(3,0x7fffabe8) = 0 > 28856 mmap(NULL,189084,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x7ee27000 > 28856 mprotect(0x7ee45000,61440,PROT_NONE) = 0 > 28856 mmap(0x7ee54000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1d000) = 0x7ee54000 > 28856 close(3) = 0 > 28856 mprotect(0x7ee54000,4096,PROT_READ) = 0 > 28856 mprotect(0x7eee8000,4096,PROT_READ) = 0 > 28856 mprotect(0x7f05c000,20480,PROT_READ) = 0 > 28856 mprotect(0x7f5c8000,53248,PROT_READ) = 0 > 28856 getpid() = 28856 > 28856 munmap(0x7f065000,50134) = 0 > 28856 getpid() = 28856 > 28856 mmap(NULL,1572864,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x20000,-1,0) = 0x7eca7000 > 28856 mprotect(0x7eca7000,4096,PROT_NONE) = 0 > 28856 clone(CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,child_stack=0x7ee26048,parent_tidptr=0x7ee26528,tls=0x7ee26930,child_tidptr=0x7ee26528) = 28860 > 28856 futex(0x7ee26528,FUTEX_WAIT,28860,NULL,0x7f77c6e8,2138556136)28856 set_robust_list(2128766256,12,-1,2128766652,-1,2128764832) = -1 errno=38 (Function not implemented) > --- SIGSEGV {si_signo=SIGSEGV, si_code=1, si_addr=0x289da000} --- > qemu: uncaught target signal 11 (Segmentation fault) - core dumped > Segmentation fault > (sid-sh4-sbuild)root@nofan:/local_scratch/sid-sh4-sbuild# > > Adrian > > -- > .''`. John Paul Adrian Glaubitz > : :' : Debian Developer - glaubitz@debian.org > `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de > `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 -- Alex Bennée ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] [Bug 1735384] [NEW] OpenJDK JVM segfaults on qemu-sh4 (regression) 2017-11-30 10:19 [Qemu-devel] [Bug 1735384] [NEW] OpenJDK JVM segfaults on qemu-sh4 (regression) John Paul Adrian Glaubitz 2017-11-30 12:19 ` [Qemu-devel] [Bug 1735384] " Peter Maydell @ 2017-12-05 15:02 ` Alex Bennée 2017-12-05 15:11 ` John Paul Adrian Glaubitz 2017-12-06 9:30 ` [Qemu-devel] [RFC PATCH] target/sh4/translate.c: fix TCG leak during gusa sequence Alex Bennée 2018-12-14 12:33 ` [Qemu-devel] [Bug 1735384] Re: OpenJDK JVM segfaults on qemu-sh4 (regression) John Paul Adrian Glaubitz 3 siblings, 1 reply; 18+ messages in thread From: Alex Bennée @ 2017-12-05 15:02 UTC (permalink / raw) To: Bug 1735384; +Cc: qemu-devel John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> writes: > Public bug reported: > > Some of the recent changes introduced a regression which makes the > OpenJDK JVM crash on qemu-sh4: > > (sid-sh4-sbuild)root@nofan:/# java -version > qemu: uncaught target signal 11 (Segmentation fault) - core dumped > Segmentation fault > (sid-sh4-sbuild)root@nofan:/# With an --enable-debug build I managed to replicate: root@6e10336e48ac:/etc/apt# java --version qemu-sh4: /home/alex/lsrc/qemu/qemu.git/tcg/tcg.h:703: temp_idx: Assertion `n >= 0 && n < tcg_ctx->nb_temps' failed. qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (core dumped) Which implies the front end has gotten something wrong. Maybe this somehow tripped up the fault resolution in the end? Can you try with an --enable-debug build? > > An older version works fine: > > (sid-sh4-sbuild)root@nofan:/# java -version > openjdk version "9.0.1" > OpenJDK Runtime Environment (build 9.0.1+11-Debian-1) > OpenJDK Zero VM (build 9.0.1+11-Debian-1, interpreted mode) > (sid-sh4-sbuild)root@nofan:/# > > Haven't had time for bisecting this yet. > > Adrian > > ** Affects: qemu > Importance: Undecided > Status: New -- Alex Bennée ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] [Bug 1735384] [NEW] OpenJDK JVM segfaults on qemu-sh4 (regression) 2017-12-05 15:02 ` [Qemu-devel] [Bug 1735384] [NEW] " Alex Bennée @ 2017-12-05 15:11 ` John Paul Adrian Glaubitz 0 siblings, 0 replies; 18+ messages in thread From: John Paul Adrian Glaubitz @ 2017-12-05 15:11 UTC (permalink / raw) To: qemu-devel On 12/05/2017 04:02 PM, Alex Bennée wrote: > With an --enable-debug build I managed to replicate: > > root@6e10336e48ac:/etc/apt# java --version > qemu-sh4: /home/alex/lsrc/qemu/qemu.git/tcg/tcg.h:703: temp_idx: Assertion `n >= 0 && n < tcg_ctx->nb_temps' failed. > qemu: uncaught target signal 11 (Segmentation fault) - core dumped > Segmentation fault (core dumped) > > Which implies the front end has gotten something wrong. Maybe this > somehow tripped up the fault resolution in the end? Can you try with an > --enable-debug build? Will do. Thank you for giving me a heads-up! Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@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/1735384 Title: OpenJDK JVM segfaults on qemu-sh4 (regression) Status in QEMU: New Bug description: Some of the recent changes introduced a regression which makes the OpenJDK JVM crash on qemu-sh4: (sid-sh4-sbuild)root@nofan:/# java -version qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (sid-sh4-sbuild)root@nofan:/# An older version works fine: (sid-sh4-sbuild)root@nofan:/# java -version openjdk version "9.0.1" OpenJDK Runtime Environment (build 9.0.1+11-Debian-1) OpenJDK Zero VM (build 9.0.1+11-Debian-1, interpreted mode) (sid-sh4-sbuild)root@nofan:/# Haven't had time for bisecting this yet. Adrian To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1735384/+subscriptions ^ permalink raw reply [flat|nested] 18+ messages in thread
* [Qemu-devel] [RFC PATCH] target/sh4/translate.c: fix TCG leak during gusa sequence @ 2017-12-06 9:30 ` Alex Bennée 2017-12-06 9:45 ` [Qemu-devel] [Bug 1735384] " John Paul Adrian Glaubitz ` (3 more replies) 0 siblings, 4 replies; 18+ messages in thread From: Alex Bennée @ 2017-12-06 9:30 UTC (permalink / raw) To: qemu-devel; +Cc: 1735384, Alex Bennée, Aurelien Jarno This fixes bug #1735384 while running java under qemu-sh4. When debug was enabled it showed a problem with TCG temps. Once fixed I was able to run java -version normally. Reported-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Suggested-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> --- target/sh4/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/sh4/translate.c b/target/sh4/translate.c index 703020fe87..b4b5c822d0 100644 --- a/target/sh4/translate.c +++ b/target/sh4/translate.c @@ -2189,7 +2189,7 @@ static int decode_gusa(DisasContext *ctx, CPUSH4State *env, int *pmax_insns) } /* If op_src is not a valid register, then op_arg was a constant. */ - if (op_src < 0) { + if (op_src < 0 && !TCGV_IS_UNUSED(op_arg)) { tcg_temp_free_i32(op_arg); } -- 2.15.1 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] [Bug 1735384] [RFC PATCH] target/sh4/translate.c: fix TCG leak during gusa sequence 2017-12-06 9:30 ` [Qemu-devel] [RFC PATCH] target/sh4/translate.c: fix TCG leak during gusa sequence Alex Bennée @ 2017-12-06 9:45 ` John Paul Adrian Glaubitz 2017-12-06 10:52 ` Alex Bennée 2017-12-06 10:22 ` John Paul Adrian Glaubitz ` (2 subsequent siblings) 3 siblings, 1 reply; 18+ messages in thread From: John Paul Adrian Glaubitz @ 2017-12-06 9:45 UTC (permalink / raw) To: qemu-devel Hi Alex! Wow, thanks! I wanted to run your suggested test today as I ran out of time yesterday and now you already fixed it :-). Thanks a lot! Adrian > On Dec 6, 2017, at 10:30 AM, Alex Bennée <alex.bennee@linaro.org> wrote: > > This fixes bug #1735384 while running java under qemu-sh4. When debug > was enabled it showed a problem with TCG temps. Once fixed I was able > to run java -version normally. > > Reported-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> > Suggested-by: Richard Henderson <richard.henderson@linaro.org> > Signed-off-by: Alex Bennée <alex.bennee@linaro.org> > --- > target/sh4/translate.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/target/sh4/translate.c b/target/sh4/translate.c > index 703020fe87..b4b5c822d0 100644 > --- a/target/sh4/translate.c > +++ b/target/sh4/translate.c > @@ -2189,7 +2189,7 @@ static int decode_gusa(DisasContext *ctx, CPUSH4State *env, int *pmax_insns) > } > > /* If op_src is not a valid register, then op_arg was a constant. */ > - if (op_src < 0) { > + if (op_src < 0 && !TCGV_IS_UNUSED(op_arg)) { > tcg_temp_free_i32(op_arg); > } > > -- > 2.15.1 > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1735384 > > Title: > OpenJDK JVM segfaults on qemu-sh4 (regression) > > Status in QEMU: > New > > Bug description: > Some of the recent changes introduced a regression which makes the > OpenJDK JVM crash on qemu-sh4: > > (sid-sh4-sbuild)root@nofan:/# java -version > qemu: uncaught target signal 11 (Segmentation fault) - core dumped > Segmentation fault > (sid-sh4-sbuild)root@nofan:/# > > An older version works fine: > > (sid-sh4-sbuild)root@nofan:/# java -version > openjdk version "9.0.1" > OpenJDK Runtime Environment (build 9.0.1+11-Debian-1) > OpenJDK Zero VM (build 9.0.1+11-Debian-1, interpreted mode) > (sid-sh4-sbuild)root@nofan:/# > > Haven't had time for bisecting this yet. > > Adrian > > To manage notifications about this bug go to: > https://bugs.launchpad.net/qemu/+bug/1735384/+subscriptions -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1735384 Title: OpenJDK JVM segfaults on qemu-sh4 (regression) Status in QEMU: New Bug description: Some of the recent changes introduced a regression which makes the OpenJDK JVM crash on qemu-sh4: (sid-sh4-sbuild)root@nofan:/# java -version qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (sid-sh4-sbuild)root@nofan:/# An older version works fine: (sid-sh4-sbuild)root@nofan:/# java -version openjdk version "9.0.1" OpenJDK Runtime Environment (build 9.0.1+11-Debian-1) OpenJDK Zero VM (build 9.0.1+11-Debian-1, interpreted mode) (sid-sh4-sbuild)root@nofan:/# Haven't had time for bisecting this yet. Adrian To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1735384/+subscriptions ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] [Bug 1735384] [RFC PATCH] target/sh4/translate.c: fix TCG leak during gusa sequence 2017-12-06 9:45 ` [Qemu-devel] [Bug 1735384] " John Paul Adrian Glaubitz @ 2017-12-06 10:52 ` Alex Bennée 2017-12-06 11:37 ` John Paul Adrian Glaubitz 0 siblings, 1 reply; 18+ messages in thread From: Alex Bennée @ 2017-12-06 10:52 UTC (permalink / raw) To: Bug 1735384; +Cc: qemu-devel John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> writes: > Hi Alex! > > Wow, thanks! I wanted to run your suggested test today as I ran out of > time yesterday and now you already fixed it :-). Can you confirm you've tested it and your happy it works? > > Thanks a lot! > > Adrian > >> On Dec 6, 2017, at 10:30 AM, Alex Bennée <alex.bennee@linaro.org> wrote: >> >> This fixes bug #1735384 while running java under qemu-sh4. When debug >> was enabled it showed a problem with TCG temps. Once fixed I was able >> to run java -version normally. >> >> Reported-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> >> Suggested-by: Richard Henderson <richard.henderson@linaro.org> >> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> >> --- >> target/sh4/translate.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/target/sh4/translate.c b/target/sh4/translate.c >> index 703020fe87..b4b5c822d0 100644 >> --- a/target/sh4/translate.c >> +++ b/target/sh4/translate.c >> @@ -2189,7 +2189,7 @@ static int decode_gusa(DisasContext *ctx, CPUSH4State *env, int *pmax_insns) >> } >> >> /* If op_src is not a valid register, then op_arg was a constant. */ >> - if (op_src < 0) { >> + if (op_src < 0 && !TCGV_IS_UNUSED(op_arg)) { >> tcg_temp_free_i32(op_arg); >> } >> >> -- >> 2.15.1 >> >> -- >> You received this bug notification because you are subscribed to the bug >> report. >> https://bugs.launchpad.net/bugs/1735384 >> >> Title: >> OpenJDK JVM segfaults on qemu-sh4 (regression) >> >> Status in QEMU: >> New >> >> Bug description: >> Some of the recent changes introduced a regression which makes the >> OpenJDK JVM crash on qemu-sh4: >> >> (sid-sh4-sbuild)root@nofan:/# java -version >> qemu: uncaught target signal 11 (Segmentation fault) - core dumped >> Segmentation fault >> (sid-sh4-sbuild)root@nofan:/# >> >> An older version works fine: >> >> (sid-sh4-sbuild)root@nofan:/# java -version >> openjdk version "9.0.1" >> OpenJDK Runtime Environment (build 9.0.1+11-Debian-1) >> OpenJDK Zero VM (build 9.0.1+11-Debian-1, interpreted mode) >> (sid-sh4-sbuild)root@nofan:/# >> >> Haven't had time for bisecting this yet. >> >> Adrian >> >> To manage notifications about this bug go to: >> https://bugs.launchpad.net/qemu/+bug/1735384/+subscriptions -- Alex Bennée ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] [Bug 1735384] [RFC PATCH] target/sh4/translate.c: fix TCG leak during gusa sequence 2017-12-06 10:52 ` Alex Bennée @ 2017-12-06 11:37 ` John Paul Adrian Glaubitz 0 siblings, 0 replies; 18+ messages in thread From: John Paul Adrian Glaubitz @ 2017-12-06 11:37 UTC (permalink / raw) To: qemu-devel On 12/06/2017 11:52 AM, Alex Bennée wrote: >> Wow, thanks! I wanted to run your suggested test today as I ran out of >> time yesterday and now you already fixed it :-). > > Can you confirm you've tested it and your happy it works? I already confirmed it, but in case my previous mail got lost: Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> And, yes, I'm happy it works :-). Can now switch back to using the latest qemu snapshot for building packages for Debian sh4. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@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/1735384 Title: OpenJDK JVM segfaults on qemu-sh4 (regression) Status in QEMU: New Bug description: Some of the recent changes introduced a regression which makes the OpenJDK JVM crash on qemu-sh4: (sid-sh4-sbuild)root@nofan:/# java -version qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (sid-sh4-sbuild)root@nofan:/# An older version works fine: (sid-sh4-sbuild)root@nofan:/# java -version openjdk version "9.0.1" OpenJDK Runtime Environment (build 9.0.1+11-Debian-1) OpenJDK Zero VM (build 9.0.1+11-Debian-1, interpreted mode) (sid-sh4-sbuild)root@nofan:/# Haven't had time for bisecting this yet. Adrian To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1735384/+subscriptions ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] [Bug 1735384] [RFC PATCH] target/sh4/translate.c: fix TCG leak during gusa sequence 2017-12-06 9:30 ` [Qemu-devel] [RFC PATCH] target/sh4/translate.c: fix TCG leak during gusa sequence Alex Bennée 2017-12-06 9:45 ` [Qemu-devel] [Bug 1735384] " John Paul Adrian Glaubitz @ 2017-12-06 10:22 ` John Paul Adrian Glaubitz 2017-12-06 14:15 ` [Qemu-devel] " Richard Henderson 2017-12-06 22:33 ` Aurelien Jarno 3 siblings, 0 replies; 18+ messages in thread From: John Paul Adrian Glaubitz @ 2017-12-06 10:22 UTC (permalink / raw) To: qemu-devel On 12/06/2017 10:30 AM, Alex Bennée wrote: > This fixes bug #1735384 while running java under qemu-sh4. When debug > was enabled it showed a problem with TCG temps. Once fixed I was able > to run java -version normally. > > Reported-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> > Suggested-by: Richard Henderson <richard.henderson@linaro.org> > Signed-off-by: Alex Bennée <alex.bennee@linaro.org> I can confirm that this fixes the issue for me, too. So, just in case: Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@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/1735384 Title: OpenJDK JVM segfaults on qemu-sh4 (regression) Status in QEMU: New Bug description: Some of the recent changes introduced a regression which makes the OpenJDK JVM crash on qemu-sh4: (sid-sh4-sbuild)root@nofan:/# java -version qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (sid-sh4-sbuild)root@nofan:/# An older version works fine: (sid-sh4-sbuild)root@nofan:/# java -version openjdk version "9.0.1" OpenJDK Runtime Environment (build 9.0.1+11-Debian-1) OpenJDK Zero VM (build 9.0.1+11-Debian-1, interpreted mode) (sid-sh4-sbuild)root@nofan:/# Haven't had time for bisecting this yet. Adrian To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1735384/+subscriptions ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] [RFC PATCH] target/sh4/translate.c: fix TCG leak during gusa sequence 2017-12-06 9:30 ` [Qemu-devel] [RFC PATCH] target/sh4/translate.c: fix TCG leak during gusa sequence Alex Bennée 2017-12-06 9:45 ` [Qemu-devel] [Bug 1735384] " John Paul Adrian Glaubitz 2017-12-06 10:22 ` John Paul Adrian Glaubitz @ 2017-12-06 14:15 ` Richard Henderson 2017-12-06 22:33 ` Aurelien Jarno 3 siblings, 0 replies; 18+ messages in thread From: Richard Henderson @ 2017-12-06 14:15 UTC (permalink / raw) To: Alex Bennée, qemu-devel; +Cc: Aurelien Jarno, 1735384, qemu-stable On 12/06/2017 01:30 AM, Alex Bennée wrote: > This fixes bug #1735384 while running java under qemu-sh4. When debug > was enabled it showed a problem with TCG temps. Once fixed I was able > to run java -version normally. > > Reported-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> > Suggested-by: Richard Henderson <richard.henderson@linaro.org> > Signed-off-by: Alex Bennée <alex.bennee@linaro.org> > --- Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Cc: stable, as the bug is present in 2.10 too. r~ > target/sh4/translate.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/target/sh4/translate.c b/target/sh4/translate.c > index 703020fe87..b4b5c822d0 100644 > --- a/target/sh4/translate.c > +++ b/target/sh4/translate.c > @@ -2189,7 +2189,7 @@ static int decode_gusa(DisasContext *ctx, CPUSH4State *env, int *pmax_insns) > } > > /* If op_src is not a valid register, then op_arg was a constant. */ > - if (op_src < 0) { > + if (op_src < 0 && !TCGV_IS_UNUSED(op_arg)) { > tcg_temp_free_i32(op_arg); > } > > ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] [RFC PATCH] target/sh4/translate.c: fix TCG leak during gusa sequence 2017-12-06 9:30 ` [Qemu-devel] [RFC PATCH] target/sh4/translate.c: fix TCG leak during gusa sequence Alex Bennée ` (2 preceding siblings ...) 2017-12-06 14:15 ` [Qemu-devel] " Richard Henderson @ 2017-12-06 22:33 ` Aurelien Jarno 3 siblings, 0 replies; 18+ messages in thread From: Aurelien Jarno @ 2017-12-06 22:33 UTC (permalink / raw) To: Alex Bennée; +Cc: qemu-devel, 1735384 On 2017-12-06 09:30, Alex Bennée wrote: > This fixes bug #1735384 while running java under qemu-sh4. When debug > was enabled it showed a problem with TCG temps. Once fixed I was able > to run java -version normally. > > Reported-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> > Suggested-by: Richard Henderson <richard.henderson@linaro.org> > Signed-off-by: Alex Bennée <alex.bennee@linaro.org> > --- > target/sh4/translate.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/target/sh4/translate.c b/target/sh4/translate.c > index 703020fe87..b4b5c822d0 100644 > --- a/target/sh4/translate.c > +++ b/target/sh4/translate.c > @@ -2189,7 +2189,7 @@ static int decode_gusa(DisasContext *ctx, CPUSH4State *env, int *pmax_insns) > } > > /* If op_src is not a valid register, then op_arg was a constant. */ > - if (op_src < 0) { > + if (op_src < 0 && !TCGV_IS_UNUSED(op_arg)) { > tcg_temp_free_i32(op_arg); > } I guess this happens when trying to match the exchange pattern, so this looks correct to me. Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net ^ permalink raw reply [flat|nested] 18+ messages in thread
* [Qemu-devel] [Bug 1735384] Re: OpenJDK JVM segfaults on qemu-sh4 (regression) 2017-11-30 10:19 [Qemu-devel] [Bug 1735384] [NEW] OpenJDK JVM segfaults on qemu-sh4 (regression) John Paul Adrian Glaubitz ` (2 preceding siblings ...) 2017-12-06 9:30 ` [Qemu-devel] [RFC PATCH] target/sh4/translate.c: fix TCG leak during gusa sequence Alex Bennée @ 2018-12-14 12:33 ` John Paul Adrian Glaubitz 3 siblings, 0 replies; 18+ messages in thread From: John Paul Adrian Glaubitz @ 2018-12-14 12:33 UTC (permalink / raw) To: qemu-devel This has been fixed now and Java works fine again on qemu-sh4 on git master: (sid-sh4-sbuild)root@nofan:/# java --version openjdk 10 2018-03-20 OpenJDK Runtime Environment (build 10+46-Debian-5) OpenJDK Zero VM (build 10+46-Debian-5, interpreted mode) (sid-sh4-sbuild)root@nofan:/# ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1735384 Title: OpenJDK JVM segfaults on qemu-sh4 (regression) Status in QEMU: Fix Released Bug description: Some of the recent changes introduced a regression which makes the OpenJDK JVM crash on qemu-sh4: (sid-sh4-sbuild)root@nofan:/# java -version qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (sid-sh4-sbuild)root@nofan:/# An older version works fine: (sid-sh4-sbuild)root@nofan:/# java -version openjdk version "9.0.1" OpenJDK Runtime Environment (build 9.0.1+11-Debian-1) OpenJDK Zero VM (build 9.0.1+11-Debian-1, interpreted mode) (sid-sh4-sbuild)root@nofan:/# Haven't had time for bisecting this yet. Adrian To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1735384/+subscriptions ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2018-12-14 12:41 UTC | newest] Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-11-30 10:19 [Qemu-devel] [Bug 1735384] [NEW] OpenJDK JVM segfaults on qemu-sh4 (regression) John Paul Adrian Glaubitz 2017-11-30 12:19 ` [Qemu-devel] [Bug 1735384] " Peter Maydell 2017-11-30 12:39 ` John Paul Adrian Glaubitz 2017-11-30 23:25 ` John Paul Adrian Glaubitz 2017-12-03 15:52 ` Thomas Huth 2017-12-04 9:29 ` Alex Bennée 2017-12-04 11:53 ` John Paul Adrian Glaubitz 2017-12-04 13:39 ` Alex Bennée 2017-12-05 15:02 ` [Qemu-devel] [Bug 1735384] [NEW] " Alex Bennée 2017-12-05 15:11 ` John Paul Adrian Glaubitz 2017-12-06 9:30 ` [Qemu-devel] [RFC PATCH] target/sh4/translate.c: fix TCG leak during gusa sequence Alex Bennée 2017-12-06 9:45 ` [Qemu-devel] [Bug 1735384] " John Paul Adrian Glaubitz 2017-12-06 10:52 ` Alex Bennée 2017-12-06 11:37 ` John Paul Adrian Glaubitz 2017-12-06 10:22 ` John Paul Adrian Glaubitz 2017-12-06 14:15 ` [Qemu-devel] " Richard Henderson 2017-12-06 22:33 ` Aurelien Jarno 2018-12-14 12:33 ` [Qemu-devel] [Bug 1735384] Re: OpenJDK JVM segfaults on qemu-sh4 (regression) John Paul Adrian Glaubitz
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.