Skip to content

Instantly share code, notes, and snippets.

@haileyok
Created August 5, 2024 04:12
Show Gist options
  • Save haileyok/0b15fd815a9fb0a5580674ff6b3a5497 to your computer and use it in GitHub Desktop.
Save haileyok/0b15fd815a9fb0a5580674ff6b3a5497 to your computer and use it in GitHub Desktop.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x20)
* frame #0: 0x0000000104ce10ec Bluesky`std::__1::weak_ptr<facebook::react::EventDispatcher const>::lock(this=0x0000000000000018) const at shared_ptr.h:1871:20
frame #1: 0x0000000104ce0e70 Bluesky`facebook::react::EventEmitter::dispatchEvent(this=0x0000000000000000, type="playerStateChange", payload=std::__1::shared_ptr<const facebook::react::EventPayload>::element_type @ 0x0000600001968798 strong=1 weak=1, priority=AsynchronousBatched, category=Unspecified) const at EventEmitter.cpp:99:43
frame #2: 0x0000000104ce0b00 Bluesky`facebook::react::EventEmitter::dispatchEvent(this=0x0000000000000000, type="", payloadFactory= Lambda in File ExpoFabricViewObjC.mm at Line 154, priority=AsynchronousBatched, category=Unspecified) const at EventEmitter.cpp:85:3
frame #3: 0x00000001044be700 Bluesky`expo::ExpoViewEventEmitter::dispatch(this=0x0000000000000000, eventName="playerStateChange", payloadFactory= Lambda in File ExpoFabricViewObjC.mm at Line 154) const at ExpoViewEventEmitter.cpp:10:3
frame #4: 0x000000010449c210 Bluesky`-[ExpoFabricViewObjC dispatchEvent:payload:](self=0x00000001674171b0, _cmd="dispatchEvent:payload:", eventName="onPlayerStateChange", payload=2 key/value pairs) at ExpoFabricViewObjC.mm:154:18
frame #5: 0x000000010454ba64 Bluesky`closure #1 in closure #1 in ExpoFabricView.installEventDispatchers(body=2 key/value pairs, self=0x00000001674171b0, eventName="onPlayerStateChange") at ExpoFabricView.swift:109:16
frame #6: 0x0000000104549f40 Bluesky`thunk for @escaping @callee_guaranteed (@guaranteed [String : Any]) -> () at <compiler-generated>:0
frame #7: 0x0000000104536e30 Bluesky`EventDispatcher.callAsFunction(payload=2 key/value pairs, self=0x0000600000fbfcc0) at EventDispatcher.swift:38:12
frame #8: 0x00000001042d7d5c Bluesky`GifView.firePlayerStateChange(self=0x00000001674171b0) at GifView.swift:177:24
frame #9: 0x00000001042d7b2c Bluesky`GifView.play(self=0x00000001674171b0) at GifView.swift:157:10
frame #10: 0x00000001042d52d0 Bluesky`GifView.autoplay.didset(self=0x00000001674171b0) at GifView.swift:32:14
frame #11: 0x00000001042d53c0 Bluesky`GifView.autoplay.setter(value=true, self=0x00000001674171b0) at GifView.swift:0
frame #12: 0x00000001042d3198 Bluesky`closure #3 in closure #3 in ExpoBlueskyGifViewModule.definition(view=0x00000001674171b0, prop=true) at ExpoBlueskyGifViewModule.swift:31:23
frame #13: 0x000000010450e1a8 Bluesky`ConcreteViewProp.set(value=(payload_data_0 = 0x00000001e4ac9c18 CoreFoundation`__kCFBooleanTrue, payload_data_1 = 0x0000000000000000, payload_data_2 = 0x0000000000000000, metadata = Any.Type), view=0x00000001674171b0, appContext=0x0000600002b20af0, self=0x00006000026448a0) at ConcreteViewProp.swift:42:5
frame #14: 0x000000010450e754 Bluesky`protocol witness for AnyViewProp.set(value:onView:appContext:) in conformance ConcreteViewProp<τ_0_0, τ_0_1> at <compiler-generated>:0
frame #15: 0x000000010454b0e0 Bluesky`ExpoFabricView.updateProps(props=3 key/value pairs, self=0x00000001674171b0) at ExpoFabricView.swift:79:17
frame #16: 0x000000010454b1f0 Bluesky`@objc ExpoFabricView.updateProps(_:) at <compiler-generated>:0
frame #17: 0x000000010449b898 Bluesky`-[ExpoFabricViewObjC updateProps:oldProps:](self=0x00000001674171b0, _cmd="updateProps:oldProps:", props=std::__1::shared_ptr<const facebook::react::Props>::element_type @ 0x00000003129d9a18 strong=4 weak=1, oldProps=nullptr) at ExpoFabricViewObjC.mm:139:3
frame #18: 0x0000000104fb9cd0 Bluesky`RCTPerformMountInstructions(mutations=size=690, registry=0x0000600002611d40, observerCoordinator=0x00006000026110e8, surfaceId=1) at RCTMountingManager.mm:85:9
frame #19: 0x0000000104fb9910 Bluesky`-[RCTMountingManager performTransaction:]::$_1::operator(this=0x000000016bc80680, transaction=0x000000016bc80430, surfaceTelemetry=0x000000016bc80398)(facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&) const at RCTMountingManager.mm:273:9
frame #20: 0x0000000104fb98b4 Bluesky`decltype(std::declval<-[RCTMountingManager performTransaction:]::$_1&>()(std::declval<facebook::react::MountingTransaction const&>(), std::declval<facebook::react::SurfaceTelemetry const&>())) std::__1::__invoke[abi:ue170006]<-[RCTMountingManager performTransaction:]::$_1&, facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&>(__f=0x000000016bc80680, __args=0x000000016bc80430, __args=0x000000016bc80398) at invoke.h:340:25
frame #21: 0x0000000104fb985c Bluesky`void std::__1::__invoke_void_return_wrapper<void, true>::__call[abi:ue170006]<-[RCTMountingManager performTransaction:]::$_1&, facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&>(__args=0x000000016bc80680, __args=0x000000016bc80430, __args=0x000000016bc80398) at invoke.h:415:5
frame #22: 0x0000000104fb9828 Bluesky`std::__1::__function::__alloc_func<-[RCTMountingManager performTransaction:]::$_1, std::__1::allocator<-[RCTMountingManager performTransaction:]::$_1>, void (facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&)>::operator()[abi:ue170006](this=0x000000016bc80680, __arg=0x000000016bc80430, __arg=0x000000016bc80398) at function.h:193:16
frame #23: 0x0000000104fb8694 Bluesky`std::__1::__function::__func<-[RCTMountingManager performTransaction:]::$_1, std::__1::allocator<-[RCTMountingManager performTransaction:]::$_1>, void (facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&)>::operator()(this=0x000000016bc80678, __arg=0x000000016bc80430, __arg=0x000000016bc80398) at function.h:364:12
frame #24: 0x0000000104df55bc Bluesky`std::__1::__function::__value_func<void (facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&)>::operator()[abi:ue170006](this=0x000000016bc80678, __args=0x000000016bc80430, __args=0x000000016bc80398) const at function.h:518:16
frame #25: 0x0000000104df4598 Bluesky`std::__1::function<void (facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&)>::operator()(this= Lambda in File RCTMountingManager.mm at Line 272, __arg=0x000000016bc80430, __arg=0x000000016bc80398) const at function.h:1169:12
frame #26: 0x0000000104df43f4 Bluesky`facebook::react::TelemetryController::pullTransaction(this=0x000000010ad0d510, willMount= Lambda in File RCTMountingManager.mm at Line 268, doMount= Lambda in File RCTMountingManager.mm at Line 272, didMount= Lambda in File RCTMountingManager.mm at Line 276) const at TelemetryController.cpp:39:3
frame #27: 0x0000000104fb3eb8 Bluesky`-[RCTMountingManager performTransaction:](self=0x00006000026110e0, _cmd="performTransaction:", mountingCoordinator=0x000000010ad0d348) at RCTMountingManager.mm:267:48
frame #28: 0x0000000104fb3ca8 Bluesky`-[RCTMountingManager initiateTransaction:](self=0x00006000026110e0, _cmd="initiateTransaction:", mountingCoordinator=0x000000010ad0d348) at RCTMountingManager.mm:255:5
frame #29: 0x0000000104fb36bc Bluesky`__42-[RCTMountingManager scheduleTransaction:]_block_invoke(.block_descriptor=0x00006000019ee780) at RCTMountingManager.mm:208:5
frame #30: 0x0000000104c05e7c Bluesky`__RCTExecuteOnMainQueue_block_invoke(.block_descriptor=0x0000600000fb77b0) at RCTUtils.m:279:7
frame #31: 0x000000010a5f3ec4 libdispatch.dylib`_dispatch_call_block_and_release + 24
frame #32: 0x000000010a5f573c libdispatch.dylib`_dispatch_client_callout + 16
frame #33: 0x000000010a6053f8 libdispatch.dylib`_dispatch_main_queue_drain + 1228
frame #34: 0x000000010a604f1c libdispatch.dylib`_dispatch_main_queue_callback_4CF + 40
frame #35: 0x000000018040e9a0 CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
frame #36: 0x00000001804090b8 CoreFoundation`__CFRunLoopRun + 1936
frame #37: 0x0000000180408514 CoreFoundation`CFRunLoopRunSpecific + 572
frame #38: 0x000000018ef06ae4 GraphicsServices`GSEventRunModal + 160
frame #39: 0x00000001853e8040 UIKitCore`-[UIApplication _run] + 868
frame #40: 0x00000001853ebcc8 UIKitCore`UIApplicationMain + 124
frame #41: 0x000000010417fcfc Bluesky`main(argc=1, argv=0x000000016bc81ac0) at main.m:7:12
frame #42: 0x00000001094cd544 dyld_sim`start_sim + 20
frame #43: 0x00000001095a60e0 dyld`start + 2360
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment