Skip to content

Sable native crach on androïd. #1530

Description

@paulmoratille13-afk

Context

Context:

  • Platform: Android 16, arm64 (Samsung SM-G990B2), via MJLauncher (PojavLauncher-based)
  • Minecraft 1.21.1, NeoForge 21.1.248
  • Sable 2.0.5
  • Renderer: Zink (Vulkan) — ruled out as the cause, same crash on gl4es

Issue:
Game crashes on world creation/load with:

java.lang.UnsatisfiedLinkError: dlopen failed: library ".../sable_rapier_aarch64_linux.so"
needed or dlopened by libjvm.so is not accessible for the namespace "clns-9"

Investigation:
I reported this to the MJLauncher devs first, thinking it was a linker
namespace/permission issue on their end. They confirmed it's not a
launcher bug: MJLauncher doesn't ship or place this file, and even if
the loading path issue were fixed, sable_rapier_aarch64_linux.so is
built for standard Linux (glibc/aarch64-linux-gnu), not for Android's
Bionic libc (aarch64-linux-android) — so it wouldn't run correctly on
Android even if it could be loaded.

Suggestion:
Would it be possible to ship a Bionic-compatible build of the Rapier
natives (aarch64-linux-android target) for Android/PojavLauncher-based
launchers, similar to how other native-heavy mods handle Android
compatibility? Alternatively, a graceful fallback (disable physics
features) when no compatible native is found would prevent a hard crash.

Crash Report

?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: crashSomething crashes my game

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions