Hi guys!
Our multiplatform iOS app freezes when run from XCode after upgrading Kotlin to 1.9.2 (from 1.8.22)
In 10 seconds iPhone CPU usage goes from 20% to 200% and then the app freezes completely.
Looking into XCode CPU profiler, the source of the load is “GC finalizer processor” thread, which is loaded 200%.
See profiler screenshot below.
This happens only while development (the app launched from XCode).
This happens on a physical iPhone only.
No freeze on the simulator.
No freeze, if the iPhone is NOT connected to Mac.
No freeze on Kotlin 1.8.22.
A really weird issue.
I wonder if anyone has noticed a similar behavior after upgrading to Kotlin 1.9?