Re: [Geeqie-devel] Geeqie failed to open a g3 tiff fax file segmentation fault?
On Thu, 13 Dec 2012 10:28:23 +0100, Michael Schwendt wrote: > I've only had a brief look at Geeqie's image_load_tiff.c after compiling > from scratch. Comments in the source indidicate that using libtiff is > troublsome. Something in the way how libtiff is used may be the culprit. > > The following value is suspicous (-1): > > > rowsperstrip = 4294967295 > > > if( TIFFGetField(tiff, TIFFTAG_ROWSPERSTRIP, &rowsperstrip) ) > > If forcing this value to 1 instead of -1, the test image displays, but > is mirrored vertically. Haven't had time to dig further. The implementation might be incomplete, e.g. the "transform" value is set but not used elsewhere. Work-around: Compile Geeqie 1.1 with --disable-tiff -- Fedora release 18 (Spherical Cow) - Linux 3.6.10-4.fc18.x86_64 loadavg: 0.00 0.04 0.08 -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel
Re: [Geeqie-devel] Geeqie failed to open a g3 tiff fax file segmentation fault?
I've only had a brief look at Geeqie's image_load_tiff.c after compiling from scratch. Comments in the source indidicate that using libtiff is troublsome. Something in the way how libtiff is used may be the culprit. The following value is suspicous (-1): > rowsperstrip = 4294967295 > if( TIFFGetField(tiff, TIFFTAG_ROWSPERSTRIP, &rowsperstrip) ) If forcing this value to 1 instead of -1, the test image displays, but is mirrored vertically. -- Fedora release 18 (Spherical Cow) - Linux 3.6.10-4.fc18.x86_64 loadavg: 0.17 0.26 0.35 -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel
Re: [Geeqie-devel] Geeqie failed to open a g3 tiff fax file segmentation fault?
On Thu, 13 Dec 2012 16:39:11 +0800, Kite Lau wrote: > I do not have much knowledge to to backtracing now, but here is the error I > could see from the terminal (attached pls find the fax file in case you need > it): > > bash-4.2$ geeqie fax00047.tiff > libtiff-geeqie: 1: Strip out of range, max 1. > Segmentation faults. Thanks. That's specific to new code in Geeqie 1.1 and crashes in libtiff. Geeqie 1.0 is not affected. Backtrace following shortly... got to wait for downloading fresh -debuginfo packages. -- Fedora release 18 (Spherical Cow) - Linux 3.6.10-4.fc18.x86_64 loadavg: 0.16 0.53 0.43 -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel
Re: [Geeqie-devel] Geeqie failed to open a g3 tiff fax file segmentation fault?
On Thu, 13 Dec 2012 09:31:05 +0100 Michael Schwendt wrote: > 've never had any problems opening Fax G3 TIFF files with Geeqie. > Can you get a detailed backtrace so one can see where/how it crashes? > [With sufficiently modern Linux distributions, there are system services > that intercept crashes and create backtraces semi-automatically.] I do not have much knowledge to to backtracing now, but here is the error I could see from the terminal (attached pls find the fax file in case you need it): bash-4.2$ geeqie fax00047.tiff libtiff-geeqie: 1: Strip out of range, max 1. Segmentation faults. fax00047.tiff Description: Binary data -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel
Re: [Geeqie-devel] Geeqie failed to open a g3 tiff fax file segmentation fault?
On Thu, 13 Dec 2012 15:31:03 +0800, Kite Lau wrote: > Hi, as the subject. is g3 tiff format supported? When I try to open a g3 tiff > fax file, geeqie crashed. > It uses the gdk_pixbuf2 library to open most image file formats. I've never had any problems opening Fax G3 TIFF files with Geeqie. Can you get a detailed backtrace so one can see where/how it crashes? [With sufficiently modern Linux distributions, there are system services that intercept crashes and create backtraces semi-automatically.] -- Fedora release 18 (Spherical Cow) - Linux 3.6.10-4.fc18.x86_64 loadavg: 0.22 0.33 0.15 -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel
[Geeqie-devel] Geeqie failed to open a g3 tiff fax file segmentation fault?
Hi, as the subject. is g3 tiff format supported? When I try to open a g3 tiff fax file, geeqie crashed. Regards, Kite Lau m.com -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel