Skip to content

EXCEPTION_ACCESS_VIOLATION while loading dll on windows #611

@sargunv

Description

@sargunv

Originally posted by @haffadan in #598. I commented there with a request for more info.

Host: Intel(R) Core(TM) Ultra 7 155H, 22 cores, 31G,  Windows 11 , 64 bit Build 26100 (10.0.26100.5074)
Time: Mon Sep  8 20:34:55 2025 FLE, sommartid elapsed time: 23.090449 seconds (0d 0h 0m 23s)

---------------  T H R E A D  ---------------

Current thread (0x000002281b0e9100):  JavaThread "AWT-EventQueue-0"        [_thread_in_native, id=12788, stack(0x000000dc20200000,0x000000dc20300000) (1024K)]

Stack: [0x000000dc20200000,0x000000dc20300000],  sp=0x000000dc202fd600,  free space=1013k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [msvcp140.dll+0x12f58]  (no source info available)
C  [maplibre-jni.dll+0x3501f7]  (no source info available)
C  [maplibre-jni.dll+0x350420]  (no source info available)
C  [maplibre-jni.dll+0x33a3b]  (no source info available)
C  [java.dll+0x40e5]  (no source info available)
C  0x00000227bf6acfc7  (no source info available)

The last pc belongs to native method entry point (kind = native) (printed below).
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  jdk.internal.loader.NativeLibraries.load(Ljdk/internal/loader/NativeLibraries$NativeLibraryImpl;Ljava/lang/String;ZZ)Z+0 [email protected]
j  jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open()Z+57 [email protected]
j  jdk.internal.loader.NativeLibraries.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)Ljdk/internal/loader/NativeLibrary;+254 [email protected]
j  jdk.internal.loader.NativeLibraries.loadLibrary(Ljava/lang/Class;Ljava/io/File;)Ljdk/internal/loader/NativeLibrary;+51 [email protected]
j  java.lang.ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/io/File;)Ljdk/internal/loader/NativeLibrary;+31 [email protected]
j  java.lang.Runtime.load0(Ljava/lang/Class;Ljava/lang/String;)V+61 [email protected]
j  java.lang.System.load(Ljava/lang/String;)V+7 [email protected]
j  org.maplibre.kmp.native.util.SharedLibraryLoader.extractAndLoadLibrary(Ljava/lang/String;)V+221

Metadata

Metadata

Assignees

No one assigned

    Labels

    desktopAffects Desktop in particular, or relates to Desktop specific codehelp wantedExtra attention is needed for this to move forward

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions