Skip to content

[Bug]: Crash on Android (New Architecture) — JNI ERROR: Accessed Stale Local #3835

@Jablett

Description

@Jablett

Mapbox Implementation

Mapbox

Mapbox Version

10.1.38

React Native Version

0.76.9

Platform

Android

@rnmapbox/maps version

#main

Standalone component to reproduce

import Mapbox from "@rnmapbox/maps"

Observed behavior and steps to reproduce

The app crashes with:
JNI ERROR (app bug): accessed stale Local 0xa9a81405 (index XXX in a table of size 10)

Device: Moto E7 (32-bit ARM)
Crash: On app launch in release mode

libreactnative.so (facebook::react::JavaTurboModule::setEventEmitterCallback)
libappmodules.so (NativeRNMBXLocationModuleSpecJSI)
libappmodules.so (rnmapbox_maps_specs_ModuleProvider)

Any assistance with this issue would be greatly appreciated. A large portion of our user base relies on older or lower-end devices, which is a key reason we’re investing in the new architecture for performance gains and stability.

Expected behavior

No response

Notes / preliminary analysis

No response

Additional links and references

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions