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

[iOS][Produciton] App Hangs with animation stack traces #6791

Open
jayshah123 opened this issue Dec 5, 2024 · 1 comment
Open

[iOS][Produciton] App Hangs with animation stack traces #6791

jayshah123 opened this issue Dec 5, 2024 · 1 comment
Labels
Missing repro This issue need minimum repro scenario Platform: iOS This issue is specific to iOS

Comments

@jayshah123
Copy link

jayshah123 commented Dec 5, 2024

Description

We see many un-reproducible app hangs on ios with following stack trace:

The UI where we see this is a use of modal + text-input + keyboard interaction:

  QuartzCore          0x198365c8c  -[CALayer animationForKey:]
  QuartzCore          0x198365c74  -[CALayer animationForKey:]
  UIKitCore           0x1991e2cf8  -[UIViewAnimationState _shouldAnimateAdditivelyForKey:onLayer:forView:]
  UIKitCore           0x199096f8c  -[UIViewAnimationState _shouldStartFromCurrentStateForLayer:key:forView:]
  UIKitCore           0x199096924  -[UIViewAnimationState animationForLayer:forKey:forView:]
  UIKitCore           0x199096610  -[UIViewAnimationState actionForLayer:forKey:forView:]
  UIKitCore           0x19909569c  +[UIView(Animation) _defaultUIViewActionForLayer:forKey:]
  UIKitCore           0x199095850  -[UIView(UIKitManual) actionForLayer:forKey:]
  QuartzCore          0x198305bd4  -[CALayer actionForKey:]
  QuartzCore          0x198305a48  CA::Layer::begin_change
  QuartzCore          0x198362d0c  CA::Layer::set_bounds
  QuartzCore          0x198362b9c  -[CALayer setBounds:]
  UIKitCore           0x199081078  -[UIView _backing_setBounds:]
  UIKitCore           0x19907f5f0  -[UIView(Geometry) setBounds:]
  MyApp            0x1032e32c0  -[UIView(React) reactSetFrame:] (UIView+React.m:205)
  MyApp            0x1032d89c8  -[RCTView reactSetFrame:] (RCTView.m:785)
  UIKitCore           0x19a59f510  +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:]
  UIKitCore           0x199296b60  +[UIView(UIViewAnimationWithBlocks) animateWithDuration:delay:options:animations:completion:]
  MyApp            0x1032a6f28  -[RCTLayoutAnimation performAnimations:withCompletionBlock:] (RCTLayoutAnimation.m:121)
  MyApp            0x1032cb9b8  __51-[RCTUIManager uiBlockWithLayoutUpdateForRootView:]_block_invoke.99 (RCTUIManager.m:688)
  MyApp            0x1032cec34  __44-[RCTUIManager flushUIBlocksWithCompletion:]_block_invoke (RCTUIManager.m:1208)
  MyApp            0x1032ced24  __44-[RCTUIManager flushUIBlocksWithCompletion:]_block_invoke_2 (RCTUIManager.m:1228)
  libdispatch         0x19e5a036c  _dispatch_call_block_and_release
  libdispatch         0x19e5a20cc  _dispatch_client_callout
  libdispatch         0x19e5b09dc  _dispatch_main_queue_drain
  libdispatch         0x19e5b05f8  _dispatch_main_queue_callback_4CF
  CoreFoundation      0x1968a0200  __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
  CoreFoundation      0x19689d43c  __CFRunLoopRun
  CoreFoundation      0x19689c82c  CFRunLoopRunSpecific
  GraphicsServices    0x1e287c1c0  GSEventRunModal
  UIKitCore           0x199402eac  -[UIApplication _run]
  UIKitCore           0x1994b15b0  UIApplicationMain
  MyApp            0x102d61b90  main (main.m:14)
  0x1bc28aec8  <redacted>

Steps to reproduce

no-repor

Snack or a link to a repository

https://snack.expo.io/

Reanimated version

3.7.0

React Native version

0.73.9

Platforms

iOS

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Paper (Old Architecture)

Build type

Release app & production bundle

Device

Real device

Device model

Iphone 17, iPhone 18

Acknowledgements

Yes

@github-actions github-actions bot added the Platform: iOS This issue is specific to iOS label Dec 5, 2024
Copy link

github-actions bot commented Dec 5, 2024

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

@github-actions github-actions bot added the Missing repro This issue need minimum repro scenario label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing repro This issue need minimum repro scenario Platform: iOS This issue is specific to iOS
Projects
None yet
Development

No branches or pull requests

1 participant