Re: [CinePaint] Bug in tiff plugin

Frank Peters <[email protected]> Thu, 17 Jun 2010 10:32:29 -0400
Newsgroups gmane.comp.video.cinepaint.user
Message-ID <[email protected]>
On Wed, 16 Jun 2010 22:37:52 -0700
Peter Langfelder <[email protected]> wrote:

> 
> I'm encountering the following bug upon trying to save tiff images:
> 
> tiff.c:328
> /usr/local/lib/cinepaint/0.25.0/plug-ins/tiff
> tiff.c:471 run
> *** glibc detected *** /usr/local/lib/cinepaint/0.25.0/plug-ins/tiff:
> malloc(): memory corruption: 0x093b2c00 ***
> 
> Another instance of the same problem, this time when I tried to run
> cinepaint through gdb is attached below.
> Does anyone have suggestions, is there a patch?
> 

Saving tiff files works without problem on my CVS version of cinepaint.

You may want to try compiling again with the option "--enable-debug."
In conjunction with gdb, this may provide more information such as
contents of variables and memory locations at the time of crash.

Also, if you need tiff format, a work around is possible until things
get straightened out.  Just save the file as PNM format. PNM accepts
16-bit data.  Then convert to TIFF manually with "convert"  from
ImageMagick (or GraphicsMagick) or "pnmtotiff" from NetPBM.

Frank Peters

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo