-
Notifications
You must be signed in to change notification settings - Fork 3
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
SIGILL during JNI call #10
Comments
Ugghhh, formatting is not good :)
|
Ok, so after building randomx submodule from sources and placing librandomx.so to parent proj solved issue |
Theoretically, xdagj-native-randomx can run on any platform where randomx can run. jna is just a call, which facilitates the verification of randomx integrated into java programs. |
hi @Holt666 , @cherry1603 , I am running into issue while running Example.java
Tried both to build project , and importing xdagj-native-randomx-0.1.7 as Maven dependency into another project, same issue
/home/user/.sdkman/candidates/java/17.0.8-amzn/bin/java -javaagent:/home/user/Downloads/idea-IU-232.10203.10/lib/idea_rt.jar=36503:/home/user/Downloads/idea-IU-232.10203.10/bin -Dfile.encoding=UTF-8 -classpath /home/user/TOOLS/drill/target/classes:/home/user/.m2/repository/commons-cli/commons-cli/1.4/commons-cli-1.4.jar:/home/user/.m2/repository/org/slf4j/slf4j-simple/1.7.21/slf4j-simple-1.7.21.jar:/home/user/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar:/home/user/.m2/repository/com/eclipsesource/minimal-json/minimal-json/0.9.2/minimal-json-0.9.2.jar:/home/user/.m2/repository/io/xdag/xdagj-native-randomx/0.1.7/xdagj-native-randomx-0.1.7.jar:/home/user/.m2/repository/net/java/dev/jna/jna/5.13.0/jna-5.13.0.jar tk.netindev.drill.Drill
A fatal error has been detected by the Java Runtime Environment:
SIGILL (0x4) at pc=0x00007f3db00b5954, pid=1086159, tid=1086160
JRE version: OpenJDK Runtime Environment Corretto-17.0.8.7.1 (17.0.8+7) (build 17.0.8+7-LTS)
Java VM: OpenJDK 64-Bit Server VM Corretto-17.0.8.7.1 (17.0.8+7-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
Problematic frame:
C [jna18207388093069493637.tmp+0x32954] randomx_blake2b_init_param+0x74
No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
If you would like to submit a bug report, please visit:
https://github.com/corretto/corretto-17/issues/
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
Ubuntu-20.04, latest Idea
Any help will be appreciated :)
The text was updated successfully, but these errors were encountered: