Re: image crop throws SIGABRT

Bob Friesenhahn <[email protected]> Wed, 21 Jul 2021 14:36:20 -0500 (CDT)
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
On Wed, 21 Jul 2021, Shane Bishop wrote:

> I've run into a bit of a problem that I can't find reported elsewhere, so
> I'm wondering if maybe this is some odd edge case I've created of my own
> making.
>
> This is on Debian 10 with GM "1.4+really1.3.35-1~deb10u1" (the latest
> stable on Debian).

It would be good to open a bug report on the GraphicsMagick bug 
tracker at SourceForge with your input image (make sure to included it 
in a zip archive to protect from SourceForge) and the utility command 
to cause the problem.  This will allow me to address this bug when I 
have time to do so.

Since this is a Debian package, you can also feel free to open a bug 
in Debian's bug tracker for GraphicsMagick.  This will make it much 
more likely that the bug gets fixed in the Debian package.

> Now, the reason I say "of my own making", is that this image was originally
> a CMYK JPG, and I used Imagick to convert it to sRGB and then to WebP,
> since libwebp (via cwebp) doesn't otherwise tolerate CMYK images.
> At any rate, another image produced with Imagick crops just fine, and has
> no issues whatsoever, so I'm not sure how isolated this problem is.

I am not sure either until I have time to investigate.

> Any ideas, workarounds, things to try?

Do you have strict memory limits configured?  I am assuming not but if 
you have an environment variable which is limiting memory, then 
perhaps that might cause a memory allocation to fail.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt