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
{{ message }}
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.
Hi, I am trying to integrate the Flurry SDK and it crashes several seconds after my app starts. I was able to reproduce the crash with a basic test project with Flurry as the only dependency. It appears there is an address sanitization issue that Xcode catches. One can work around this issue by turning off Runtime Sanitization but I have needed to use that to debug a few issues in some C code bundled with our app. In the interim I will probably just comment out the Flurry init code if I need to debug something with address sanitization turned on. If there's any other info you need, let me know. Below are the steps to reproduce.
Versions
Flurry 12.1.3
Swift 5
Targeting iOS 16.0
Running on real device running 16.1.1
MacOS 12.6
Xcode 14.0.1
Create a new SwiftUI project
Add the Flurry dependency per the README instructions (using the Swift package)
Edit the scheme used to run it, and enable Runtime Sanitization and the Detect use of stack after return option within the Diagnostics tab for that scheme
Insert the following in the main App file and run it:
Hi, I am trying to integrate the Flurry SDK and it crashes several seconds after my app starts. I was able to reproduce the crash with a basic test project with Flurry as the only dependency. It appears there is an address sanitization issue that Xcode catches. One can work around this issue by turning off
Runtime Sanitization
but I have needed to use that to debug a few issues in some C code bundled with our app. In the interim I will probably just comment out the Flurry init code if I need to debug something with address sanitization turned on. If there's any other info you need, let me know. Below are the steps to reproduce.Versions
Flurry
12.1.3
Swift
5
Targeting iOS
16.0
Running on real device running
16.1.1
MacOS
12.6
Xcode
14.0.1
Runtime Sanitization
and theDetect use of stack after return
option within theDiagnostics
tab for that schemeCrash output is:
The text was updated successfully, but these errors were encountered: