Closed petrukhnov closed 6 years ago
Seems you have a map inside a singleton object, which is frozen. This need to be fixed by rewrite of Map implementation in K/N stdlib.
What could be good workaround?
For now, marking object with @ThreadLocal
annotation, in general - we are discussing it.
Shall be fixed with 63d72d3bb358580ec1b51d25b7e327f3efd931b2
Not fixed. Running with kotlin-native-gradle-plugin:0.8.2 give same error.
@petrukhnov It is fixed on master, and will be fixed on next release. Once a version is release, it doesn't change, and version 0.8.2 predates this bug report
Above, it says that it is "fixed with 63d72d3", which belongs to https://github.com/JetBrains/kotlin-native/pull/1876 On the page: https://github.com/JetBrains/kotlin-native/releases/tag/v0.8.2, it says "Bugfixes: ...... #1876."
Anyway, thx for information, that it is not released yet.
Hum, weird… maybe I'm mistaken then
On Tue, Aug 21, 2018, 11:19 AM Konstantin Petrukhnov < notifications@github.com> wrote:
Above, it says that it is "fixed with 63d72d3 https://github.com/JetBrains/kotlin-native/commit/63d72d3bb358580ec1b51d25b7e327f3efd931b2", which belongs to #1876 https://github.com/JetBrains/kotlin-native/pull/1876 On the page: https://github.com/JetBrains/kotlin-native/releases/tag/v0.8.2, it says "Bugfixes: ...... #1876 https://github.com/JetBrains/kotlin-native/pull/1876."
Anyway, thx for information, that it is not released yet.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JetBrains/kotlin-native/issues/1873#issuecomment-414609172, or mute the thread https://github.com/notifications/unsubscribe-auth/AGpvBZpZzoXntLVk8Xe5wEbLSabIwZ8oks5uS9CwgaJpZM4V6F4V .
With 0.9 it looks fixed. No crash anymore.
Runnable example: https://github.com/JetBrains/kotlin-mpp-example/pull/5 App crashes immediately after start.