Skip to content

[BUG] JVM crash SIGSEGV libjvm.so+0xf1614c on ARM64 with heavy NeoForge modpack #263

@Eaielectronic

Description

@Eaielectronic

Describe the bug

JVM crashes with fatal SIGSEGV in Service Thread at
libjvm.so+0xf1614c during gameplay on ARM64 Android.
The crash happens 1-3 minutes after joining a server
with a heavy NeoForge 1.21.1 modpack (Create Aeronautics,
Sable, TFMG, etc). The crash offset is always identical
regardless of RAM allocation, suggesting a bug in the
bundled JVM for ARM64.

The log file and images/videos

hs_err_pid10698.log
latestlog (4).txt

Steps To Reproduce

1. Install Amethyst on Samsung Galaxy S20 FE 5G (ARM64, Android 13)
2. Create a NeoForge 21.1.227 instance with these mods:
   - Create Aeronautics 1.2.1 (bundled, includes Sable + Veil)
   - Sable 1.2.2 + Sable Android Patch
   - Create 6.0.10
   - TFMG 1.2.0
   - Create Big Cannons 5.11.4
   - Create HyperTube 0.4.0
   - Create Steam n Rails 0.2.0
   - Create New Age 1.1.7c
   - Create Connected 1.1.13
   - Create Stuff Additions 2.1.0
   - Create Deco 2.1.3
   - Create Mechanical Extruder 2.2.0
   - Electrodynamics 1.0.2 + Voltaic 1.0.2
   - Nuclear Science 0.8.1
   - Ballistix 1.0.1
   - Blastcraft 0.6.0
   - Modular Force Fields 0.4.0
   - Ritchies Projectile Lib 2.1.2
   - KubeJS 2101.7.2
   - JEI 19.27.0
   - AlmostUnified 1.4.1
   - ModernFix 5.27.2
   - FerriteCore 7.0.3
   - MoreCulling 1.0.8
   - Lithium 0.15.3
   - Supplementaries 3.6.4
   - Moonlight Lib 3.0.7
   - Amendments 2.0.15
   - Alloyed 3.0.7
   - Stellarity 3.0.6.1
   - Mechanicals Lib 1.1.0
   - Architectury 13.0.8
   - Cloth Config 15.0.140
   - Simple Voice Chat 2.6.16
   - No Chat Reports 2.9.1
   - Rhino 2101.2.7
   - Copycats 3.0.4
3. Add JVM arg: -Dimgui.library.name=disabled
4. Join multiplayer server srv1.appel.ovh:25565
5. Play for 1-3 minutes
6. Game crashes with SIGSEGV at libjvm.so+0xf1614c

Expected Behavior

The game should run stable without crashing.
The JVM Service Thread should not crash at libjvm.so+0xf1614c.

Platform

- Device: Samsung Galaxy S20 FE 5G (SM-G781B)
- OS: Android 13 (ARM64 / aarch64)
- Launcher: Amethyst legacy-20260421-bdee4e1-1.1.4
- Minecraft: 1.21.1 NeoForge 21.1.227
- JVM: OpenJDK 21.0.1 (bundled)

Anything else?

  • Crash offset libjvm.so+0xf1614c is identical across 6+ crashes
  • Swap memory at crash: between 159MB and 1180MB depending on Xmx
  • Adding -Dimgui.library.name=disabled fixed the first Veil crash
  • Sable Android Patch fixed the Rapier natives crash
  • This is the only remaining blocker to play on Android
  • hs_err and latestlog files attached
  • The game keeps lagging at 10 fps

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions