cinit / cinit/JvmXposed

Fatal Error Occurred

Open
#1 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
84
Forks
10
PR merge metrics
No merged PRs in 30d

Description

The issue occurs on Windows 11 across OpenJDK 11, 17, and 21, with the native library (built via CMake/MinGW-w64) loading successfully.
```
Starting Gradle Daemon...
Gradle Daemon started in 3 s 791 ms
Type-safe project accessors is an incubating feature.
> Task :jvm:xposed:processResources NO-SOURCE
> Task :jvm:test:processResources NO-SOURCE
> Task :jvm:test:processTestResources NO-SOURCE
> Task :jvm:core:compileJava
> Task :jvm:core:processResources NO-SOURCE
> Task :jvm:core:classes
> Task :jvm:core:jar
> Task :jvm:xposed:compileJava
> Task :jvm:xposed:classes
> Task :jvm:test:compileJava NO-SOURCE
> Task :jvm:test:classes UP-TO-DATE
> Task :jvm:xposed:jar
> Task :jvm:test:compileTestJava
> Task :jvm:test:testClasses
Native Lib Path: D:\A Sources\JvmXposed-main\native\build-windows\jvmplant.dll
LOG: Performing to UNSAFE GETLONG
LOG: To see the Stack
at dev.tmpfs.jvmplant.impl.HotSpotClassFileVerifyBypass.symbol(HotSpotClassFileVerifyBypass.java:290)
at dev.tmpfs.jvmplant.impl.HotSpotClassFileVerifyBypass.getStructs(HotSpotClassFileVerifyBypass.java:260)
at dev.tmpfs.jvmplant.impl.HotSpotClassFileVerifyBypass.findBytecodeVerificationFlagAddress(HotSpotClassFileVerifyBypass.java:334)
LOG: findNative: gHotSpotVMStructs -> 0 // I think it
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by dev.tmpfs.jvmplant.impl.ReflectHelper (file:/D:/A%20Sources/JvmXposed-main/jvm/core/build/libs/core-1.0-SNAPSHOT.jar) to method java.lang.ClassLoader.findNative(java.lang.ClassLoader,java.lang.String)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000002c1e9373fcf, pid=29396, tid=32556
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.25+9 (11.0.25+9) (build 11.0.25+9)
WARNING: Please consider reporting this to the maintainers of dev.tmpfs.jvmplant.impl.ReflectHelper
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.25+9 (11.0.25+9, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
# Problematic frame:
# J 973 c2 jdk.internal.misc.Unsafe.getLong(J)J java.base@11.0.25 (7 bytes) @ 0x000002c1e9373fcf [0x000002c1e9373fa0+0x000000000000002f]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# D:\A Sources\JvmXposed-main\jvm\test\hs_err_pid29396.log
Compiled method (c2) 1291 973 4 jdk.internal.misc.Unsafe::getLong (7 bytes)
total in heap [0x000002c1e9373e10,0x000002c1e9374048] = 568
relocation [0x000002c1e9373f88,0x000002c1e9373f98] = 16
main code [0x000002c1e9373fa0,0x000002c1e9374000] = 96
stub code [0x000002c1e9374000,0x000002c1e9374018] = 24
scopes data [0x000002c1e9374018,0x000002c1e9374020] = 8
scopes pcs [0x000002c1e9374020,0x000002c1e9374040] = 32
dependencies [0x000002c1e9374040,0x000002c1e9374048] = 8
Compiled method (c2) 1294 973 4 jdk.internal.misc.Unsafe::getLong (7 bytes)
total in heap [0x000002c1e9373e10,0x000002c1e9374048] = 568
relocation [0x000002c1e9373f88,0x000002c1e9373f98] = 16
main code [0x000002c1e9373fa0,0x000002c1e9374000] = 96
stub code [0x000002c1e9374000,0x000002c1e9374018] = 24
scopes data [0x000002c1e9374018,0x000002c1e9374020] = 8
scopes pcs [0x000002c1e9374020,0x000002c1e9374040] = 32
dependencies [0x000002c1e9374040,0x000002c1e9374048] = 8
Could not load hsdis-amd64.dll; library not loadable; PrintAssembly is disabled
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
#
Unexpected exception thrown.
org.gradle.internal.remote.internal.MessageIOException: Could not read message from '/127.0.0.1:64557'.
at org.gradle.internal.remote.internal.inet.SocketConnection.receive(SocketConnection.java:94)
at org.gradle.internal.remote.internal.hub.MessageHub$ConnectionReceive.run(MessageHub.java:270)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: com.esotericsoftware.kryo.KryoException: java.io.IOException: Remote host forced close a active connection.
at com.esotericsoftware.kryo.io.Input.fill(Input.java:148)
at com.esotericsoftware.kryo.io.Input.require(Input.java:178)
at com.esotericsoftware.kryo.io.Input.readByte(Input.java:295)
at org.gradle.internal.serialize.kryo.KryoBackedDecoder.readByte(KryoBackedDecoder.java:88)
at org.gradle.internal.remote.internal.hub.InterHubMessageSerializer$MessageReader.read(InterHubMessageSerializer.java:64)
at org.gradle.internal.remote.internal.hub.InterHubMessageSerializer$MessageReader.read(InterHubMessageSerializer.java:52)
at org.gradle.internal.remote.internal.inet.SocketConnection.receive(SocketConnection.java:81)
... 6 more
> Task :jvm:test:test FAILED
HookTests > returnTypeTests() SKIPPED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':jvm:test:test'.
> Process 'Gradle Test Executor 1' finished with non-zero exit value 1
This problem might be caused by incorrect test process configuration.
For more on test execution, please refer to https://docs.gradle.org/8.8/userguide/java_testing.html#sec:test_execution in the Gradle documentation.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 27s
6 actionable tasks: 6 executed
```
[hs_err_pid29396.log](https://github.com/user-attachments/files/20959419/hs_err_pid29396.log)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.