HI!
Trying to figure out a particularly odd crash report (via crashlytics).
Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x7558 __pthread_kill + 8
1 libsystem_pthread.dylib 0x7118 pthread_kill + 268
2 libsystem_c.dylib 0x1d178 abort + 180
3 libswiftCore.dylib 0x3b93a8 swift::fatalError(unsigned int, char const*, ...) + 134
4 libswiftCore.dylib 0x3b93c8 swift::warningv(unsigned int, char const*, char*) + 30
5 libswiftCore.dylib 0x3bdfd8 swift_deallocPartialClassInstance + 190
6 libswiftCore.dylib 0x3bde28 _swift_release_dealloc + 56
7 libswiftCore.dylib 0x3bec4c bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1> >::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 132
8 PSStore 0xab8de0 ThankYouViewController.viewCleanup() + 32 (TwoPhaseCommitHelper.swift:32)
Complete stackTrace here
The stack trace line that refers to our code points to a specific implementation of a ThreadedDictionary
where we are removing all the objects inside the internal storage:
We have not been able to reproduce this crash, however we are seeing multiple instances in our crash reports for it (All instances happening in iPadOS + 16.4.1 devices).
Is there anything relevant to take a look in the first 7 frames of the crash report to understand what could be the issue?
While researching on this, we identified a post with a very similar stacktrace entries: https://developer.apple.com/forums/thread/729196?login=true&page=1#752337022
We are not using GC or Unity, however the first entries in the stack trace look very similar.
Rgds!