Skip to content

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

@bdarwin

Description

@bdarwin

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions