Michael Paus
06/17/2025, 4:08 PMUncaught (in promise) RuntimeError: unreachable
The error messages don’t help me at all to track this down to the source.
It seems to be in the compiled wasm code and it seems to be related to the Ktor client.
Can anybody help me to track that down to my source code?bashor
06/17/2025, 10:54 PMbashor
06/17/2025, 10:54 PMbashor
06/17/2025, 10:54 PMMichael Paus
06/18/2025, 7:58 AM-Xwasm-debugger-custom-formatters -Xwasm-attach-js-exception
but not using them doesn’t make a difference.
In the meantime I found out that doing a clean build with wasmJsBrowserDevelopmentExecutableDistribution
and loading the result onto my server works without problems as before.
If I then do another clean build with wasmJsBrowserDistribution
it produces the crash again. So, it looks to me as if there is some code optimization issue which is causing the problem.
I am using:
compose = “1.8.2” but “1.8.1" shows the same problem
kotlin = “2.1.21”Michael Paus
06/18/2025, 8:58 AM