Describe the bug
Crash on Android 9.0 when loading GIF-image
To Reproduce
io.coil-kt:coil-gif to dependencies
Expected behavior
GIF picture will load and move
Logs/Screenshots
A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 8197 (AnimatedImageTh), pid 8010 (app.package.name)
Usage:

Image container:

Tested on devices:
Library version
version 0.6.0
Thanks for the report. My gut feeling says this is an issue with Android's ImageDecoder, but will explore further.
As a work-around I would use GifDecoder for all API levels at the moment.
Confirmed that it's an issue with Android's ImageDecoder APIs and not Coil. I filed a bug with a project that reproduces the issue (without Coil) on the Android bug tracker here.
To work around this crash, I would only register GifDecoder for all API levels.
I am getting this issue as well on Pixel 2XL running latest Android 9 firmware and can confirm if you use GifDecoder instead, it works without crashing.
@bveenvliet Yes, GifDecoder should still work fine on Android P and above.
Most helpful comment
Confirmed that it's an issue with Android's
ImageDecoderAPIs and not Coil. I filed a bug with a project that reproduces the issue (without Coil) on the Android bug tracker here.To work around this crash, I would only register
GifDecoderfor all API levels.