Open
Description
When i'm using gradle to build the project, the jvm crashes on native-platform-file-events.dll. I see there were several similar issues, but none of them can solve my problem.
Command Line: --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xms256m -Xmx512m -Dfile.encoding=GBK -Duser.country=CN -Duser.language=zh -Duser.variant org.gradle.launcher.daemon.bootstrap.GradleDaemon 7.4
Host: Intel(R) Core(TM) i7-10700KF CPU @ 3.80GHz, 16 cores, 31G, Windows 11 , 64 bit Build 22621 (10.0.22621.2428)
Time: Tue Nov 28 22:15:50 2023 Windows 11 , 64 bit Build 22621 (10.0.22621.2428) elapsed time: 6.817097 seconds (0d 0h 0m 6s)
--------------- T H R E A D ---------------
Current thread (0x0000019e66779b30): JavaThread "File watcher server" daemon [_thread_in_native, id=9532, stack(0x0000003087000000,0x0000003087100000)]
Stack: [0x0000003087000000,0x0000003087100000], sp=0x00000030870fe3c0, free space=1016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [native-platform-file-events.dll+0x37038]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j net.rubygrapefruit.platform.internal.jni.AbstractFileEventFunctions$NativeFileWatcher.executeRunLoop0(Ljava/lang/Object;)V+0
j net.rubygrapefruit.platform.internal.jni.AbstractFileEventFunctions$NativeFileWatcher.access$100(Lnet/rubygrapefruit/platform/internal/jni/AbstractFileEventFunctions$NativeFileWatcher;Ljava/lang/Object;)V+2
j net.rubygrapefruit.platform.internal.jni.AbstractFileEventFunctions$NativeFileWatcher$1.run()V+26
v ~StubRoutines::call_stub
siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x0000019ecc5a9000
Register to memory mapping:
RIP=0x00007ffc311b7038 native-platform-file-events.dll
RAX=0x0000019ecc599034 points into unknown readable memory: 2e 00 67 00
RBX=0x00000030870ff040 is pointing into the stack for thread: 0x0000019e66779b30
RCX=0x0000000000007fe6 is an unknown value
RDX=0x0000019ecc599034 points into unknown readable memory: 2e 00 67 00
RSP=0x00000030870fe3c0 is pointing into the stack for thread: 0x0000019e66779b30
RBP=0x00000030870ff238 is pointing into the stack for thread: 0x0000019e66779b30
RSI=0x000000308434b000 points into unknown readable memory: 0x0000000000000000 | 00 00 00 00 00 00 00 00
RDI=0x0000000000000001 is an unknown value
R8 =0x00000030870fe598 is pointing into the stack for thread: 0x0000019e66779b30
R9 =0x0000019ecc598fe0 points into unknown readable memory: 0x0000000300000000 | 00 00 00 00 03 00 00 00
R10=0x00000000ffffffef is an unallocated location in the heap
R11=0x00000030870fe440 is pointing into the stack for thread: 0x0000019e66779b30
R12=0x0 is NULL
R13={method} {0x0000019e5234e9c0} 'executeRunLoop0' '(Ljava/lang/Object;)V' in 'net/rubygrapefruit/platform/internal/jni/AbstractFileEventFunctions$NativeFileWatcher'
R14=0x00000030870ff260 is pointing into the stack for thread: 0x0000019e66779b30
R15=0x0000019e66779b30 is a thread
Metadata
Metadata
Assignees
Labels
No labels