also something else thats weird, i am in a screens...
# coroutines
n
also something else thats weird, i am in a screenshare with friend, they have the issue that some coroutines work fine locally but break down once executed on their debian server, coroutines do not wait on the scope, they seem to just all start, and then the program closes they are on openjdk 1.8.0-171 on debian
e
Can you show a snippet of code?
n
one of the places that this happens i simplfied the code back to almost synchronous code and only http GET calls maybe the CIO engine is buggy, i am not sure, in other areas of the code heisenbugs just disappeared by adding
logger.debug()
calls my code lives here https://github.com/elytra/Voodoo/blob/rewrite/server-installer/src/main/kotlin/voodoo/server/Server.kt#L78 https://github.com/elytra/Voodoo/blob/rewrite/core/src/main/kotlin/voodoo/provider/Curse.kt#L206 https://github.com/elytra/Voodoo/blob/rewrite/core/src/main/kotlin/voodoo/curse/CurseClient.kt#L129 i will see what ahppens when switching out CIO for netty in ktor-client maybe
other than that i am super confused i cannot reproduce the deadlocks on my systems
i debugged all this is a screensharing session, doing small changes to the program and seeing the console on their system
e
CIO engine is very experimental and may be buggy. Please use netty engine if you are experiencing problems.
n
i will try