Hi All :wave: , We are running into an error recen...
# multiplatform
k
Hi All 👋 , We are running into an error recently where seemingly GC is causing the iOS app to crash over time, it's hard to reproduce as it has a tendency to happen hours/days into running. Did anyone run into this or have any idea where to look? The stack trace beyond always points to a different place in code so beginning to think it's a GC issue and not related to any of those.
__pthread_kill + 8 (:-1)
kotlin::mm::internal::ObjectFactoryStorage<8ul, kotlin::gc::AllocatorWithGC<kotlin::gc::Allocator, kotlin::gc::ConcurrentMarkAndSweep::ThreadData> >::Producer::Insert(unsigned long) + 512
Exception Type:  EXC_CRASH (SIGABRT)
l
Last time I saw a sigabrt that was hard to reproduce, it was because the app had been backgrounded. If the app is bacbgrounded for 5 seconds and code is still running, you get a sigabrt.
Same with turning the device off by just pressing the power button (not fully turning off)
k
Thanks for the input, the app has background mode enabled and for long did not had this issue, also apart from these crashes it's working alright regardless of the foreground/background thing.