You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use KMM within our iOS app. There is currently an issue with PLCrashReporter where the main thread locks up instead of crashing when there is an uncaught exception or fatal error thrown from Swift or Kotlin.
This results in even non KM crashes preventing the app from exiting properly, and instead just locking the UI until there is an overflow of some kind that actually crashes the application.
Hey @alexfanatics! Thank you for the detailed report and for using our SDK.
I'm able to replicate the issue using your demo application, thank you for sharing it. If I unlink the shared framework (KMM build), the app crashes as expected so it's definitely a compatibility issue between the KMM framework binary and PLCrashReporter.
Sadly, we do not support KMM at this point so we cannot prioritise further investigation. This crash seems to originate from PLCrashReporter, we can hope for a fix on their side.
I'm closing this ticket since the problem is outside the scope of our SDK, but feel free to add any additional findings. We will keep a eye on PLCrashReporter updates.
Describe the bug
We use KMM within our iOS app. There is currently an issue with PLCrashReporter where the main thread locks up instead of crashing when there is an uncaught exception or fatal error thrown from Swift or Kotlin.
This results in even non KM crashes preventing the app from exiting properly, and instead just locking the UI until there is an overflow of some kind that actually crashes the application.
The issue is described here: microsoft/plcrashreporter#293
Because DatadogCrashReporting uses PLCrashReporter, most Datadog users who use both crash reporting & KMM will be impacted by this.
Are you folks aware of this? Has anyone else had this issue?
Reproduction steps
I've put together a demo application which can reproduce this issue. https://github.com/alexfanatics/PLCrashReporterHangDemo
SDK logs
Expected behavior
The app should crash immediately and allow you to open the app and upload your specific crash report.
Affected SDK versions
Latest working SDK version
This is present in all SDK versions as all versions of PLCrashReporter have this issue
Did you confirm if the latest SDK version fixes the bug?
Yes
Integration Methods
Cocoapods
Xcode Version
15.3
Swift Version
swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
MacOS Version
Mac OS 14.4 23E214
Deployment Target
17.4
Device Information
No response
Other relevant information
No response
The text was updated successfully, but these errors were encountered: