-
Notifications
You must be signed in to change notification settings - Fork 133
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
Early crash on app start when encoding RUM view event #1372
Comments
Hi @VaryHice ! Thank you for the report 🙏 It looks like it fails to encode the user-info when writing events in RUM. Do you set any user extra-info that it may have issues encoding in old iOS versions? |
Hello @maxep!
where But I've added this only in recent versions, while crash appears in earlier versions where no extra user info is set 🤷♂️ |
Also I noticed other classes in crash logs too, which Crashlytics merged into one issue: RUMOperatingSystem
RUMConnectivity
|
Hi @VaryHice 👋 Thank you very much for the stacktraces, we are investigating this issue. I will keep you posted. |
@maxep Are there any updates on this Crash issue? I am facing similar crashes. Note: I am using Attaching the stack traces below.
|
I'm having a similar issue after upgrading to Datadog V2
|
Hey! sorry for the late reply.. we are still investigating this. @sathriyanIDPal and @victors1681 could you please confirm that you are also experiencing this crash on iOS 12 only? Thank you for your help 🙏 |
Hi @maxep, Thanks. |
@maxep that's correct! iOS 12.x
please let me know if you need more inputs |
@maxep I got another crash from iOS 15.7.8
|
Hey @VaryHice, @sathriyanIDPal We are not able to reproduce the crash on our end. The crash appears in the Swift runtime and there is not much we can do other than a workaround for iOS12, but it will be hard to find without steps to reproduce... We had a similar issue #790 and a fix was applied to Swift, it looks like a similar case here. Could you share which Xcode version was used to built the faulty app version? @victors1681 👋 |
Hi @maxep |
@maxep Sure.. it could be. I had to create an util initialize the logger using a global variable and check if the class is already initialized the reason is after initializing the logger using the I'm going to revert my changes to report the issue without using the global
|
Hello @maxep, We have used Xcode 14.3.1 |
Hey @sathriyanIDPal and @VaryHice 👋 Are you still not able to reproduce on your side? we don't have any clue on what could cause this, other than an issue in Swift runtime. Additionally to Xcode, what dependency manager do you use? Thank you for your help 🙏 |
@maxep 👋 |
Hello, @maxep. Are you still not able to reproduce on your side? What dependency manager do you use? Are you seeing any warnings when building your application that could relate to the issue? Thanks. |
We are also experiencing this for iOS versions 12.5.x for our Flutter application that runs on iOS. This is the most recent stack trace:
|
Any solution? |
The crash
Appears in 1-2 sec after app start.
SIGABRT (ABORT)
Datadog SDK versions:
At least since 1.19.0 and till 1.20.0 (latest at the moment)
Last stable Datadog SDK version:
Unknown
Volume:
18 events by now, it's less that 1%; but all happened on iOS 12, can't tell how much is it among iOS 12 users
OS version:
iOS 12 only
Deployment Target:
iOS 12 min, iPhone and iPad
Device version:
Different iPhone models; but my users almost don't use iPad
Environment:
Nothing special
The text was updated successfully, but these errors were encountered: