-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault for some GIF files #206
Comments
I'm not replicating this with the provided GIF. Can you say which version of gifsicle you're using and which platform? |
Thanks for the quick response! We're using gifsicle 1.96 on various versions of Debian (mostly 10 and 11). Please tell me if you need any other details! Later edit: here's more details:
I guess we have a version that hasn't been publicly released yet and if I remember well, it contains a bug fix that we reported sometime last |
After speaking with my colleague @simondud, this is the issue that was fixed in this commit. After the commit, we took the master branch, built it and that's what we currently use (and returns the segmentation error above). Please tell me if you need more details. Thanks! P.S. We are happy to donate to the development of this project, so please tell us if you have any system where we could financially contribute to your project. |
Hi @pdobrescu, I think I misunderstood your comment. I thought you said that the current master branch does not crash, but you're saying it does. Let me look again. |
On x86-64 Amazon Linux, I see no segmentation fault. This is compiled with -fsanitize=undefined -fsanitize=address. The sha256sum of the input GIF is 678379dab089044e55de5baa3219411d84642ead6ae12cb2a48ab70db09a2aa6; I am using |
So I do need more details. Feel free to use email for that, or here is also fine. |
Hello, and thanks for the very useful tool!
We use it to compress GIF files and for some files, we get a segmentation fault error when running it like this:
gifsicle -O3 --lossy=10 --colors=256 /path/to/source.gif -o /path/to/destination.gif
Here's an example file that returns this error:
Any ideas/suggestions would be more than welcome! Thanks!
The text was updated successfully, but these errors were encountered: