adoptium-support icon indicating copy to clipboard operation
adoptium-support copied to clipboard

EXCEPTION_ACCESS_VIOLATION: jvm.dll

Open ivy-lmu opened this issue 1 year ago • 2 comments

Please provide a brief summary of the bug

This error occurs when using an Eclipse-based IDE. The error sometimes occurs on saving, but it is not reproducible.

Did you test with the latest update version?

  • [x] Yes

Please provide steps to reproduce where possible

No response

Expected Results

no jvm error expected

Actual Results

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffefa10c4f6, pid=16596, tid=12652

What Java Version are you using?

21.0.6+7

What is your operating system and platform?

Windows 11

How did you install Java?

No response

Did it work before?

yes

Did you test with other Java versions?


Relevant log output

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffefa10c4f6, pid=16596, tid=12652
#
# JRE version: OpenJDK Runtime Environment Temurin-21.0.6+7 (21.0.6+7) (build 21.0.6+7-LTS)
# Java VM: OpenJDK 64-Bit Server VM Temurin-21.0.6+7 (21.0.6+7-LTS, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# V  [jvm.dll+0xc4f6]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
#

---------------  S U M M A R Y ------------

Command Line: -XX:CompileCommand=exclude org.eclipse.jdt.internal.core.dom.rewrite.ASTRewriteAnalyzer::getExtendedRange -Xms256m -Dosgi.parentClassloader=ext -Dosgi.requiredJavaVersion=21 -da --add-modules=ALL-SYSTEM --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED --add-opens=java.sql/java.sql=ALL-UNNAMED --add-exports=java.xml/com.sun.org.apache.xpath.internal=ALL-UNNAMED --add-exports=java.xml/com.sun.org.apache.xpath.internal.objects=ALL-UNNAMED --add-exports=java.xml/com.sun.org.apache.xpath.internal.dom=ALL-UNNAMED --add-exports=java.xml/com.sun.org.apache.xml.internal.utils=ALL-UNNAMED --add-exports=java.desktop/sun.font=ALL-UNNAMED --add-exports=java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED -Xmx2g -agentlib:jdwp=transport=dt_socket,server=y,address=8014,suspend=n AxonIvyDesigner

Host: 12th Gen Intel(R) Core(TM) i7-1265U, 12 cores, 15G,  Windows 11 , 64 bit Build 26100 (10.0.26100.3624)
Time: Thu Apr  3 09:44:24 2025 Mitteleurop�ische Sommerzeit elapsed time: 9177.687107 seconds (0d 2h 32m 57s)

---------------  T H R E A D  ---------------

Current thread (0x00000208aba5c380):  WorkerThread "GC Thread#7"    [id=12652, stack(0x000000f48c500000,0x000000f48c600000) (1024K)]

Stack: [0x000000f48c500000,0x000000f48c600000],  sp=0x000000f48c5fe408,  free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0xc4f6]

JavaThread 0x00000208b2578500 (nid = 9060) was being processed
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  java.lang.invoke.DirectMethodHandle$Holder.invokeVirtual(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V+11 [email protected]
J 231993 c1 java.lang.invoke.LambdaForm$MH+0x0000000103cd0000.invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; [email protected] (57 bytes) @ 0x0000020899cd4284 [0x0000020899cd3b20+0x0000000000000764]
J 120333 c2 jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; [email protected] (92 bytes) @ 0x000002089fb0aff8 [0x000002089fb0ad80+0x0000000000000278]
J 227090 c1 ch.ivyteam.ivy.scripting.types.classmembers.impl.IvyJavaMethod.invokeImpl(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (135 bytes) @ 0x00000208976773d4 [0x0000020897676c80+0x0000000000000754]
J 219020 c1 ch.ivyteam.ivy.scripting.language.impl.IvyScriptEnginePerformer.visitControlInstructionInvoke(Lch/ivyteam/ivy/scripting/language/impl/ControlInstructionInvoke;)V (421 bytes) @ 0x0000020896e77f3c [0x0000020896e77180+0x0000000000000dbc]
J 227427 c1 ch.ivyteam.ivy.scripting.language.impl.ControlInstructionInvoke.acceptControlInstructionVisitor(Lch/ivyteam/ivy/scripting/language/impl/ControlInstructionVisitor;)V (8 bytes) @ 0x0000020897abfd64 [0x0000020897abfcc0+0x00000000000000a4]
J 230596 c2 ch.ivyteam.ivy.scripting.language.impl.ControlInstruction.acceptInstructionVisitor(Lch/ivyteam/ivy/scripting/language/search/impl/InstructionVisitor;)Ljava/lang/Object; (27 bytes) @ 0x00000208a2c90280 [0x00000208a2c90220+0x0000000000000060]

ivy-lmu avatar Apr 03 '25 13:04 ivy-lmu

Looks like you're doing some sort of AST transform or bytecode manipulsation?

ch.ivyteam.ivy.scripting.types.classmembers.impl.IvyJavaMethod.invokeImpl Is that correct?

karianna avatar Apr 04 '25 08:04 karianna

Looks like you're doing some sort of AST transform or bytecode manipulsation?

an eclipse-based tool is used, I assume that such things are done.

ch.ivyteam.ivy.scripting.types.classmembers.impl.IvyJavaMethod.invokeImpl Is that correct?

the implementation looks good. I do not assume that this is the cause of the problem. I am trying to collect more error reports.

ivy-lmu avatar Apr 04 '25 12:04 ivy-lmu

We are marking this issue as stale because it has not been updated for a while. This is just a way to keep the support issues queue manageable. It will be closed soon unless the stale label is removed by a committer, or a new comment is made.

github-actions[bot] avatar Sep 08 '25 00:09 github-actions[bot]