[CinePaint] Bug in tiff plugin

Peter Langfelder <[email protected]> Wed, 16 Jun 2010 22:37:52 -0700
Newsgroups gmane.comp.video.cinepaint.user
Message-ID <[email protected]>
Hi all,

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?

Thanks,

Peter



*** glibc detected *** /usr/local/lib/cinepaint/0.25.0/plug-ins/tiff:
double free or corruption (!prev): 0x080ceb30 ***
======= Backtrace: =========
/lib/libc.so.6[0x6e91a1]
/usr/local/lib/cinepaint/0.25.0/plug-ins/tiff[0x804d6f6]
/usr/local/lib/cinepaint/0.25.0/plug-ins/tiff[0x8056be3]
/usr/local/lib/libcinepaint.so.0(plugin_main+0x3a4)[0xb95204]
/usr/local/lib/cinepaint/0.25.0/plug-ins/tiff[0x80547bf]
/lib/libc.so.6(__libc_start_main+0xe6)[0x690cc6]
/usr/local/lib/cinepaint/0.25.0/plug-ins/tiff[0x804a961]
======= Memory map: ========
00110000-001c8000 r-xp 00000000 08:02 436295     /lib/libgio-2.0.so.0.2400.1
001c8000-001ca000 rw-p 000b8000 08:02 436295     /lib/libgio-2.0.so.0.2400.1
001ca000-00226000 r-xp 00000000 08:02 198397     /usr/lib/liboyranos.so.0.1.9
00226000-00228000 rw-p 0005b000 08:02 198397     /usr/lib/liboyranos.so.0.1.9
00228000-0036c000 r-xp 00000000 08:02 189970     /usr/lib/libxml2.so.2.7.7
0036c000-00371000 rw-p 00144000 08:02 189970     /usr/lib/libxml2.so.2.7.7
00371000-00372000 rw-p 00000000 00:00 0
00372000-00453000 r-xp 00000000 08:02 175224     /usr/lib/libstdc++.so.6.0.13
00453000-00457000 r--p 000e0000 08:02 175224     /usr/lib/libstdc++.so.6.0.13
00457000-00459000 rw-p 000e4000 08:02 175224     /usr/lib/libstdc++.so.6.0.13
00459000-0045f000 rw-p 00000000 00:00 0
0045f000-0047b000 r-xp 00000000 08:02 397785     /lib/libselinux.so.1
0047b000-0047c000 r--p 0001b000 08:02 397785     /lib/libselinux.so.1
0047c000-0047d000 rw-p 0001c000 08:02 397785     /lib/libselinux.so.1
0047d000-004a4000 r-xp 00000000 08:02 189930     /usr/lib/libpng12.so.0.43.0
004a4000-004a5000 rw-p 00027000 08:02 189930     /usr/lib/libpng12.so.0.43.0
004a5000-004aa000 r-xp 00000000 08:02 400858
/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
004aa000-004ab000 rw-p 00004000 08:02 400858
/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
004b3000-004f5000 r-xp 00000000 08:05 261490
/usr/local/lib/libcinepaintHalf.so.0.0.25
004f5000-004f6000 rw-p 00041000 08:05 261490
/usr/local/lib/libcinepaintHalf.so.0.0.25
004fc000-004fd000 r-xp 00000000 00:00 0          [vdso]
004fd000-00523000 r-xp 00000000 08:02 437326     /lib/libexpat.so.1.5.2
00523000-00525000 rw-p 00025000 08:02 437326     /lib/libexpat.so.1.5.2
00525000-00550000 r-xp 00000000 08:02 401990
/usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
00550000-00551000 rw-p 0002b000 08:02 401990
/usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
0063e000-00649000 r-xp 00000000 08:02 216749
/usr/lib/libpangocairo-1.0.so.0.2800.0
00649000-0064a000 rw-p 0000a000 08:02 216749
/usr/lib/libpangocairo-1.0.so.0.2800.0
00654000-00672000 r-xp 00000000 08:02 393812     /lib/ld-2.12.so
00672000-00673000 r--p 0001d000 08:02 393812     /lib/ld-2.12.so
00673000-00674000 rw-p 0001e000 08:02 393812     /lib/ld-2.12.so
0067a000-007ff000 r-xp 00000000 08:02 397780     /lib/libc-2.12.so
007ff000-00800000 ---p 00185000 08:02 397780     /lib/libc-2.12.so
00800000-00802000 r--p 00185000 08:02 397780     /lib/libc-2.12.so
00802000-00803000 rw-p 00187000 08:02 397780     /lib/libc-2.12.so
00803000-00806000 rw-p 00000000 00:00 0
00808000-0080b000 r-xp 00000000 08:02 397782     /lib/libdl-2.12.so
0080b000-0080c000 r--p 00002000 08:02 397782     /lib/libdl-2.12.so
0080c000-0080d000 rw-p 00003000 08:02 397782     /lib/libdl-2.12.so
0080f000-00826000 r-xp 00000000 08:02 397790     /lib/libpthread-2.12.so
00826000-00827000 r--p 00016000 08:02 397790     /lib/libpthread-2.12.so
00827000-00828000 rw-p 00017000 08:02 397790     /lib/libpthread-2.12.so
00828000-0082a000 rw-p 00000000 00:00 0
0082c000-00854000 r-xp 00000000 08:02 437325     /lib/libm-2.12.so
00854000-00855000 r--p 00027000 08:02 437325     /lib/libm-2.12.so
00855000-00856000 rw-p 00028000 08:02 437325     /lib/libm-2.12.so
00858000-0086a000 r-xp 00000000 08:02 406078     /lib/libz.so.1.2.3
0086a000-0086b000 rw-p 00011000 08:02 406078     /lib/libz.so.1.2.3
0086d000-00874000 r-xp 00000000 08:02 397793     /lib/librt-2.12.so
00874000-00875000 r--p 00006000 08:02 397793     /lib/librt-2.12.so
00875000-00876000 rw-p 00007000 08:02 397793     /lib/librt-2.12.so
00878000-00886000 r-xp 00000000 08:02 216534     /usr/lib/libelektra.so.3.0.0
00886000-00887000 rw-p 0000d000 08:02 216534     /usr/lib/libelektra.so.3.0.0
00898000-00997000 r-xp 00000000 08:02 397794     /lib/libglib-2.0.so.0.2400.1
00997000-00998000 rw-p 000ff000 08:02 397794     /lib/libglib-2.0.so.0.2400.1
00a87000-00a8b000 r-xp 00000000 08:02 132056
/usr/lib/libcanberra-gtk.so.0.1.6
00a8b000-00a8c000 rw-p 00003000 08:02 132056
/usr/lib/libcanberra-gtk.so.0.1.6
00ab9000-00ac1000 r-xp 00000000 08:02 216745     /usr/lib/libXrender.so.1.3.0
00ac1000-00ac2000 rw-p 00008000 08:02 216745     /usr/lib/libXrender.so.1.3.0
00ac4000-00ac6000 r-xp 00000000 08:02 216754     /usr/lib/libXinerama.so.1.0.0
00ac6000-00ac7000 rw-p 00001000 08:02 216754     /usr/lib/libXinerama.so.1.0.0
00ac9000-00ae6000 r-xp 00000000 08:02 216742     /usr/lib/libxcb.so.1.1.0
00ae6000-00ae7000 rw-p 0001c000 08:02 216742     /usr/lib/libxcb.so.1.1.0
00ae9000-00aeb000 r-xp 00000000 08:02 216767     /usr/lib/libXcomposite.so.1.0.0
00aeb000-00aec000 rw-p 00001000 08:02 216767     /usr/lib/libXcomposite.so.1.0.0
00aee000-00af0000 r-xp 00000000 08:02 216768     /usr/lib/libXdamage.so.1.1.0
00af0000-00af1000 rw-p 00001000 08:02 216768     /usr/lib/libXdamage.so.1.1.0
00af4000-00af6000 r-xp 00000000 08:02 189931     /usr/lib/libXau.so.6.0.0
00af6000-00af7000 rw-p 00001000 08:02 189931     /usr/lib/libXau.so.6.0.0
00af9000-00b0e000 r-xp 00000000 08:02 397784     /lib/libresolv-2.12.so
00b0e000-00b0f000 r--p 00014000 08:02 397784     /lib/libresolv-2.12.so
00b0f000-00b10000 rw-p 00015000 08:02 397784     /lib/libresolv-2.12.so
00b10000-00b12000 rw-p 00000000 00:00 0
00b14000-00b1d000 r-xp 00000000 08:02 216766     /usr/lib/libXcursor.so.1.0.2
00b1d000-00b1e000 rw-p 00008000 08:02 216766     /usr/lib/libXcursor.so.1.0.2
00b20000-00b24000 r-xp 00000000 08:02 216757     /usr/lib/libXfixes.so.3.1.0
00b24000-00b25000 rw-p 00003000 08:02 216757     /usr/lib/libXfixes.so.3.1.0
00b27000-00b2b000 r-xp 00000000 08:02 397795     /lib/libgthread-2.0.so.0.2400.1
00b2b000-00b2c000 rw-p 00003000 08:02 397795     /lib/libgthread-2.0.so.0.2400.1
00b2e000-00b72000 r-xp 00000000 08:02 404782     /lib/libgobject-2.0.so.0.2400.1
00b72000-00b73000 rw-p 00044000 08:02 404782     /lib/libgobject-2.0.so.0.2400.1
00b7b000-00baa000 r-xp 00000000 08:05 265273
/usr/local/lib/libcinepaint.so.0.0.25
00baa000-00bad000 rw-p 0002f000 08:05 265273
/usr/local/lib/libcinepaint.so.0.0.25
00bad000-00bae000 rw-p 00000000 00:00 0
00bd0000-00c15000 r-xp 00000000 08:02 437331     /lib/libdbus-1.so.3.4.0
00c15000-00c16000 r--p 00044000 08:02 437331     /lib/libdbus-1.so.3.4.0
00c16000-00c17000 rw-p 00045000 08:02 437331     /lib/libdbus-1.so.3.4.0
00c19000-00c36000 r-xp 00000000 08:02 437327
/lib/libgcc_s-4.4.4-20100503.so.1
00c36000-00c37000 rw-p 0001d000 08:02 437327
/lib/libgcc_s-4.4.4-20100503.so.1
00c39000-00c40000 r-xp 00000000 08:02 216756     /usr/lib/libXrandr.so.2.2.0
00c40000-00c41000 rw-p 00006000 08:02 216756     /usr/lib/libXrandr.so.2.2.0
00c44000-00cd8000 r-xp 00000000 08:02 189928     /usr/lib/libfreetype.so.6.3.22
00cd8000-00cdc000 rw-p 00094000 08:02 189928     /usr/lib/libfreetype.so.6.3.22
00cea000-00d1d000 r-xp 00000000 08:02 189929
/usr/lib/libfontconfig.so.1.4.4wire_read: unexpected EOF (plug-in
crashed?)

------------------------------------------------------------------------------
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