fax2tiff segfaults (but libtiff-3.5.5 doesn't and it's not in portage). I have tried all ebuilds present in portage but there seems to be no alternative but to revert to 3.5.5. Reproducible: Always Steps to Reproduce: 1.Try to convert a G3 file (I will attach the G3 file in the command line example) with the following command: fax2tiff -s -M -4 -o test.tiff fn07d9577S0-514-849-1495.01 Actual Results: The application segfaults. Note that I have tried with different swithes (they seem to have changed in the newer versions). Expected Results: fax2tiff should convert the G3 file into a tiff file. The reasons I insist on using fax2tiff: 1.- reverse compatibility with many old scripts 2.- seems to be the only app that will merge multi-page faxes into 1 tiff file. 3.- quite simple to use. Note that I have been able to merge tiff-3.5.7 and tiff-3.5.5 (in that order) with the AUTOCLEAN=no. This results in a functionning fax2tiff and functionning tiff libs for other apps. But this not a nice "patch". To make the tiff-3.5.5.ebuild, simply copy the tiff-3.5.7.ebuildtiff-3.5.5.ebuild to and add the "old" to the download line as such: SRC_URI="ftp://ftp.remotesensing.org/pub/libtiff/old/${MY_P}.tar.gz .
Created attachment 29455 [details] A G3 sample file
Hmmm... 3.6.1 with lzw-compression barfs on it, but doesn't segfault. Check this bug for the last comment: http://bugzilla.remotesensing.org/show_bug.cgi?id=424 I'll go ahead and add the 3.5.5 tiff ebuild for now, but it looks like it needs a real upstream fix. sarnold@rama gentoo $ fax2tiff -s -M -4 -o test.tiff fn07d9577S0-514-849-1495.01Fax4Decode: fn07d9577S0-514-849-1495.01: Bad code word at scanline 94 (x 0). Fax4Decode: fn07d9577S0-514-849-1495.01: Uncompressed data (not supported) at scanline 252 (x 1726). Fax4Decode: fn07d9577S0-514-849-1495.01: Bad code word at scanline 296 (x 39). Fax4Decode: fn07d9577S0-514-849-1495.01: Bad code word at scanline 389 (x 0). Fax4Decode: fn07d9577S0-514-849-1495.01: Uncompressed data (not supported) at scanline 394 (x 0). Fax4Decode: fn07d9577S0-514-849-1495.01: Uncompressed data (not supported) at scanline 401 (x 38). Fax4Decode: fn07d9577S0-514-849-1495.01: Bad code word at scanline 404 (x 0). Fax4Decode: fn07d9577S0-514-849-1495.01: Bad code word at scanline 414 (x 39). Fax4Decode: fn07d9577S0-514-849-1495.01: Uncompressed data (not supported) at scanline 415 (x 38). Fax4Decode: fn07d9577S0-514-849-1495.01: Bad code word at scanline 418 (x 0). Fax4Decode: fn07d9577S0-514-849-1495.01: Bad code word at scanline 428 (x 0). Fax4Decode: fn07d9577S0-514-849-1495.01: Uncompressed data (not supported) at scanline 429 (x 1727). Fax4Decode: fn07d9577S0-514-849-1495.01: Bad code word at scanline 432 (x 0). Fax4Decode: fn07d9577S0-514-849-1495.01: Bad code word at scanline 440 (x 0). Fax4Decode: fn07d9577S0-514-849-1495.01: Bad code word at scanline 466 (x 0). ...