Red Hat Bugzilla – Bug 142045
Segmentation fault on conversion to TIFF (possible libtiff bug)
Last modified: 2007-11-30 17:07:05 EST
ImageMagick tools appear to be generating segmentation faults with the conversion
of images to TIFF. I have only noticed this problem since the latest upgrade to the
ImageMagick suite as of Oct 20, 2004 and the libtiff package on the Oct 22 (see URL,
above). For example, running 'covert' on a valid JPEG or PNG file to the standard
output in TIFF format (using 'tif:-') will result in a segmentation fault. Using a simple
filename ('test.tif') will succeed, but running 'identify' on the newly created file results
in a segmentation fault.
For some reason, converting first to PNG and then to TIFF (through actual files)
appears to work successfully, even though direct conversion from a JPEG or
conversion through a pipe will fail.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Locate a valid image file, e.g. test.jpg or test.png
2. convert test.png tif:- > /dev/null
3. convert test.jpg test.tif
Actual Results: Segmentation fault (core dumped)
Expected Results: Valid image file created after converstion, no segmentation fault,
and no errors printed to the standard error.
Segmentation fault still occurs after update following latest security advisory
regarding ImageMagick on 8 Dec, 2004 (and the imlib libraries two days later).
I can confirm the problem still exists with ImageMagick-6.1.3-7
We're using RHEL 3 AS here.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.