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 in +[SentryProfiler slicedSamples:transaction:] with 8.3.0 #2797

Closed
FelixHerrmann opened this issue Mar 14, 2023 · 3 comments
Closed

Comments

@FelixHerrmann
Copy link
Contributor

Platform

iOS

Installed

Swift Package Manager

Version

8.3.0

Steps to Reproduce

  1. Integrate Sentry with the following configuration:
SentrySDK.start { options in
    options.dsn = "1234567890"
    options.tracesSampleRate = 0.2
    options.profilesSampleRate = 1.0
}
  1. Present view controllers with UIViewController.present(_:animated:completion:) or make request with URLSession until Sentry crashes

Expected Result

No crash

Actual Result

Crash from viewDidAppear swizzle:
Screenshot 2023-03-14 at 17 47 45

Crash from URLSessionTask swizzle:
Screenshot 2023-03-14 at 17 53 18

Are you willing to submit a PR?

No response

@FelixHerrmann
Copy link
Contributor Author

It is not crashing with 8.2.0, @armcknight I think you made the relevant change here in dbc67d2

@kahest
Copy link
Member

kahest commented Mar 14, 2023

Thanks for reporting! This is most likely a duplicate of #2779. Closing this issue in favor of the existing one.

@kahest kahest closed this as completed Mar 14, 2023
@github-project-automation github-project-automation bot moved this from Needs Discussion to Done in Mobile & Cross Platform SDK Mar 14, 2023
@kahest kahest closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2023
@FelixHerrmann
Copy link
Contributor Author

It is indeed, didn't saw it, my bad!

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

No branches or pull requests

2 participants