apptentive / apptentive-ios

Apptentive Legacy SDK for iOS. See https://github.com/apptentive/apptentive-kit-ios for Version 6.
http://www.apptentive.com/
BSD 3-Clause "New" or "Revised" License
147 stars 103 forks source link

CRASH: Conversation.swift line 916 Conversation.merge(with:) #302

Closed NishanthMurugan closed 2 years ago

NishanthMurugan commented 2 years ago

App is crashing in production. Please find the crash log below and help to resolve it.

Crashed: com.apptentive.backend 0 libswiftCore.dylib 0x3820c assertionFailure(:_:file:line:flags:) + 312 1 libswiftCore.dylib 0x38510 isFastAssertConfiguration() + 102 2 ApptentiveKit 0x5c6c0 Conversation.merge(with:) + 916 (Conversation.swift:916) 3 ApptentiveKit 0x461bc Backend.loadConversation(from:) + 108 (Conversation.swift:108) 4 ApptentiveKit 0x794c8 specialized static CurrentLoader.loadLatestVersion(containerURL:environment:completion:) + 197 (Backend.swift:197) 5 ApptentiveKit 0x42d34 Backend.protectedDataDidBecomeAvailable(containerURL:cachesURL:environment:) + 1840 (:1840) 6 ApptentiveKit 0x17dc4 closure #1 in Apptentive.protectedDataDidBecomeAvailable(:) + 431 (Apptentive.swift:431) 7 ApptentiveKit 0x12cc4 thunk for @escaping @callee_guaranteed () -> () + 20 (:20) 8 libdispatch.dylib 0x24b4 _dispatch_call_block_and_release + 32 9 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20 10 libdispatch.dylib 0xb694 _dispatch_lane_serial_drain + 672 11 libdispatch.dylib 0xc214 _dispatch_lane_invoke + 436 12 libdispatch.dylib 0x16e10 _dispatch_workloop_worker_thread + 652 13 libsystem_pthread.dylib 0xdf8 _pthread_wqthread + 288 14 libsystem_pthread.dylib 0xb98 start_wqthread + 8

NishanthMurugan commented 2 years ago

Tracking this issue as part of new sdk https://github.com/apptentive/apptentive-kit-ios/issues/24