urbanairship / ios-library

Urban Airship iOS SDK
http://urbanairship.com
Apache License 2.0
478 stars 265 forks source link

Receptive crashes in Coredata class UrbanAirship iOS SDK #353

Closed snomula05 closed 1 year ago

snomula05 commented 1 year ago

Hi Team,

We are using UrbanAirship-iOS-SDK, we are getting repetitive crashes in CoreData UrbanAirship classes, please find the attached console log for your reference.

Currently we are using 'UrbanAirship-iOS-SDK', '~ 12.0.0'?, We are identified one update 12.1 available, the above issue fixed in this version or not?, kindly please let us know.

What are ways to reproduce the above issue in iOS devices?

These crashes are reported by the firebase analytics console.

AppCrash Console file. txt

rlepinski commented 1 year ago

I dont see anything Airship or Coredata related in your stacktrace. Maybe the wrong one?

snomula05 commented 1 year ago

I don't see anything Airship or Coredata related in your stack trace. Maybe the wrong one? In the below Screenshots marked lines are crashing the application, please find the attached screenshots for your reference and please find the below-attached files:

Airship Kit crash file-1.txt Airship Kit crash file-2.txt Airship Kit Crash file-3.txt [Airship Kit crash file-4.txt](https://github.com/urbanairship/ios-library/files/1090

Screenshot-7

8904/Airship.Kit.crash.file-4.txt) Airship Kit crash file-5.txt

Screesnhot-6 Screenshot-5

<img width="1440" alt="Screenshot-1" src="http ![Uploading S

Screenshot-4

creenshot-3.png…]()

s://user-images.githubusercontent.com/923761

Screenshot-2

71/223627438-2e379878-d667-463e-9df9-f00dc97e588f.png">

rlepinski commented 1 year ago

I am not seeing the reasons for the crash in the stack traces, just the path. I am not sure what the crashes are caused from, most this code has been rewritten in swift, so its very possible it no longer exists in recent versions of the SDK (16.11). I see a few patches for 12.x that fix issues with IAA and Message Center, so I would at least update to 12.1.2 to see if they go away. Ideally you update to 16.x though