These are the args we use: --add-modules java.base,java.datatransfer,java.logging,java.naming,java.sql,java.desktop,java.xml,java.scripting,jdk.unsupported,java.prefs --compress 2 --no-man-pages --no-header-files --strip-debug
Tested with jdk-12.0.1+12 and got: # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000377, pid=1052, tid=2008 # # JRE version: (12.0.1+12) (build ) # Java VM: OpenJDK Server VM (12.0.1+12, mixed mode, emulated-client, g1 gc, windows-x86) # Problematic frame: # C 0x00000377 I'll try to find a 11.0.4 fastdebug binaries to test it.. Il giorno gio 18 lug 2019 alle ore 08:12 Alan Bateman < alan.bate...@oracle.com> ha scritto: > On 17/07/2019 13:37, Andrea Vacondio wrote: > > Hi, > > this was initially posted on AdoptJDK issue tracker here > > https://github.com/AdoptOpenJDK/openjdk-build/issues/1165 but after > > verified that it's also affecting Azul's Zulu, I was suggested to post > here. > > > > On a Windows 10 32 bits I have a script that does a jlink on the 32bits > jdk > > 11.0.3+7. When running 'java' on the resulting runtime I get a > > EXCEPTION_ACCESS_VIOLATION (attached to the issue in GitHub there is the > > error log). This doesn't happen if I run 'java' on the jdk. The same > script > > is used in a 64bits environment and everything works fine. > > Please let me know if you need further information, this constantly > > happens, I tried running the script multiple times and I got the same > > result. > > Andrea > Where is the script? I'm curious if it runs jlink with --compress=2. If > so then you may be running into JDK-8215123[1] which is a calling > convention issue specific to Windows 32-bit. It was fixed for JDK 12 so > would be good to test with a JDK 12 or JDK 13 EA build to see if you > still run into issues. > > -Alan. > > [1] https://bugs.openjdk.java.net/browse/JDK-8215123 >