Skip to content
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

libhoard.dll fails to load in a JNI application. #71

Open
bdarwin opened this issue Jul 12, 2022 · 0 comments
Open

libhoard.dll fails to load in a JNI application. #71

bdarwin opened this issue Jul 12, 2022 · 0 comments

Comments

@bdarwin
Copy link

bdarwin commented Jul 12, 2022

H, I am trying to take advantage of Hoard in a JNI based c++ application(Windows10). I built 64bit hoard and when I try to load libhoard.dll it crashes with below error.

java.lang.UnsatisfiedLinkError: <PATH>libhoard.dll: A dynamic link library (DLL) initialization routine failed
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)

Crash log:

 A fatal error has been detected by the Java Runtime Environment:

  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffa4e631960, pid=76672, tid=0x000000000000cecc

 JRE version: Java(TM) SE Runtime Environment (8.0_191-b12) (build 1.8.0_191-b12)
 Java VM: Java HotSpot(TM) 64-Bit Server VM (25.191-b12 mixed mode windows-amd64 compressed oops)
 Problematic frame:
 C  0x00007ffa4e631960

Is this even possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant