Skip to content

signal SIGABRT on iOS #846

@YueLiXing

Description

@YueLiXing

Expected behavior

* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00000001eba021dc libsystem_kernel.dylib`__pthread_kill + 8
    frame #1: 0x0000000224f07c60 libsystem_pthread.dylib`pthread_kill + 268
    frame #2: 0x00000001a28202d0 libsystem_c.dylib`abort + 124
    frame #3: 0x00000001a281f7c4 libsystem_c.dylib`__assert_rtn + 284
    frame #4: 0x000000010ef5c850 MallApp.debug.dylib`facebook::react::ShadowTree::commit(this=0x000000013e7f7780, transaction=0x000000016b3758b8, commitOptions=0x000000016b37589e) const at ShadowTree.cpp:251:5
    frame #5: 0x000000010e9d8f34 MallApp.debug.dylib`reanimated::ReanimatedMountHook::shadowTreeDidMount(std::__1::shared_ptr<facebook::react::RootShadowNode const> const&, double)::$_0::operator()(this=0x000000016b375b10, shadowTree=0x000000013e7f7780) const at ReanimatedMountHook.cpp:55:20
  * frame #6: 0x000000010e9d8ec4 MallApp.debug.dylib`decltype(std::declval<reanimated::ReanimatedMountHook::shadowTreeDidMount(std::__1::shared_ptr<facebook::react::RootShadowNode const> const&, double)::$_0&>()(std::declval<facebook::react::ShadowTree const&>())) std::__1::__invoke[abi:de190102]<reanimated::ReanimatedMountHook::shadowTreeDidMount(std::__1::shared_ptr<facebook::react::RootShadowNode const> const&, double)::$_0&, facebook::react::ShadowTree const&>(__f=0x000000016b375b10, __args=0x000000013e7f7780) at invoke.h:149:25
    frame #11: 0x000000010ef6692c MallApp.debug.dylib`std::__1::function<void (facebook::react::ShadowTree const&)>::operator()(this=0x000000016b375b08, __arg=0x000000013e7f7780) const at function.h:989:10
    frame #12: 0x000000010ef668cc MallApp.debug.dylib`facebook::react::ShadowTreeRegistry::visit(this=0x0000000132533960, surfaceId=1, callback=0x000000016b375b08) const at ShadowTreeRegistry.cpp:50:3
    frame #13: 0x000000010e9d70f0 MallApp.debug.dylib`reanimated::ReanimatedMountHook::shadowTreeDidMount(this=0x00000001386afd98, rootShadowNode=std::__1::shared_ptr<const facebook::react::RootShadowNode>::element_type @ 0x000000014b5fe818 strong=3 weak=1, (null)=705489526.47412503) at ReanimatedMountHook.cpp:53:22
    frame #14: 0x000000010ef9d04c MallApp.debug.dylib`facebook::react::UIManager::reportMount(this=0x0000000132533918, surfaceId=1) const at UIManager.cpp:663:20
    frame #15: 0x000000010ef27e74 MallApp.debug.dylib`facebook::react::Scheduler::reportMount(this=0x0000000132545c80, surfaceId=1) const at Scheduler.cpp:324:15
    frame #16: 0x000000010f225fec MallApp.debug.dylib`-[RCTScheduler reportMount:](self=0x000000013266adf0, _cmd="reportMount:", surfaceId=1) at RCTScheduler.mm:144:15
    frame #17: 0x000000010f2486bc MallApp.debug.dylib`__69-[RCTSurfacePresenter mountingManager:didMountComponentsWithRootTag:]_block_invoke(.block_descriptor=0x0000000121f36b80) at RCTSurfacePresenter.mm:385:7
    frame #18: 0x00000001056e0584 libdispatch.dylib`_dispatch_call_block_and_release + 32
    frame #19: 0x00000001056fa064 libdispatch.dylib`_dispatch_client_callout + 16
    frame #20: 0x000000010571af70 libdispatch.dylib`_dispatch_main_queue_drain.cold.5 + 876
    frame #21: 0x00000001056f0548 libdispatch.dylib`_dispatch_main_queue_drain + 180
    frame #22: 0x00000001056f0484 libdispatch.dylib`_dispatch_main_queue_callback_4CF + 44
    frame #23: 0x000000019a845d90 CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
    frame #24: 0x000000019a7e94f4 CoreFoundation`__CFRunLoopRun + 1980
    frame #25: 0x000000019a7eac3c CoreFoundation`CFRunLoopRunSpecific + 572
    frame #26: 0x00000001e79c9454 GraphicsServices`GSEventRunModal + 168
    frame #27: 0x000000019d1fd274 UIKitCore`-[UIApplication _run] + 816
    frame #28: 0x000000019d1c8a28 UIKitCore`UIApplicationMain + 336
    frame #29: 0x000000019d2aa168 UIKitCore`___lldb_unnamed_symbol275673 + 104
    frame #32: 0x000000010e584f9c MallApp.debug.dylib`main at <compiler-generated>:0
    frame #33: 0x00000001c16bff08 dyld`start + 6040

Screenshots

Image

Versions (please complete the following information):

  • react: 19.0.0
  • react-native: 0.79.2
  • react-native-reanimated: 3.19.1
  • react-native-reanimated-carousel: 4.0.3
  • react-native-gesture-handler: 2.25.0

Smartphone (please complete the following information):

  • Device: iPhone16 Pro
  • OS: iOS 18.5

Additional context
A slideshow on the page, doing nothing, crashes shortly after

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstaleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions