ahodesuka / ahoviewer

A GTK image viewer, manga reader, and booru browser
MIT License
483 stars 30 forks source link

Animated GIFs cause crashes #84

Closed ahodesuka closed 4 years ago

ahodesuka commented 5 years ago

This seems to occur only with the booru browser.

jort93 commented 5 years ago

Animated gif's with the booru browser work on my windows 10 PC. (windows version 1809)

Seems to be a little more specific. I am using a gtx 1660 Ti and ryzen 2600 if that helps.

OrdinaryMagician commented 5 years ago

I can consistently reproduce this on Linux. All I have to do is pretty much search the "gif" or "animated_gif" tags on any booru and it'll crash every time.

ahodesuka commented 5 years ago

@OrdinaryMagician Do local GIFs work? Also a backtrace would be helpful.

OrdinaryMagician commented 5 years ago

OK this is annoying. I recompiled it so I could get debug symbols and now it stopped crashing.

ahodesuka commented 4 years ago

This seems to be more reproducible with the gdk-pixbuf-2.40.0, although after briefly looking into it - it seems to be an issue inside the gdk-pixbuf library itself. Even the developers them self know that their GIF decoder is ridden with bugs and want to move away from their own in-house decoder in favour of a library like giflib or libnsgif.

If I have some amount of free time I might try to use libnsgif directly for GIF files.