Skip to content

Crash on some iOS <26 devices when loading local images with RCTImageFromLocalAssetURL #54015

Closed

Description

@nicolasdevienne

Description

We observe a crash on some iOS <26 devices when loading local images via RCTImageFromLocalAssetURL / UIImage imageNamed:. The crash only appears on certain devices, not consistently across all. It seems related to CoreUI’s cache and UIImageAsset behavior.

Steps to reproduce

  • Build the app with Xcode 26
  • Load a local image (via require(...) or RCTImageFromLocalAssetURL)
  • Render it in an RCTImageView
  • On affected devices (iOS <26), the app crashes intermittently

React Native Version

0.79.6

Affected Platforms

Runtime - iOS

Output of npx @react-native-community/cli info

System:
  OS: macOS 26.1
  CPU: (8) arm64 Apple M1 Pro
  Memory: 148.80 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.19.5
    path: /opt/homebrew/bin/node
  Yarn:
    version: 1.22.22
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.8.2
    path: /opt/homebrew/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods:
    version: 1.16.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 25.0
      - iOS 26.0
      - macOS 26.0
      - tvOS 26.0
      - visionOS 26.0
      - watchOS 26.0
  Android SDK: Not Found
IDEs:
  Android Studio: 2025.1 AI-251.26094.121.2513.14007798
  Xcode:
    version: 26.0/17A321
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 21.0.7
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 18.0.0
    wanted: 18.0.0
  react:
    installed: 19.0.0
    wanted: 19.0.0
  react-native:
    installed: 0.79.6
    wanted: 0.79.6
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs

# Crashlytics - Stack trace
# Application: ***
# Platform: apple
# Version: 5.14 (2233)
# Issue: 1d0e88eeb212da224036521c27910902
# Session: 1c006cf299564567ab055f9379f1c9f8_DNE_0_v2
# Date: Sun Sep 28 2025 12:42:43 GMT+0200 (heure d’été d’Europe centrale)

Crashed: com.apple.main-thread
0  libsystem_kernel.dylib         0xb1dc __pthread_kill + 8
1  libsystem_pthread.dylib        0x7c60 pthread_kill + 268
2  libsystem_c.dylib              0x770ac abort + 124
3  libsystem_malloc.dylib         0x16d70 malloc_vreport + 892
4  libsystem_malloc.dylib         0x169e8 malloc_report + 64
5  libsystem_malloc.dylib         0x11594 ___BUG_IN_CLIENT_OF_LIBMALLOC_POINTER_BEING_FREED_WAS_NOT_ALLOCATED + 32
6  libcache.dylib                 0x135c cache_set_name + 36
7  CoreFoundation                 0x87ea0 -[NSCache setName:] + 224
8  CoreUI                         0x6724 -[CUICatalog negativeCache] + 116
9  CoreUI                         0x4160 -[CUICatalog _private_resolvedRenditionKeyFromThemeRef:withBaseKey:scaleFactor:deviceIdiom:deviceSubtype:displayGamut:layoutDirection:sizeClassHorizontal:sizeClassVertical:memoryClass:graphicsClass:graphicsFallBackOrder:deviceSubtypeFallBackOrder:localizationIdentifier:adjustRenditionKeyWithBlock:] + 540
10 CoreUI                         0x15ba0 -[CUICatalog _imageWithName:scaleFactor:deviceIdiom:deviceSubtype:displayGamut:layoutDirection:sizeClassHorizontal:sizeClassVertical:memoryClass:graphicsClass:appearanceIdentifier:graphicsFallBackOrder:deviceSubtypeFallBackOrder:locale:] + 264
11 CoreUI                         0x14a64 -[CUICatalog imageWithName:scaleFactor:deviceIdiom:deviceSubtype:displayGamut:layoutDirection:sizeClassHorizontal:sizeClassVertical:memoryClass:graphicsClass:appearanceIdentifier:graphicsFallBackOrder:deviceSubtypeFallBackOrder:locale:] + 212
12 CoreUI                         0x1b944 -[CUICatalog imageWithName:scaleFactor:deviceIdiom:deviceSubtype:displayGamut:layoutDirection:sizeClassHorizontal:sizeClassVertical:appearanceName:locale:] + 408
13 CoreUI                         0x25920 -[CUICatalog imageWithName:scaleFactor:deviceIdiom:deviceSubtype:displayGamut:layoutDirection:sizeClassHorizontal:sizeClassVertical:appearanceName:] + 32
14 UIKitCore                      0x1e0164 __49-[UIImageAsset _withLock_imageWithConfiguration:]_block_invoke + 104
15 UIKitCore                      0x1e00a8 __96-[UIImageAsset _performLookUpRegisteredObjectForTraitCollection:withAccessorWithAppearanceName:]_block_invoke + 72
16 UIKitCore                      0x10c8c8 -[UITraitCollection _enumerateThemeAppearanceNamesForLookup:] + 200
17 UIKitCore                      0x1dffe0 -[UIImageAsset _performLookUpRegisteredObjectForTraitCollection:withAccessorWithAppearanceName:] + 228
18 UIKitCore                      0x1dfeac -[UIImageAsset _withLock_lookUpRegisteredObjectForTraitCollection:withAccessorWithAppearanceName:] + 72
19 UIKitCore                      0xaa528 -[UIImageAsset _withLock_imageWithConfiguration:] + 640
20 UIKitCore                      0xa9c78 -[UIImageAsset imageWithConfiguration:] + 52
21 UIKitCore                      0x1db894 -[_UIPathLazyImageAsset imageWithConfiguration:] + 400
22 UIKitCore                      0x10c1d8 +[UIImage imageNamed:inBundle:withConfiguration:] + 520
23 *****************              0x669154 RCTImageFromLocalAssetURL + 863 (RCTUtils.m:863)
24 *****************              0x5216ec -[RCTBundleAssetImageLoader loadImageForURL:size:scale:resizeMode:progressHandler:partialLoadHandler:completionHandler:] + 52 (RCTBundleAssetImageLoader.mm:52)
25 *****************              0x525364 -[RCTImageLoader _loadImageOrDataWithURLRequest:size:scale:resizeMode:priority:attribution:progressBlock:partialLoadBlock:completionBlock:] + 569 (RCTImageLoader.mm:569)
26 *****************              0x5272ec -[RCTImageLoader loadImageWithURLRequest:size:scale:clipped:resizeMode:priority:attribution:progressBlock:partialLoadBlock:completionBlock:] + 849 (RCTImageLoader.mm:849)
27 *****************              0x52e538 -[RCTImageView reloadImage] + 343 (RCTImageView.mm:343)
28 *****************              0x52f3a4 -[RCTImageView reactSetFrame:] + 445 (RCTImageView.mm:445)
29 *****************              0x65ed80 __51-[RCTUIManager uiBlockWithLayoutUpdateForRootView:]_block_invoke.100 + 702 (RCTUIManager.mm:702)
30 *****************              0x6625a8 __44-[RCTUIManager flushUIBlocksWithCompletion:]_block_invoke + 1167 (RCTUIManager.mm:1167)
31 *****************              0x6626c8 __44-[RCTUIManager flushUIBlocksWithCompletion:]_block_invoke.144 + 1190 (RCTUIManager.mm:1190)
32 libdispatch.dylib              0x1aac _dispatch_call_block_and_release + 32
33 libdispatch.dylib              0x1b584 _dispatch_client_callout + 16
34 libdispatch.dylib              0x385c8 _dispatch_main_queue_drain.cold.5 + 812
35 libdispatch.dylib              0x10d30 _dispatch_main_queue_drain + 180
36 libdispatch.dylib              0x10c6c _dispatch_main_queue_callback_4CF + 44
37 CoreFoundation                 0x6cc30 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
38 CoreFoundation                 0x10394 __CFRunLoopRun + 1980
39 CoreFoundation                 0x11adc CFRunLoopRunSpecific + 572
40 GraphicsServices               0x1454 GSEventRunModal + 168
41 UIKitCore                      0x135274 -[UIApplication _run] + 816
42 UIKitCore                      0x100a28 UIApplicationMain + 336
43 UIKitCore                      0x1e2168 __51-[UIStatusBar_Base _setHidden:animationParameters:]_block_invoke_4 + 180
44 *****************              0x5abc main + 4336966332 (AppDelegate.swift:4336966332)
45 ???                            0x1b43ddf08 (Manquant)

com.facebook.react.ImageLoaderQueue
0  libsystem_kernel.dylib         0xaf8 __ulock_wait2 + 8
1  libsystem_platform.dylib       0x3690 _os_unfair_lock_lock_slow + 176
2  UIKitCore                      0x1db74c -[_UIPathLazyImageAsset imageWithConfiguration:] + 72
3  UIKitCore                      0x10c1d8 +[UIImage imageNamed:inBundle:withConfiguration:] + 520
4  *****************              0x669154 RCTImageFromLocalAssetURL + 863 (RCTUtils.m:863)
5  *****************              0x5216ec -[RCTBundleAssetImageLoader loadImageForURL:size:scale:resizeMode:progressHandler:partialLoadHandler:completionHandler:] + 52 (RCTBundleAssetImageLoader.mm:52)
6  *****************              0x525364 -[RCTImageLoader _loadImageOrDataWithURLRequest:size:scale:resizeMode:priority:attribution:progressBlock:partialLoadBlock:completionBlock:] + 569 (RCTImageLoader.mm:569)
7  *****************              0x528e30 -[RCTImageLoader getImageSizeForURLRequest:block:] + 1067 (RCTImageLoader.mm:1067)
8  *****************              0x529cd8 -[RCTImageLoader getSize:resolve:reject:] + 1194 (RCTImageLoader.mm:1194)
9  CoreFoundation                 0x2f934 __invoking___ + 148
10 CoreFoundation                 0x2efac -[NSInvocation invoke] + 424
11 CoreFoundation                 0xa19cc -[NSInvocation invokeWithTarget:] + 64
12 *****************              0x643518 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 587 (RCTModuleMethod.mm:587)
13 *****************              0x64565c facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext) + 196 (RCTNativeModule.mm:196)
14 *****************              0x6452c0 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 299 (optional:299)
15 libdispatch.dylib              0x1aac _dispatch_call_block_and_release + 32
16 libdispatch.dylib              0x1b584 _dispatch_client_callout + 16
17 libdispatch.dylib              0xa2d0 _dispatch_lane_serial_drain + 740
18 libdispatch.dylib              0xadac _dispatch_lane_invoke + 388
19 libdispatch.dylib              0x151dc _dispatch_root_queue_drain_deferred_wlh + 292
20 libdispatch.dylib              0x14a60 _dispatch_workloop_worker_thread + 540
21 libsystem_pthread.dylib        0xa0c _pthread_wqthread + 292
22 libsystem_pthread.dylib        0xaac start_wqthread + 8

com.apple.root.background-qos
0  libsystem_kernel.dylib         0x6f70 __ulock_wait + 8
1  libdispatch.dylib              0x3c3c _dlock_wait + 56
2  libdispatch.dylib              0x39a4 _dispatch_wait_on_address + 136
3  libdispatch.dylib              0x3fa8 _dispatch_group_wait_slow + 56
4  libswiftDispatch.dylib         0x4618 OS_dispatch_group.wait(wallTimeout:) + 24
5  *****************              0x1f8410 InstallationsProtocol.installationID(completion:) + 66 (Installations+InstallationsProtocol.swift:66)
6  *****************              0x1f9ce0 RemoteSettings.updateSettings() + 56 (SettingsDownloadClient.swift:56)
7  *****************              0x1f4708 closure #1 in closure #1 in Sessions.init(appID:sessionGenerator:coordinator:initiator:appInfo:settings:loggedEventCallback:) + 81 (SessionsSettings.swift:81)
8  *****************              0x1f7ddc partial apply for closure #1 in closure #1 in Sessions.init(appID:sessionGenerator:coordinator:initiator:appInfo:settings:loggedEventCallback:) + 1085652
9  *****************              0x1f7cb4 partial apply for closure #1 in closure #1 in Sessions.init(appID:sessionGenerator:coordinator:initiator:appInfo:settings:loggedEventCallback:) + 1085356
10 *****************              0x1f7e04 partial apply for closure #1 in closure #1 in Sessions.init(appID:sessionGenerator:coordinator:initiator:appInfo:settings:loggedEventCallback:) + 1085692
11 *****************              0x4bae90 closure #1 in Promise.then(on:_:) + 95 (Promise+Then.swift:95)
12 *****************              0x4ba7b0 thunk for @escaping @callee_guaranteed (@guaranteed Swift.AnyObject?) -> (@out Any?) + 3979944 (<compiler-generated>:3979944)
13 *****************              0x170b88 __56-[FBLPromise chainOnQueue:chainedFulfill:chainedReject:]_block_invoke.18 + 273 (FBLPromise.m:273)
14 libdispatch.dylib              0x1aac _dispatch_call_block_and_release + 32
15 libdispatch.dylib              0x1b584 _dispatch_client_callout + 16
16 libdispatch.dylib              0x37f14 _dispatch_channel_invoke.cold.5 + 92
17 libdispatch.dylib              0x13f24 _dispatch_root_queue_drain + 736
18 libdispatch.dylib              0x1454c _dispatch_worker_thread2 + 156
19 libsystem_pthread.dylib        0x9d0 _pthread_wqthread + 232
20 libsystem_pthread.dylib        0xaac start_wqthread + 8

Thread
0  libsystem_pthread.dylib        0xaa4 start_wqthread + 442

Thread
0  libsystem_kernel.dylib         0xa90 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0xa58 _pthread_wqthread + 368
2  libsystem_pthread.dylib        0xaac start_wqthread + 8

Thread
0  libsystem_pthread.dylib        0xaa4 start_wqthread + 442

la_client
0  libsystem_kernel.dylib         0xce4 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x439c mach_msg2_internal + 76
2  libsystem_kernel.dylib         0x42b8 mach_msg_overwrite + 428
3  libsystem_kernel.dylib         0x4100 mach_msg + 24
4  libdispatch.dylib              0x1cc08 _dispatch_mach_send_and_wait_for_reply + 548
5  libdispatch.dylib              0x1cfa8 dispatch_mach_send_with_result_and_wait_for_reply + 60
6  libxpc.dylib                   0x107f0 xpc_connection_send_message_with_reply_sync + 256
7  Foundation                     0x5b9b0 __NSXPCCONNECTION_IS_WAITING_FOR_A_SYNCHRONOUS_REPLY__ + 16
8  Foundation                     0x1688c -[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:] + 2100
9  CoreFoundation                 0x2e6cc ___forwarding___ + 996
10 CoreFoundation                 0x2e940 _CF_forwarding_prep_0 + 96
11 LocalAuthentication            0x35f8 __64-[LAClient evaluatePolicy:options:uiDelegate:synchronous:reply:]_block_invoke + 204
12 LocalAuthentication            0x32e8 __47-[LAClient _performSynchronous:callId:finally:]_block_invoke + 520
13 libdispatch.dylib              0x1b584 _dispatch_client_callout + 16
14 libdispatch.dylib              0x11d28 _dispatch_sync_invoke_and_complete + 56
15 LocalAuthentication            0x30a0 -[LAClient _performSynchronous:callId:finally:] + 196
16 LocalAuthentication            0x2e74 -[LAClient evaluatePolicy:options:uiDelegate:synchronous:reply:] + 296
17 LocalAuthentication            0x2d20 -[LAContext _evaluatePolicy:options:synchronous:reply:] + 188
18 LocalAuthentication            0x2c0c -[LAContext _evaluatePolicy:options:log:cid:synchronous:reply:] + 392
19 LocalAuthentication            0x29e4 -[LAContext _evaluatePolicy:options:log:cid:error:] + 272
20 LocalAuthentication            0x2764 -[LAContext canEvaluatePolicy:error:] + 280
21 *****************              0xb9a68 closure #3 in LocalAuthenticationModule.definition() + 130 (LocalAuthenticationModule.swift:130)
22 *****************              0x100844 partial apply for thunk for @escaping @callee_guaranteed () -> (@out A, @error @owned Error) + 72508 (<compiler-generated>:72508)
23 *****************              0xfeeb0 closure #3 in AsyncFunctionDefinition.call(by:withArguments:appContext:callback:) + 105 (AsyncFunctionDefinition.swift:105)
24 *****************              0x4e25c <deduplicated_symbol> + 4337263196
25 *****************              0x47fb0 <deduplicated_symbol> + 4337237936
26 libdispatch.dylib              0x1aac _dispatch_call_block_and_release + 32
27 libdispatch.dylib              0x1b584 _dispatch_client_callout + 16
28 libdispatch.dylib              0xa2d0 _dispatch_lane_serial_drain + 740
29 libdispatch.dylib              0xadac _dispatch_lane_invoke + 388
30 libdispatch.dylib              0x151dc _dispatch_root_queue_drain_deferred_wlh + 292
31 libdispatch.dylib              0x14a60 _dispatch_workloop_worker_thread + 540
32 libsystem_pthread.dylib        0xa0c _pthread_wqthread + 292
33 libsystem_pthread.dylib        0xaac start_wqthread + 8

