google / guetzli

Perceptual JPEG encoder
Apache License 2.0
12.91k stars 976 forks source link

`Segmentation fault: 11` on input image. #102

Closed MrJoy closed 7 years ago

MrJoy commented 7 years ago

The image seems valid, and is certainly readable and producing correct results for an array of tools / viewers I've tried it with. Instead of either being processed properly or producing an error about the file not being well-formed, guetzli segfaults when invoked against this image. I have not used any flags -- just guetzli input.jpg output.jpg. This is after installing guetzli for the first time via brew install guetzli, on a system running macOS 10.12.3.

Any other information I can provide?

employer-avatar

MrJoy commented 7 years ago

(Sorry, to be clear: the icon there is the offending image...)

robryk commented 7 years ago

This is most likely #38. While it's fixed, the Homebrew build recipe(?) hasn't been updated yet. I will try to cause that to happen tomorrow (#95).

In the meantime, following the instructions on how to compile Guetzli will work the problem around.

All that said, Guetzli will currently not do much with such small images, because they are too small for Butteraugli (our image comparator) to give very meaningful results.

MrJoy commented 7 years ago

Thanks! As for expectations: I'm just looking into the possibility of applying this in an automated way as part of an asset pipeline -- I'm not really expecting useful results on tiny files.