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

Crash with Session Replay SentryViewPhotographer #4558

Open
bruno-garcia opened this issue Nov 20, 2024 · 7 comments
Open

Crash with Session Replay SentryViewPhotographer #4558

bruno-garcia opened this issue Nov 20, 2024 · 7 comments

Comments

@bruno-garcia
Copy link
Member

bruno-garcia commented Nov 20, 2024

Platform

iOS, iPadOS

Environment

Production

Installed

Swift Package Manager

Version

8.40.1

Xcode Version

Not sure

Did it work on previous versions?

No response

Steps to Reproduce

  • We are using version 8.40.1 with SwiftUI
  • Crash happens on all iphone versions and affects 2% of the sessions and 0.5% of the users. It also happens on iPad.
  • It happens iOS version >= 17 & iPadOS version >= 17
  • Crash count decreased to half after 3 days so I am guessing it is happening for the same group of users again and again so they stop using the app.

Image

Expected Result

Doesn't crash

Actual Result

Crashing 2% of users

Are you willing to submit a PR?

No response

@bruno-garcia
Copy link
Member Author

Could this be related to: https://support.apple.com/en-us/105120 ?

@philipphofmann
Copy link
Member

We also see this in our internal SDK crash detection.

@kahest
Copy link
Member

kahest commented Nov 21, 2024

possibly related/duplicate: #4547

@philipphofmann philipphofmann changed the title Crash with Session Replay Crash with Session Replay in SentryViewPhotographer Nov 27, 2024
@philipphofmann philipphofmann moved this from Needs Discussion to Needs Investigation in Mobile & Cross Platform SDK Nov 27, 2024
@philipphofmann philipphofmann moved this from Needs Investigation to In Investigation in Mobile & Cross Platform SDK Nov 27, 2024
@kahest kahest changed the title Crash with Session Replay in SentryViewPhotographer Crash with Session Replay Nov 27, 2024
@philipphofmann
Copy link
Member

Crash happens on all iphone versions and affects 2% of the sessions and 0.5% of the users. It also happens on iPad.

@bruno-garcia, do you know how the customer came up with these numbers? If this is the case, we should see more crashes in our internal SDK crash detection. It could be that they have errors in the Cocoa SDK disabled or use a low sample rate for errors, but that's unlikely.

@Vladissqq
Copy link

Crash happens on all iphone versions and affects 2% of the sessions and 0.5% of the users. It also happens on iPad.

@bruno-garcia, do you know how the customer came up with these numbers? If this is the case, we should see more crashes in our internal SDK crash detection. It could be that they have errors in the Cocoa SDK disabled or use a low sample rate for errors, but that's unlikely.

Hi! We have the same issue in our app. It might be worth considering the problem in connection with the @react-navigation libraries. In our app, crashes usually occur when navigating between screens that are in different navigation stacks, and when there’s a screen transition animation. I was able to reproduce the issue on an iPhone SE 3rd gen (iOS 16.2) emulator and on a real iPhone 12 Pro (iOS 16.1.1).

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Nov 28, 2024
@brustolin
Copy link
Contributor

Thanks for the extra information @Vladissqq
We will investigate that too.

@kahest kahest changed the title Crash with Session Replay Crash with Session Replay SentryViewPhotographer Dec 11, 2024
@kahest
Copy link
Member

kahest commented Dec 12, 2024

Internal note: we can use internal tools to track this crash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: In Investigation
Development

No branches or pull requests

5 participants