New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EXCEPTION_ACCESS_VIOLATION when starting application with parameters #1222
Comments
Are you able to try the adoptopenjdk.net/upstream.html builds instead and report back here? |
From what I can see it doesn't make a difference. Further information that may help:
|
Interesting OK so looks like a genuine upstream bug. |
We are running into the same issue, currently on multiple machines with different versions of Windows 10 (1709+) and with AdoptOpenJDK 11.0.3, 11.0.4 and 11.0.5 as well as the current OpenJDK 11+28 and the Zulu JDK 11. We investigated it a bit further as it is a bigger blocker for development and have some additional insights and even a workaround that seems to solve it, for us at least. It seems to be related to the combination of an @argumentFile that contains the classpath and giving program arguments afterwards. Without parameters it did not happen, same if there was no argument file. Also it seems to correlate with the size of the argument file contents or arguments in how reliably it happens. For us the main point to dig further was that it only happens to Eclipse users in our organisation and not to IntelliJ IDEA users. Also with the Commandline used by Eclipse as mentioned above it happens also when invoked from outside Eclipse whereas with the IntelliJ Commandline it doesn't happen outside Eclipse. The difference here seems to be that Eclipse JDT generates and argument file as a single line without a linebreaks, Eclipse IntelliJ So the issue seems to be that in combination with the number/size of program arguments and the size of the argumentfile, if the argumentFile has no newline at the end the JVM reads past the end into memory it is not allowed to read. There seems to already be an upstream issue at JDK-8231863. So I mainly documented it here for people also hitting this issue. |
This still exists! I just encountered it with Eclipse 20181214-0600 and the OpenJDK jdk-11.0.7+10 (Windows, 64 bit). It makes no difference, whether I launch the program in debug-mode or not. I always get:
Here's the log mentioned in the above message: If I do not configure any program arguments, it works. VM arguments seem to be irrelevant. Can/should I reopen this issue? It seems impossible to reopen. Or should I create a new issue? |
See my comment in #1713 ;) |
We are currently moving from oracle jdk 8 to openjdk 12, but we hit a road block.
When we start our application with parameters most of the time >90% we directly get an EXCEPTION_ACCESS_VIOLATION crash in the jvm.dll. Even before the first line of our code is executed. Starting without parameter works, but also not 100% (jvm just terminates without any error).
This happens with the current JDK 11 and 12 builds. JDK 8 works fine.
hs_err_pid14528.log
Update:
Some additional notes:
The text was updated successfully, but these errors were encountered: