kin-ecosystem-ios-sdk icon indicating copy to clipboard operation
kin-ecosystem-ios-sdk copied to clipboard

Fatal Exception: NSInternalInconsistencyException on FetchedResultsCollectionSection.controllerDidChangeContent(_:)

Open guillemgbt opened this issue 5 years ago • 2 comments

Dear Kin team, we are experiencing an issue with the KinEcosystem SDK in our iOS application.

Sometimes, when we launch the ecosystem and we navigate to the transactions section, it crashes. We have tracked the reason for the crash and it comes inside KinEcosystem, FetchedResultsCollectionSection.swift - Line 63 closure #1 in FetchedResultsCollectionSection.controllerDidChangeContent(_:)

Fatal Exception: NSInternalInconsistencyException attempt to perform an insert and a move to the same index path (<NSIndexPath: 0xc1b9e7ece3f99eca> {length = 2, path = 0 - 0})

It is an issue that sometimes happend and sometimes not, we have not been able to reproduce it consistently. Yet while testing our new implementations we are encountering this crash quite often.

We have intalled KinEcosystem SDK through Cocoapods. This are the modules installed and respective versions that appear in the Podfile.lock

  • KinAppreciationModuleOptionsMenu (0.0.4)
  • KinCoreSDK (0.8.1):
    • Sodium (= 0.8.0)
    • StellarKit (= 0.4.1)
  • KinEcosystem (1.2.8):
    • KinAppreciationModuleOptionsMenu (= 0.0.4)
    • KinMigrationModule (= 0.1.3)

Thanks so much for your hard work.

guillemgbt avatar Oct 17 '19 16:10 guillemgbt

I've had a look into the CoreDataStatckModule, but need more information to continue. To help us investigate, it would be great if you can send us the stack trace of the crash the next time you encounter it. Thanks.

clxclx07 avatar Oct 22 '19 19:10 clxclx07

@guillemgbt ^

chaseeb avatar Oct 22 '19 20:10 chaseeb