I recently faced this issue when trying to display a PNG from my drawable folder. The problem turned out to be the image size or format, which wasn't compatible with the decoder used by Jetpack Compose/Compose Multiplatform.
By compressing the images, the decoder was able to load them properly, and the crash no longer occurred.