Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Native 76.1 with enabled new architecture causes crash #315

Open
jirka-oone opened this issue Nov 23, 2024 · 1 comment
Open

React Native 76.1 with enabled new architecture causes crash #315

jirka-oone opened this issue Nov 23, 2024 · 1 comment

Comments

@jirka-oone
Copy link

Development OS: Mac
Device OS & Version: iOS 17.6.1, iPhone 13
Versions:

  • react-native 76.1
  • @reactvision/react-viro: 2.41.6

Description

With enabled Fabric (New Architecture) AR screens aren't stable

Reproducible Demo

  1. launch AR screen with some 3D object
  2. close the AR scene
  3. the app crashes just after the AR scene is closed

note: with RN 76.1 and old architecture is ok

@jirka-oone jirka-oone changed the title React Native 76.1 with enabled new architecture crashes React Native 76.1 with enabled new architecture causes crash Nov 23, 2024
@Buthrakaur
Copy link

removeFromSuperlayer > superview > VRT3DObject >
Attempted to dereference garbage pointer at 0xcdd083a10.

Thread 0 Crashed:
0   libobjc.A.dylib                 0x305d5a414         objc_msgSend
1   UIKitCore                       0x31801486c         -[UIView _backing_removeFromSuperview]
2   UIKitCore                       0x31776a9d8         -[UIView(Hierarchy) removeFromSuperview]
3   smartguideplayer2               0x202e4c960         facebook::react::concreteComponentDescriptorConstructor<T>
4   smartguideplayer2               0x202e14bf4         facebook::react::concreteComponentDescriptorConstructor<T>
5   smartguideplayer2               0x202e08ef0         _ZN8facebook5react38concreteComponentDescriptorConstructorINS0_27ConcreteComponentDescriptorINS0_22ConcreteViewShadowNodeIXadL_ZNS0_34ActivityIndicatorViewComponentNameEEENS0_26ActivityIndicatorViewPropsENS0_33ActivityIndicatorViewEventEmitterENS0_26Act...
6   smartguideplayer2               0x202e08d0c         _ZN8facebook5react38concreteComponentDescriptorConstructorINS0_27ConcreteComponentDescriptorINS0_22ConcreteViewShadowNodeIXadL_ZNS0_34ActivityIndicatorViewComponentNameEEENS0_26ActivityIndicatorViewPropsENS0_33ActivityIndicatorViewEventEmitterENS0_26Act...
7   smartguideplayer2               0x202e1b210         facebook::react::concreteComponentDescriptorConstructor<T>
8   smartguideplayer2               0x20312d6f8         _ZN8facebook5react38concreteComponentDescriptorConstructorINS0_27ConcreteComponentDescriptorINS0_22ConcreteViewShadowNodeIXadL_ZNS0_25RNSSearchBarComponentNameEEENS0_17RNSSearchBarPropsENS0_24RNSSearchBarEventEmitterENS0_17RNSSearchBarStateELb0EEEEEEENS...
9   smartguideplayer2               0x202e1a070         facebook::react::concreteComponentDescriptorConstructor<T>
10  smartguideplayer2               0x202e19f8c         facebook::react::concreteComponentDescriptorConstructor<T>
11  libdispatch.dylib               0x3212ab7a4         _dispatch_call_block_and_release
12  libdispatch.dylib               0x3212ac77c         _dispatch_client_callout
13  libdispatch.dylib               0x32128de0c         _dispatch_main_queue_drain
14  libdispatch.dylib               0x32128da84         _dispatch_main_queue_callback_4CF$VARIANT$armv81
15  CoreFoundation                  0x3138419a8         __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
16  CoreFoundation                  0x313825644         __CFRunLoopRun
17  CoreFoundation                  0x313829d1c         CFRunLoopRunSpecific
18  GraphicsServices                0x383a41994         GSEventRunModal
19  UIKitCore                       0x317a57348         -[UIApplication _run]
20  UIKitCore                       0x317a56fc0         UIApplicationMain
21  smartguideplayer2               0x2022c14f8         <redacted>
22  <unknown>                       0x1aa204344         <redacted>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants