I have this problem when using coroutines, ktor an...
# kotlin-native
p
I have this problem when using coroutines, ktor and sqldelight in Kotlin Multiplatform on iOS
/Users/teamcity/buildAgent/work/4d622a065c544371/runtime/src/main/cpp/Memory.cpp:770: runtime assert: Must be positive
. I am currently looking at https://github.com/JetBrains/kotlin-native/blob/v1.3.1/runtime/src/main/cpp/Memory.cpp#L770 for clues. Anyone has any ideas how to go about this?
l
You're using Kotlin 1.3.1? Does the bug reproduces with 1.3.41?
a
Hello! Can you please provide more information on your use-case? It would be nice to have a reproducer of such behavior.
k
Stack trace if you could. Also, you can't use coroutines and sqldelight https://github.com/square/sqldelight/issues/1394