AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
October 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2004.10.17 15:42 "libtiff 3.7.0 dumps core while writing photoshop tag", by Bob Friesenhahn
2004.10.17 16:49 "Re: libtiff 3.7.0 dumps core while writing photoshop tag", by Bob Friesenhahn
2004.10.18 18:40 "Re: libtiff 3.7.0 dumps core while writing photoshop tag", by Andrey Kiselev
2004.10.18 19:03 "Re: libtiff 3.7.0 dumps core while writing photoshop tag", by Bob Friesenhahn

2004.10.18 19:03 "Re: libtiff 3.7.0 dumps core while writing photoshop tag", by Bob Friesenhahn

On Mon, 18 Oct 2004, Andrey Kiselev wrote:

> On Sun, Oct 17, 2004 at 11:49:19AM -0500, Bob Friesenhahn wrote:
> > Under FreeBSD, the debugger is showing me that the 'filename' argument
> > which is set to an invalid pointer value is being corrupted while
> > executing GraphicsMagick code.  Once this problem is resolved (bug may
> > be compiler specific), hopefully libtiff 3.7.0 will work better.
>
> I'm remember your eaarlier report abouth this problem, but I didn't
> found any criminal in the code that time. Am I understand correctly that
> the bug is in the GM code and not related to libtiff?

It is unclear.  This weekend I saw behavior in GDB which seems to defy 
reason (e.g. stack values zeroed but being mysteriously restored 
several lines of code later).  The mysterious part is in GM code which 
has not changed in at least three years and is executed when any file 
is read.  It is likely that everything is fine but GDB is sometimes 
not keeping track of the variables correctly (i.e. GDB bug).

GM is able to successfully write TIFF with Photoshop tags under Linux 
(without complaints from valgrind) but crashes under Solaris (32-bit 
SPARC) and FreeBSD (32-bit x86).  There is no crash with earlier 
libtiff versions. In my opinion there is a problem with the new 
libtiff but I don't know the cause.  Perhaps the size of something is 
wrong on systems other than Linux.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen