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

[BUG] iPad Crash on Launch #265

Closed
3 tasks done
dcrawbuck opened this issue Nov 11, 2024 · 2 comments
Closed
3 tasks done

[BUG] iPad Crash on Launch #265

dcrawbuck opened this issue Nov 11, 2024 · 2 comments

Comments

@dcrawbuck
Copy link

New issue checklist

  • I have reviewed the README and documentation
  • I have searched existing issues and this is not a duplicate
  • I have attempted to reproduce the issue and include an example project.

General information

  • Superwall version: v3.11.3
  • iOS version(s): 18.0, 18.1
  • CocoaPods/Carthage version (if applicable): n/a
  • Xcode version: 16.0
  • Devices/Simulators affected: iPad Pro 11-inch 3rd gen, M4
  • Reproducible in the demo project? (Yes/No): No

Describe the bug

Crashes on launch with certain iPads, including simulator. Observed it crashing on iPad Pro 11 in. 3rd gen and M4.

Steps to reproduce

I was able to reproduce once on a physical device from Testflight and once on simulator, but not since (no code changes). I was not able to reproduce in example project, no obvious difference between example project and mine.

Other Information

Seems similar to this issue reported to Superwall-Flutter: superwall/Superwall-Flutter#40

Two different but similar stack traces, both on launch on iPads only.

Crashed: com.apple.root.user-initiated-qos.cooperative
0                                 0xa7970c AppSessionManager.detectNewSession() + 127 (AppSessionManager.swift:127)
1  libswift_Concurrency.dylib     0x5e8d4 <redacted> + 252
2  libswift_Concurrency.dylib     0x5fde4 <redacted> + 76
3  libdispatch.dylib              0x15d8c <redacted> + 392
4  libdispatch.dylib              0x16590 <redacted> + 156
5  libsystem_pthread.dylib        0x4c40 _pthread_wqthread + 228
6  libsystem_pthread.dylib        0x1488 start_wqthread + 8
        
Crashed: com.apple.root.user-initiated-qos.cooperative
0                                 0xab4c30 ConfigManager.preloadPaywalls(withIdentifiers:) + 465 (ConfigManager.swift:465)
1  libswift_Concurrency.dylib     0x5e8d4 <redacted> + 252
2  libswift_Concurrency.dylib     0x5fde4 <redacted> + 76
3  libdispatch.dylib              0x15d8c <redacted> + 392
4  libdispatch.dylib              0x16590 <redacted> + 156
5  libsystem_pthread.dylib        0x4c40 _pthread_wqthread + 228
6  libsystem_pthread.dylib        0x1488 start_wqthread + 8
@yusuftor
Copy link
Collaborator

This stack trace looks similar to a crash that was occurring with beta versions of iOS 18. Can you confirm that the affected users are NOT on the beta version?

@dcrawbuck
Copy link
Author

Ah, that seems to be it then. Affected users are only on the beta and can't reproduce on non-beta iOS. Will close this issue and only reopen if it happens on non-beta (and check the iOS version more closely before reporting next time). Thanks!

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