HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Repairing partially received faxes



Both those patches are already applied to my libtiff installation.

It appears that tif_decodestrip is set correctly (to JBIGDecode), but tif_decoderow is at its default value, and for some reason the latter is called for here. A stack trace is provided; though there's quite a bit missing (I'd want to compile with a lesser optimization level before doing much more debugging), it might give something of an idea of which code path we headed down before running into this issue.

(gdb) bt
#0 TIFFErrorExt (fd=0x7, module=0x507b10 "fax673.splitaaa.tif", fmt=0x2b360da4c588 "%s %s decoding is not implemented") at tif_error.c:64
#1 0x00002b360da227c0 in TIFFNoDecode (tif=0x507840, method=0x2b360da4c692 "scanline") at tif_compress.c:77
#2 0x00002b360da48e02 in TIFFReadScanline (tif=0x507840, buf=0x508030, row=0, sample=<value optimized out>) at tif_read.c:106
#3 0x0000000000402e19 in cpContig2ContigByRow (in=0x507840, out=0x507010, imagelength=1078, imagewidth=<value optimized out>, spp=<value optimized out>) at tiffcp.c:765
#4 0x00000000004023fe in tiffcp (in=0x507840, out=0x507010) at tiffcp.c:735
#5 0x00000000004047cd in main (argc=<value optimized out>, argv=0x7fff9d1ac588) at tiffcp.c:286
#6 0x00002b360e029374 in __libc_start_main (main=0x404430 <main>, argc=8, ubp_av=0x7fff9d1ac588, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff9d1ac578) at libc-start.c:238
#7 0x00000000004014d9 in _start ()
(gdb) print tif->tif_decoderow
$2 = (TIFFCodeMethod) 0x2b360da22820 <_TIFFNoRowDecode>


I'm guessing that my patch needs to be updated to set tif_decodestrip as well as tif_decoderow (several other decompressors appear to use the same method for both, so I'm presuming that they're compatible in the common case); I'm updating it and will report back.


____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions