[CinePaint] Cinepaint 0.25-0 Crashes

Glen <[email protected]> Tue, 30 Dec 2008 18:54:27 -0800
Newsgroups gmane.comp.video.cinepaint.user
Message-ID <1230692067.6056.33.camel@honcho>
All,

I've got cinepaint0.25-0 compiled from CVS running on Ubuntu 8.04 with
elektra-0.7.0 and oyranos-0.1.9 also installed.  It seems to be running
well except for crashes associated with icc profile transformations and
color management.  It's been a while since I've used a debugger, but I'm
installing gdb and some  debugger front ends to try and see if I can
figure out what's blowing up. In the meantime I have attached the term
dump attached below from running cinepaint when it crashes.

Thanks for providing cinepaint.  I've been using Linux at home for quite
a while now (since 1996) and cinepaint is a wonderful program for
digital photography.  I recently bought a new monitor (Dell 248WFP),
colorimeter (DTP-94) and used ArgyllCMS to calibrate the monitor.  I'd
like to use the color management features of cinepaint to make sure I've
got my color profiles set properly.

Please take a look at the crash attached below and let me know if you
can see what I'm doing wrong.  All I've done is started the program, and
then selected File->Preferences.  The crash starts at "*** glibc
detected *** cinepaint: malloc(): memory corruption (fast):".  I've
compiled and used cinepaint in the past and have never had this problem
before, but I was not using the color management features as much.

TIA,

Glen Journeay




glen@honcho:~$ cinepaint
Locale found in /usr/local/share/locale

(cinepaint:24459): Gtk-WARNING **: A floating object was finalized. This
means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().
cms.c:466 cms_init_oyranos() monitor profile size: 516124
Searching plug-ins in
path: /home/glen/.cinepaint/plug-ins/:/usr/local/lib/cinepaint/0.25.0/plug-ins
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/script-fu
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/hdr
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/iff
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/sharpen
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/whirlpinch.py
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/median
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/retinex
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/png
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/minimum
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/edge
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/blur
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/psd_save
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/pdf
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/noisify
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/sgi
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/rotate
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/pdbbrowse.py
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/screenshot
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/jpeg
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/dicom
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/icc_examin_cp
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/tga
Loading
plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/bracketing_to_hdr
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/gifload
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/decompose
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/fits
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/collect
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/gauss_rle
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/compose
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/clothify.py
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/openexr
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/gbr
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/xwd
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/pnm
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/sobel
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/print
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/dbbrowser
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/iol
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/mblur
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/psd
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/unsharp
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/tiff
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/bmp
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/gimpcons.py
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/rawphoto
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/snoise
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/spread
Loading
plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/shadow_bevel.py
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/pic
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/cineon
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/foggify.py
Loading plug-in: /usr/local/lib/cinepaint/0.25.0/plug-ins/sphere.py
plugin count = 52
script-fu.c:115
/usr/local/lib/cinepaint/0.25.0/plug-ins/script-fu

(cinepaint:24459): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_draw_rectangle: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_draw_rectangle: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_draw_rectangle: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_draw_drawable: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_draw_drawable: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_draw_drawable: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_draw_rectangle: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_draw_rectangle: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_draw_rectangle: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_draw_drawable: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_draw_drawable: assertion
`GDK_IS_GC (gc)' failed

(cinepaint:24459): Gdk-CRITICAL **: gdk_draw_drawable: assertion
`GDK_IS_GC (gc)' failed
*** glibc detected *** cinepaint: malloc(): memory corruption (fast):
0x0a6f8768 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb74a7962]
/lib/tls/i686/cmov/libc.so.6(__libc_malloc+0x8d)[0xb74a8cad]
/usr/lib/liblcms.so.1[0xb7599978]
======= Memory map: ========
08048000-081e6000 r-xp 00000000 08:03
1902037    /usr/local/bin/cinepaint
081e6000-081f9000 rw-p 0019e000 08:03
1902037    /usr/local/bin/cinepaint
081f9000-0a7b1000 rw-p 081f9000 00:00 0          [heap]
afe00000-afe21000 rw-p afe00000 00:00 0 
afe21000-aff00000 ---p afe21000 00:00 0 
afff4000-b101e000 rw-p afff4000 00:00 0 
b109c000-b1480000 rw-p b109c000 00:00 0 
b14f6000-b176c000 rw-p b14f6000 00:00 0 
b1773000-b1cc2000 rw-p b1773000 00:00 0 
b1d36000-b1db8000 rw-p b1d36000 00:00 0 
b1db8000-b1e18000 rw-s 00000000 00:09 76546144   /SYSV00000000 (deleted)
b1e18000-b1e1e000 r-xp 00000000 08:03
680514     /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
b1e1e000-b1e1f000 rw-p 00005000 08:03
680514     /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
b1e1f000-b6e3c000 rw-p b1e1f000 00:00 0 
b6e3c000-b6e9c000 rw-s 00000000 00:09 76021840   /SYSV00000000 (deleted)
b6eb8000-b6ebc000 r-xp 00000000 08:03
655627     /usr/lib/libXxf86vm.so.1.0.0
b6ebc000-b6ebd000 rw-p 00003000 08:03
655627     /usr/lib/libXxf86vm.so.1.0.0
b6ebd000-b6ec7000 r-xp 00000000 08:03
1902196    /usr/local/lib/liboyranos_moni.so.0.1.9
b6ec7000-b6ec8000 rw-p 0000a000 08:03
1902196    /usr/local/lib/liboyranos_moni.so.0.1.9
b6ed7000-b6ede000 r-xp 00000000 08:03
1966888    /usr/local/lib/color/cmms/liboyranos_oyra_cmm_module.so.0.1.9
b6ede000-b6ee0000 rw-p 00007000 08:03
1966888    /usr/local/lib/color/cmms/liboyranos_oyra_cmm_module.so.0.1.9
b6ee0000-b6fe4000 rw-p b6ee0000 00:00 0 
b6fe4000-b6fe6000 r-xp 00000000 08:03
721571     /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b6fe6000-b6fe7000 rw-p 00001000 08:03
721571     /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b6fe7000-b7078000 r--p 00000000 08:03
280056     /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
b7078000-b707e000 r--s 00000000 08:08
65336      /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-x86.cache-2
b707e000-b7081000 r--s 00000000 08:08
65754      /var/cache/fontconfig/e383d7ea5fbe662a33d9b44caf393297-x86.cache-2
b7081000-b7082000 r--s 00000000 08:08
65753      /var/cache/fontconfig/c69f04ab05004e31a6d5e715764f16d8-x86.cache-2
b7082000-b7083000 r--s 00000000 08:08
65752      /var/cache/fontconfig/4c73fe0c47614734b17d736dbde7580a-x86.cache-2
b7083000-b7086000 r--s 00000000 08:08
65751      /var/cache/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-x86.cache-2
b7086000-b708d000 r--s 00000000 08:08
375364     /var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-x86.cache-2
b708d000-b7090000 r--s 00000000 08:08
65749      /var/cache/fontconfig/de156ccd2eddbdc19d37a45b8b2aac9c-x86.cache-2
b7090000-b7098000 r--s 00000000 08:08
65748      /var/cache/fontconfig/e3de0de479f42330eadf588a55fb5bf4-x86.cache-2
b7098000-b70a0000 r--s 00000000 08:08
65742      /var/cache/fontconfig/0f34bcd4b6ee430af32735b75db7f02b-x86.cache-2
b70a0000-b70a1000 r--s 00000000 08:08
65747      /var/cache/fontconfig/4794a0821666d79190d59a36cb4f44b5-x86.cache-2
b70a1000-b70c3000 r--s 00000000 08:08
375362     /var/cache/fontconfig/365b55f210c0a22e9a19e35191240f32-x86.cache-2
b70c3000-b70eb000 r-xp 00000000 08:03
680221     /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
b70eb000-b70ec000 rw-p 00028000 08:03
680221     /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
b70ec000-b70f5000 r-xp 00000000 08:02
245809     /lib/tls/i686/cmov/libnss_files-2.7.so
b70f5000-b70f7000 rw-p 00008000 08:02
245809     /lib/tls/i686/cmov/libnss_files-2.7.so
b70f7000-b70ff000 r-xp 00000000 08:02
245811     /lib/tls/i686/cmov/libnss_nis-2.7.so
b70ff000-b7101000 rw-p 00007000 08:02
245811     /lib/tls/i686/cmov/libnss_nis-2.7.so
b7101000-b7115000 r-xp 00000000 08:02
245806     /lib/tls/i686/cmov/libnsl-2.7.so
b7115000-b7117000 rw-p 00013000 08:02
245806     /lib/tls/i686/cmov/libnsl-2.7.so
b7117000-b7119000 rw-p b7117000 00:00 0 
b7119000-b7120000 r-xp 00000000 08:02
245807     /lib/tls/i686/cmov/libnss_compat-2.7.so
b7120000-b7122000 rw-p 00006000 08:02
245807     /lib/tls/i686/cmov/libnss_compat-2.7.so
b7125000-b7126000 rw-p b7125000 00:00 0 
b7126000-b7127000 r-xp 00000000 08:03
1966887    /usr/local/lib/color/cmms/liboyranos_oyX1_cmm_module.so.0.1.9
b7127000-b7128000 rw-p 00000000 08:03
1966887    /usr/local/lib/color/cmms/liboyranos_oyX1_cmm_module.so.0.1.9
b7128000-b712c000 r-xp 00000000 08:03
1902159    /usr/local/lib/elektra/libelektra-filesys.so.0.0.0
b712c000-b712d000 rw-p 00003000 08:03
1902159    /usr/local/lib/elektra/libelektra-filesys.so.0.0.0
b712d000-b7134000 r--s 00000000 08:08
65745      /var/cache/fontconfig/d52a8644073d54c13679302ca1180695-x86.cache-2
b7134000-b713a000 r--s 00000000 08:08
65329      /var/cache/fontconfig/089dead882dea3570ffc31a9898cfb69-x86.cache-2
b713a000-b713b000 rw-p b713a000 00:00 0 
b713b000-b717a000 r--p 00000000 08:03
680748     /usr/lib/locale/en_US.utf8/LC_CTYPE
b717a000-b725b000 r--p 00000000 08:03
680747     /usr/lib/locale/en_US.utf8/LC_COLLATE
b725b000-b725d000 rw-p b725b000 00:00 0 
b725d000-b7261000 r-xp 00000000 08:03
655587     /usr/lib/libXdmcp.so.6.0.0
b7261000-b7262000 rw-p 00003000 08:03
655587     /usr/lib/libXdmcp.so.6.0.0
b7262000-b7264000 r-xp 00000000 08:03
655576     /usr/lib/libXau.so.6.0.0
b7264000-b7265000 rw-p 00001000 08:03
655576     /usr/lib/libXau.so.6.0.0
b7265000-b7266000 rw-p b7265000 00:00 0 
b7266000-b727a000 r-xp 00000000 08:02
245814     /lib/tls/i686/cmov/libpthread-2.7.so
b727a000-b727c000 rw-p 00013000 08:02
245814     /lib/tls/i686/cmov/libpthread-2.7.so
b727c000-b727e000 rw-p b727c000 00:00 0 
b727e000-b72a4000 r-xp 00000000 08:03
656776     /usr/lib/libpcre.so.3.12.1
b72a4000-b72a5000 rw-p 00026000 08:03
656776     /usr/lib/libpcre.so.3.12.1
b72a5000-b72cb000 r-xp 00000000 08:03
656859     /usr/lib/libpangoft2-1.0.so.0.2002.3
b72cb000-b72cc000 rw-p 00026000 08:03
656859     /usr/lib/libpangoft2-1.0.so.0.2002.3
b72cc000-b72d4000 r-xp 00000000 08:03
655583     /usr/lib/libXcursor.so.1.0.2
b72d4000-b72d5000 rw-p 00007000 08:03
655583     /usr/lib/libXcursor.so.1.0.2
b72d5000-b72d6000 rw-p b72d5000 00:00 0 
b72d6000-b72db000 r-xp 00000000 08:03
655611     /usr/lib/libXrandr.so.2.1.0
b72db000-b72dc000 rw-p 00005000 08:03
655611     /usr/lib/libXrandr.so.2.1.0
b72dc000-b72e3000 r-xp 00000000 08:03 655599     /usr/lib/libXi.so.6.0.0
b72e3000-b72e4000 rw-p 00006000 08:03 655599     /usr/lib/libXi.so.6.0.0
b72e4000-b72e6000 r-xp 00000000 08:03
655601     /usr/lib/libXinerama.so.1.0.0
b72e6000-b72e7000 rw-p 00001000 08:03
655601     /usr/lib/libXinerama.so.1.0.0
b72e7000-b72f4000 r-xp 00000000 08:03
655591     /usr/lib/libXext.so.6.4.0
b72f4000-b72f5000 rw-p 0000d000 08:03
655591     /usr/lib/libXext.so.6.4.0
b72f5000-b72f9000 r-xp 00000000 08:03
655593     /usr/lib/libXfixes.so.3.1.0
b72f9000-b72fa000 rw-p 00003000 08:03
655593     /usr/lib/libXfixes.so.3.1.0
b72fa000-b72fb000 rw-p b72fa000 00:00 0 
b72fb000-b72fd000 r-xp 00000000 08:03
655585     /usr/lib/libXdamage.so.1.1.0
b72fd000-b72fe000 rw-p 00001000 08:03
655585     /usr/lib/libXdamage.so.1.1.0
b72fe000-b7300000 r-xp 00000000 08:03
655581     /usr/lib/libXcomposite.so.1.0.0
b7300000-b7301000 rw-p 00001000 08:03
655581     /usr/lib/libXcomposite.so.1.0.0
b7301000-b7318000 r-xp 00000000 08:03
656417     /usr/lib/libxcb.so.1.0.0
b7318000-b7319000 rw-p 00016000 08:03
656417     /usr/lib/libxcb.so.1.0.0
b7319000-b731a000 r-xp 00000000 08:03
656415     /usr/lib/libxcb-xlib.so.0.0.0
b731a000-b731b000 rw-p 00000000 08:03
656415     /usr/lib/libxcb-xlib.so.0.0.0
b731b000-b733a000 r-xp 00000000 08:03
655813     /usr/lib/libexpat.so.1.5.2
b733a000-b733c000 rw-p 0001e000 08:03
655813     /usr/lib/libexpat.so.1.5.2
b733c000-b7346000 r-xp 00000000 08:02 228501     /lib/libgcc_s.so.1
b7346000-b7347000 rw-p 0000a000 08:02 228501     /lib/libgcc_s.so.1
b7347000-b7348000 rw-p b7347000 00:00 0 
b7348000-b7430000 r-xp 00000000 08:03 655818     /usr/lib/libstdc
++.so.6.0.9
b7430000-b7433000 r--p 000e8000 08:03 655818     /usr/lib/libstdc
++.so.6.0.9
b7433000-b7435000 rw-p 000eb000 08:03 655818     /usr/lib/libstdc
++.so.6.0.9
b7435000-b743b000 rw-p b7435000 00:00 0 
b743b000-b7584000 r-xp 00000000 08:02
245800     /lib/tls/i686/cmov/libc-2.7.so
b7584000-b7585000 r--p 001cinepaint terminated: sigabrt caught





------------------------------------------------------------------------------