Re: gm convert bla.jpg bla.pdf multiplies SEVENFOLD the file's size !

Bob Friesenhahn <[email protected]> Mon, 10 Dec 2018 08:04:14 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.bugs
Message-ID <[email protected]>
On Mon, 10 Dec 2018, Mehdi wrote:

> Reading symbols from /usr/local/bin/gm...done.
> (gdb) run convert -limit memory 1GB -define jpeg:preserve-settings *.JPG
> output.pdf
> Starting program: /usr/local/bin/gm convert -limit memory 1GB -define
> jpeg:preserve-settings *.JPG output.pdf
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
>
> Program received signal SIGBUS, Bus error.
> 0x000000000051a8b2 in ReadJPEGImage (image_info=0x826870,
>    exception=0x7fffffffc9a0) at coders/jpeg.c:1562
> 1562              *q++=image->colormap[index];

At that point, please include the output from

   bt

and

   info locals


The problem is occuring while reading a grayscale JPEG file.  Perhaps 
the system is not able to provide more memory.

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