Thread
0  libsystem_pthread.dylib        0xaa4 start_wqthread + 442

Thread
0  libsystem_pthread.dylib        0xaa4 start_wqthread + 442

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0xce4 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x439c mach_msg2_internal + 76
2  libsystem_kernel.dylib         0x42b8 mach_msg_overwrite + 428
3  libsystem_kernel.dylib         0x4100 mach_msg + 24
4  CoreFoundation                 0x117a0 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x10090 __CFRunLoopRun + 1208
6  CoreFoundation                 0x11adc CFRunLoopRunSpecific + 572
7  Foundation                     0xf79c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0x15020 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9  UIKitCore                      0x11f56c -[UIEventFetcher threadMain] + 424
10 Foundation                     0x75804 __NSThread__start__ + 732
11 libsystem_pthread.dylib        0x3344 _pthread_start + 136
12 libsystem_pthread.dylib        0xab8 thread_start + 8

com.google.firebase.crashlytics.MachExceptionServer
0  libsystem_kernel.dylib         0xce4 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x439c mach_msg2_internal + 76
2  libsystem_kernel.dylib         0x42b8 mach_msg_overwrite + 428
3  libsystem_kernel.dylib         0x4100 mach_msg + 24
4  *****************              0x1b4e28 FIRCLSMachExceptionServer + 196 (FIRCLSMachException.c:196)
5  libsystem_pthread.dylib        0x3344 _pthread_start + 136
6  libsystem_pthread.dylib        0xab8 thread_start + 8

com.facebook.react.JavaScript
0  hermes                         0x24e18 hermes::vm::DictPropertyMap::lookupEntryFor(hermes::vm::DictPropertyMap*, hermes::vm::SymbolID) + 96
1  hermes                         0x5cb44 hermes::vm::JSObject::tryGetOwnNamedDescriptorFast(hermes::vm::JSObject*, hermes::vm::Runtime&, hermes::vm::SymbolID, hermes::vm::NamedPropertyDescriptor&) + 80
2  hermes                         0x32920 hermes::vm::CallResult<hermes::vm::HermesValue, (hermes::vm::detail::CallResultSpecialize)2> hermes::vm::Interpreter::interpretFunction<false, false>(hermes::vm::Runtime&, hermes::vm::InterpreterState&) + 8708
3  hermes                         0x306f4 hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) + 52
4  hermes                         0x231dc hermes::vm::JSFunction::_callImpl(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime&) + 40
5  hermes                         0x22de8 hermes::vm::BoundFunction::_boundCall(hermes::vm::BoundFunction*, hermes::inst::Inst const*, hermes::vm::Runtime&) + 416
6  hermes                         0x2f718 hermes::vm::Interpreter::handleCallSlowPath(hermes::vm::Runtime&, hermes::vm::PinnedHermesValue*) + 88
7  hermes                         0x31108 hermes::vm::CallResult<hermes::vm::HermesValue, (hermes::vm::detail::CallResultSpecialize)2> hermes::vm::Interpreter::interpretFunction<false, false>(hermes::vm::Runtime&, hermes::vm::InterpreterState&) + 2540
8  hermes                         0x306f4 hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) + 52
9  hermes                         0x231dc hermes::vm::JSFunction::_callImpl(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime&) + 40
10 hermes                         0x22178 hermes::vm::Callable::executeCall(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime&, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::Handle<hermes::vm::JSObject>) + 1004
11 hermes                         0xb38e4 hermes::vm::functionPrototypeApply(void*, hermes::vm::Runtime&, hermes::vm::NativeArgs) + 344
12 hermes                         0x230f4 hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime&) + 140
13 hermes                         0x2f6fc hermes::vm::Interpreter::handleCallSlowPath(hermes::vm::Runtime&, hermes::vm::PinnedHermesValue*) + 60
14 hermes                         0x31108 hermes::vm::CallResult<hermes::vm::HermesValue, (hermes::vm::detail::CallResultSpecialize)2> hermes::vm::Interpreter::interpretFunction<false, false>(hermes::vm::Runtime&, hermes::vm::InterpreterState&) + 2540
15 hermes                         0x306f4 hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) + 52
16 hermes                         0x231dc hermes::vm::JSFunction::_callImpl(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime&) + 40
17 hermes                         0x22de8 hermes::vm::BoundFunction::_boundCall(hermes::vm::BoundFunction*, hermes::inst::Inst const*, hermes::vm::Runtime&) + 416
18 hermes                         0x2f718 hermes::vm::Interpreter::handleCallSlowPath(hermes::vm::Runtime&, hermes::vm::PinnedHermesValue*) + 88
19 hermes                         0x31108 hermes::vm::CallResult<hermes::vm::HermesValue, (hermes::vm::detail::CallResultSpecialize)2> hermes::vm::Interpreter::interpretFunction<false, false>(hermes::vm::Runtime&, hermes::vm::InterpreterState&) + 2540
20 hermes                         0x306f4 hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) + 52
21 hermes                         0x231dc hermes::vm::JSFunction::_callImpl(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime&) + 40
22 hermes                         0x22de8 hermes::vm::BoundFunction::_boundCall(hermes::vm::BoundFunction*, hermes::inst::Inst const*, hermes::vm::Runtime&) + 416
23 hermes                         0xb87c facebook::hermes::HermesRuntimeImpl::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) + 284
24 *****************              0xe254e4 facebook::react::JSIExecutor::invokeCallback(double, folly::dynamic const&) + 268 (jsi-inl.h:268)
25 *****************              0xde79cc std::__1::__function::__func<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>&&)::$_0, std::__1::allocator<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>&&)::$_0>, void ()>::operator()() + 319 (function.h:319)
26 *****************              0x62e13c facebook::react::tryAndReturnError(std::__1::function<void ()> const&) + 436 (function.h:436)
27 *****************              0x63c8e4 facebook::react::RCTMessageThread::tryFunc(std::__1::function<void ()> const&) + 68 (RCTMessageThread.mm:68)
28 *****************              0x63c6f0 invocation function for block in facebook::react::RCTMessageThread::runAsync(std::__1::function<void ()>) + 45 (RCTMessageThread.mm:45)
29 CoreFoundation                 0x6c850 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28
30 CoreFoundation                 0xf028 __CFRunLoopDoBlocks + 352
31 CoreFoundation                 0x10528 __CFRunLoopRun + 2384
32 CoreFoundation                 0x11adc CFRunLoopRunSpecific + 572
33 *****************              0x6241a8 +[RCTCxxBridge runRunLoop] + 347 (RCTCxxBridge.mm:347)
34 Foundation                     0x75804 __NSThread__start__ + 732
35 libsystem_pthread.dylib        0x3344 _pthread_start + 136
36 libsystem_pthread.dylib        0xab8 thread_start + 8

hades
0  libsystem_kernel.dylib         0x6438 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1e50 _pthread_cond_wait + 984
2  libc++.1.dylib                 0x21294 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 32
3  hermes                         0xcce98 hermes::vm::HadesGC::Executor::worker() + 116
4  hermes                         0xcce00 void* std::__1::__thread_proxy[abi:v160006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, hermes::vm::HadesGC::Executor::Executor()::'lambda'()>>(void*) + 44
5  libsystem_pthread.dylib        0x3344 _pthread_start + 136
6  libsystem_pthread.dylib        0xab8 thread_start + 8

AudioSession - RootQueue
0  libsystem_kernel.dylib         0xc78 semaphore_timedwait_trap + 8
1  libdispatch.dylib              0x361c0 _dispatch_sema4_timedwait + 64
2  libdispatch.dylib              0x3e58 _dispatch_semaphore_wait_slow + 76
3  libdispatch.dylib              0x13ba8 _dispatch_worker_thread + 324
4  libsystem_pthread.dylib        0x3344 _pthread_start + 136
5  libsystem_pthread.dylib        0xab8 thread_start + 8

hades
0  libsystem_kernel.dylib         0x6438 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1e50 _pthread_cond_wait + 984
2  libc++.1.dylib                 0x21294 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 32
3  hermes                         0xcce98 hermes::vm::HadesGC::Executor::worker() + 116
4  hermes                         0xcce00 void* std::__1::__thread_proxy[abi:v160006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, hermes::vm::HadesGC::Executor::Executor()::'lambda'()>>(void*) + 44
5  libsystem_pthread.dylib        0x3344 _pthread_start + 136
6  libsystem_pthread.dylib        0xab8 thread_start + 8

com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0xce4 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x439c mach_msg2_internal + 76
2  libsystem_kernel.dylib         0x42b8 mach_msg_overwrite + 428
3  libsystem_kernel.dylib         0x4100 mach_msg + 24
4  CoreFoundation                 0x117a0 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x10090 __CFRunLoopRun + 1208
6  CoreFoundation                 0x11adc CFRunLoopRunSpecific + 572
7  CFNetwork                      0x9fdb8 +[__CFN_CoreSchedulingSetRunnable _run:] + 416
8  Foundation                     0x75804 __NSThread__start__ + 732
9  libsystem_pthread.dylib        0x3344 _pthread_start + 136
10 libsystem_pthread.dylib        0xab8 thread_start + 8

com.facebook.react.AsyncLocalStorageQueue
0  libsystem_kernel.dylib         0x81f4 fsync + 8
1  Foundation                     0xdd5c4 write(buffer:toFileDescriptor:path:parentProgress:) + 760
2  Foundation                     0xdf6b0 closure #1 in writeToFileAux(path:buffer:options:attributes:reportProgress:) + 4156
3  Foundation                     0x57ed10 partial apply for closure #1 in writeToFileAux(path:buffer:options:attributes:reportProgress:) + 52
4  Foundation                     0xa2a5c specialized String.withFileSystemRepresentation<A>(_:) + 272
5  Foundation                     0x57c8b8 specialized static NSData._writeData(toPath:data:options:stringEncodingAttributeData:reportProgress:) + 684
6  Foundation                     0x57bafc @objc static NSData._writeData(toPath:data:options:stringEncodingAttributeData:reportProgress:) + 140
7  Foundation                     0x811088 writeStringToURLOrPath + 232
8  *****************              0x54f084 -[RNCAsyncStorage _writeManifest:] + 566 (RNCAsyncStorage.mm:566)
9  *****************              0x55069c -[RNCAsyncStorage multiSet:callback:] + 750 (RNCAsyncStorage.mm:750)
10 CoreFoundation                 0x2f934 __invoking___ + 148
11 CoreFoundation                 0x2efac -[NSInvocation invoke] + 424
12 CoreFoundation                 0xa19cc -[NSInvocation invokeWithTarget:] + 64
13 *****************              0x643518 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 587 (RCTModuleMethod.mm:587)
14 *****************              0x64565c facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext) + 196 (RCTNativeModule.mm:196)
15 *****************              0x6452c0 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 299 (optional:299)
16 libdispatch.dylib              0x1aac _dispatch_call_block_and_release + 32
17 libdispatch.dylib              0x1b584 _dispatch_client_callout + 16
18 libdispatch.dylib              0xa2d0 _dispatch_lane_serial_drain + 740
19 libdispatch.dylib              0xadac _dispatch_lane_invoke + 388
20 libdispatch.dylib              0x151dc _dispatch_root_queue_drain_deferred_wlh + 292
21 libdispatch.dylib              0x14a60 _dispatch_workloop_worker_thread + 540
22 libsystem_pthread.dylib        0xa0c _pthread_wqthread + 292
23 libsystem_pthread.dylib        0xaac start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0xa90 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0xa58 _pthread_wqthread + 368
2  libsystem_pthread.dylib        0xaac start_wqthread + 8

MANDATORY Reproducer

N/A

Screenshots and Videos

No response

Activity

  1. added
    Platform: iOS
    Needs: Repro
    on Oct 1, 2025
  2. react-native-bot commented on Oct 1, 2025

    @react-native-bot
    Collaborator

    Warning

    Missing reproducer: We could not detect a reproducible example in your issue report. Reproducers are mandatory and we can accept only one of those as a valid reproducer:


    You can read more about about it on our website: How to report a bug.

  3. atulgpt17 commented on Oct 7, 2025

    @atulgpt17

    Hi can you try to create a small reproducer using the template?

    Thanks

  4. yliu342 commented on Oct 19, 2025

    @yliu342

    We've seen similar crash when using RNMapBox. Initially I thought it was due to a race condition. But looking at your crash log, the crash happened on main thread. My guess at this point is due to memory pressure. I tried to create a deliberate leak and cause memory usage to go up but can't reproduce it.

  5. react-native-bot commented on Nov 13, 2025

    @react-native-bot
    Collaborator

    This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.

  6. added
    Stale
    and removed
    Stale
    on Nov 13, 2025
  7. react-native-bot commented on Dec 7, 2025

    @react-native-bot
    Collaborator

    This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.

  8. added
    Stale
    on Dec 7, 2025
  9. MehmoodArib commented on Dec 11, 2025

    @MehmoodArib

    Hi @nicolasdevienne
    Any update on this??
    Did you find a fix?

  10. MehmoodArib commented on Dec 11, 2025

    @MehmoodArib

    @yliu342 any update on this?
    How can this be fixed?

  11. removed
    Stale
    on Dec 12, 2025
  12. nicolasdevienne commented on Dec 12, 2025

    @nicolasdevienne
    Author

    @MehmoodArib No news so far, but the issue persists. I am also unable to reproduce it, but I can see it on the Firebase Crashlytics dashboard...

  13. added
    Needs: Attention
    and removed on Dec 12, 2025
  14. react-native-bot commented on Jun 13, 2026

    @react-native-bot
    Collaborator

    This issue is stale because it has been open for 180 days with no activity. It will be closed in 7 days unless you comment on it or remove the "Stale" label.

  15. added
    Stale
    and removed
    Stale
    on Jun 13, 2026
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

    Component: ImageNeeds: AttentionNeeds: ReproPlatform: iOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions