Re: [CinePaint] Cinepaint 0.25-0 Crashes

Glen <[email protected]> Wed, 31 Dec 2008 09:28:53 -0800
Newsgroups gmane.comp.video.cinepaint.user
Message-ID <1230744533.27210.27.camel@honcho>
Robin,

Did a quick fix in cms.c:

955           printf("%s %d: \"%s\" %s\n", i == current ? "*":" ", i,
956                  oyProfile_GetText( temp_prof, oyNAME_DESCRIPTION ),
957                  oyProfile_GetFileName(temp_prof, 0));

is now:

955           printf("%d: \"%s\" %s\n", i,
956                  oyProfile_GetText( temp_prof, oyNAME_DESCRIPTION ),
957                  oyProfile_GetFileName(temp_prof, 0));

Compiled and installed after that.

Here is the term dump when starting cinepaint and picking
File->Preferences:

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

(cinepaint:23046): 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
plugin_main.c:129
plugin_main.c:166 plugin_main()  C /usr/local/share/locale
/usr/local/lib/cinepaint/0.25.0/plug-ins/script-fu
layers_dialog.c:319 lc_dialog_create (ImageID=-1)... [lc_shell? 0]
layers_dialog.c:672 layers_dialog_create()...
layers_dialog.c:909 layers_dialog_update(imageID=-1)...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(cinepaint:23046): Gdk-CRITICAL **: gdk_draw_drawable: assertion
`GDK_IS_GC (gc)' failed
0: "Monitor.icc" /home/glen/.color/icc/96B_Monitor.icc
1: "CineonLog M " /usr/local/share/color/icc/CineonLog_M.icc
2: "CineonLog M Knee
10" /usr/local/share/color/icc/CineonLog_M_Knee_10.icc
3: "CineonLog M Knee
20" /usr/local/share/color/icc/CineonLog_M_Knee_20.icc
4: "CineonLog M Knee
30" /usr/local/share/color/icc/CineonLog_M_Knee_30.icc
5: "CineonLog M Knee
60" /usr/local/share/color/icc/CineonLog_M_Knee_60.icc
6: "Dell E248WFP Color Profile" /home/glen/.color/icc/E248WFP.ICM
7: "ECI-RGB.icc" /usr/share/color/icc/ECI-RGB.V1.0.icc
8: "Fogra27L CMYK Coated Press" /usr/share/color/icc/Fogra27L.icm
9: "GRACoL coated TR006
argl" /usr/local/share/color/icc/GRACoL_coated_TR006_argl.icc
10: "Gray" /usr/local/share/color/icc/Gray.icc
11: "ISO Coated" /usr/share/color/icc/ISOcoated.icc
12: "ISO Uncoated" /usr/share/color/icc/ISOuncoated.icc
13: "ISO Uncoated
Yellowish" /usr/share/color/icc/ISOuncoatedyellowish.icc
14: "ISO Web Coated" /usr/share/color/icc/ISOwebcoated.icc
15: "little cms Relative L*a*b* identity
profile" /usr/local/share/color/icc/LCMSLABI.ICM
16: "little cms Relative XYZ identity
profile" /usr/local/share/color/icc/LCMSXYZI.ICM
17: "Lstar-RGB.icc" /usr/share/color/icc/LStar-RGB.icc
18: "little cms Relative L*a*b* identity
profile" /usr/local/share/color/icc/Lab.icc
19: "Monitor.icc" /home/glen/.color/icc/Monitor.icc
20: "PhotoGamutRGB_avg6c" /usr/share/color/icc/PhotoGamutRGB_avg6c.icc
21: "PhotoGamutRGB_avg6c" /usr/share/color/icc/PhotoGamutRGB_avg6c.icc
22: "SC paper FOGRA40L
argl" /usr/local/share/color/icc/SC_paper_FOGRA40L_argl.icc
23: "SNAP newsprint TR002
argl" /usr/local/share/color/icc/SNAP_newsprint_TR002_argl.icc
24: "SWOP coated 3 TR003
argl" /usr/local/share/color/icc/SWOP_coated_3_TR003_argl.icc
25: "SWOP coated 5 TR005
argl" /usr/local/share/color/icc/SWOP_coated_5_TR005_argl.icc
26: "little cms Relative XYZ identity
profile" /usr/local/share/color/icc/XYZ.icc
27: "coated FOGRA39L
argl" /usr/local/share/color/icc/coated_FOGRA39L_argl.icc
28: "Compatible with Adobe RGB
(1998)" /usr/local/share/color/icc/compatibleWithAdobeRGB1998.icc
29: "eciRGB v2" /usr/local/share/color/icc/eciRGB_v2.icc
30: "eciRGB v2 ICCv4" /usr/local/share/color/icc/eciRGB_v2_ICCv4.icc
31:
"lcd-t-g2.2-f0-k0-qhh-lut-200810151653" /home/glen/.color/icc/lcd-t-g2.2-f0-k0-qhh-lut-200810151653.icc
32:
"lcd-t6500-b120-g2.2-f0-k0-qhh-lut-200811011204" /home/glen/.color/icc/lcd-t6500-b120-g2.2-f0-k0-qhh-lut-200811011204.icc
33:
"lcd-t6500-b120-g2.2-f0-k0-qhh-lut-200811011204" /home/glen/.color/icc/lcd-t6500-b120-g2.2-f0-k0-qhh-lut-200811011204.icc
34: "sRGB" /usr/local/share/color/icc/sRGB.icc
35: "sRGB IEC61966-2.1" /usr/share/color/icc/sRGB.icm
36: "True Internet Color: PnP VESA DDC - �÷��� �� �÷���
������" /home/glen/.color/icc/st97b.icm
37: "uncoated FOGRA29L argl
" /usr/local/share/color/icc/uncoated_FOGRA29L_argl.icc
38: "uncoatedyellowish FOGRA30L
argl" /usr/local/share/color/icc/uncoatedyellowish_FOGRA30L_argl.icc
39: "webcoated FOGRA28L argl
" /usr/local/share/color/icc/webcoated_FOGRA28L_argl.icc
*** glibc detected *** cinepaint: free(): invalid next size (fast):
0x0a763600 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb742fa85]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb74334f0]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb7711b51]
/usr/lib/libgtk-x11-2.0.so.0[0xb7a7e6e9]
/usr/lib/libgtk-x11-2.0.so.0[0xb7a8017b]
/usr/lib/libgtk-x11-2.0.so.0[0xb7a82cde]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__OBJECT
+0x5a)[0xb77a1ffa]
/usr/lib/libgobject-2.0.so.0[0xb7794069]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x129)[0xb7795749]
/usr/lib/libgobject-2.0.so.0[0xb77aa10a]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8ef)[0xb77abc0f]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb77abf59]
/usr/lib/libgtk-x11-2.0.so.0[0xb7bb6f9c]
/usr/lib/libgtk-x11-2.0.so.0[0xb7bb70d7]
/usr/lib/libgtk-x11-2.0.so.0[0xb7aa2b84]
/usr/lib/libgtk-x11-2.0.so.0(gtk_container_forall+0x67)[0xb79faa87]
/usr/lib/libgtk-x11-2.0.so.0[0xb7bb710f]
/usr/lib/libgtk-x11-2.0.so.0[0xb7bbaf8f]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_set_parent+0x1f6)[0xb7bbf476]
/usr/lib/libgtk-x11-2.0.so.0[0xb7a9d85a]
/usr/lib/libgtk-x11-2.0.so.0(gtk_menu_shell_insert+0x82)[0xb7aa5d02]
/usr/lib/libgtk-x11-2.0.so.0(gtk_menu_shell_append+0x20)[0xb7aa5d90]
cinepaint[0x814e9d7]
/usr/lib/libgtk-x11-2.0.so.0[0xb7a7a86e]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID
+0x4f)[0xb77a2aef]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x129)[0xb7795749]
/usr/lib/libgobject-2.0.so.0[0xb77a9f7b]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8ef)[0xb77abc0f]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb77abf59]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_activate+0x58)[0xb7bbc278]
/usr/lib/libgtk-x11-2.0.so.0(gtk_menu_shell_activate_item
+0x182)[0xb7aa5bc2]
/usr/lib/libgtk-x11-2.0.so.0[0xb7aa7708]
/usr/lib/libgtk-x11-2.0.so.0[0xb7a9e914]
/usr/lib/libgtk-x11-2.0.so.0[0xb7a988d4]
/usr/lib/libgobject-2.0.so.0[0xb7794069]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x129)[0xb7795749]
/usr/lib/libgobject-2.0.so.0[0xb77aa10a]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x617)[0xb77ab937]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb77abf59]
/usr/lib/libgtk-x11-2.0.so.0[0xb7bb7667]
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xc1)[0xb7a91b21]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2b8)[0xb7a92d88]
/usr/lib/libgdk-x11-2.0.so.0[0xb790ba9a]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x176)[0xb7709cc6]
/usr/lib/libglib-2.0.so.0[0xb770d083]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1e7)[0xb770d467]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0xb7a93264]
cinepaint[0x80e9333]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb73da450]
cinepaint[0x805b081]
======= Memory map: ========
08048000-0822b000 r-xp 00000000 08:03
1902036    /usr/local/bin/cinepaint
0822b000-0823f000 rw-p 001e3000 08:03
1902036    /usr/local/bin/cinepaint
0823f000-0a806000 rw-p 0823f000 00:00 0          [heap]
afe00000-afe21000 rw-p afe00000 00:00 0 
afe21000-aff00000 ---p afe21000 00:00 0 
aff7d000-b0fa7000 rw-p aff7d000 00:00 0 
b1025000-b1409000 rw-p b1025000 00:00 0 
b147f000-b16f5000 rw-p b147f000 00:00 0 
b16fc000-b1c4b000 rw-p b16fc000 00:00 0 
b1cbf000-b1d41000 rw-p b1cbf000 00:00 0 
b1d41000-b1da1000 rw-s 00000000 00:09 108068935  /SYSV00000000 (deleted)
b1da1000-b1da7000 r-xp 00000000 08:03
680514     /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
b1da7000-b1da8000 rw-p 00005000 08:03
680514     /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
b1da8000-b6dc5000 rw-p b1da8000 00:00 0 
b6dc5000-b6e25000 rw-s 00000000 00:09 107675704  /SYSV00000000 (deleted)
b6e41000-b6e45000 r-xp 00000000 08:03
655627     /usr/lib/libXxf86vm.so.1.0.0
b6e45000-b6e46000 rw-p 00003000 08:03
655627     /usr/lib/libXxf86vm.so.1.0.0
b6e46000-b6e50000 r-xp 00000000 08:03
1902196    /usr/local/lib/liboyranos_moni.so.0.1.9
b6e50000-b6e51000 rw-p 0000a000 08:03
1902196    /usr/local/lib/liboyranos_moni.so.0.1.9
b6e5f000-b6e60000 rw-p b6e5f000 00:00 0 
b6e60000-b6e67000 r-xp 00000000 08:03
1966888    /usr/local/lib/color/cmms/liboyranos_oyra_cmm_module.so.0.1.9
b6e67000-b6e69000 rw-p 00007000 08:03
1966888    /usr/local/lib/color/cmms/liboyranos_oyra_cmm_module.so.0.1.9
b6e69000-b6f6d000 rw-p b6e69000 00:00 0 
b6f6d000-b6f6f000 r-xp 00000000 08:03
721571     /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b6f6f000-b6f70000 rw-p 00001000 08:03
721571     /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b6f70000-b7001000 r--p 00000000 08:03
280056     /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
b7001000-b7007000 r--s 00000000 08:08
65336      /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-x86.cache-2
b7007000-b700a000 r--s 00000000 08:08
65754      /var/cache/fontconfig/e383d7ea5fbe662a33d9b44caf393297-x86.cache-2
b700a000-b700b000 r--s 00000000 08:08
65753      /var/cache/fontconfig/c69f04ab05004e31a6d5e715764f16d8-x86.cache-2
b700b000-b700c000 r--s 00000000 08:08
65752      /var/cache/fontconfig/4c73fe0c47614734b17d736dbde7580a-x86.cache-2
b700c000-b700f000 r--s 00000000 08:08
65751      /var/cache/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-x86.cache-2
b700f000-b7016000 r--s 00000000 08:08
375364     /var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-x86.cache-2
b7016000-b7019000 r--s 00000000 08:08
65749      /var/cache/fontconfig/de156ccd2eddbdc19d37a45b8b2aac9c-x86.cache-2
b7019000-b7021000 r--s 00000000 08:08
65748      /var/cache/fontconfig/e3de0de479f42330eadf588a55fb5bf4-x86.cache-2
b7021000-b7029000 r--s 00000000 08:08
65742      /var/cache/fontconfig/0f34bcd4b6ee430af32735b75db7f02b-x86.cache-2
b7029000-b702a000 r--s 00000000 08:08
65747      /var/cache/fontconfig/4794a0821666d79190d59a36cb4f44b5-x86.cache-2
b702a000-b704c000 r--s 00000000 08:08
375362     /var/cache/fontconfig/365b55f210c0a22e9a19e35191240f32-x86.cache-2
b704c000-b7074000 r-xp 00000000 08:03
680221     /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
b7074000-b7075000 rw-p 00028000 08:03
680221     /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
b7075000-b707e000 r-xp 00000000 08:02
245809     /lib/tls/i686/cmov/libnss_files-2.7.so
b707e000-b7080000 rw-p 00008000 08:02
245809     /lib/tls/i686/cmov/libnss_files-2.7.so
b7080000-b7088000 r-xp 00000000 08:02
245811     /lib/tls/i686/cmov/libnss_nis-2.7.so
b7088000-b708a000 rw-p 00007000 08:02
245811     /lib/tls/i686/cmov/libnss_nis-2.7.so
b708a000-b709e000 r-xp 00000000 08:02
245806     /lib/tls/i686/cmov/libnsl-2.7.so
b709e000-b70a0000 rw-p 00013000 08:02
245806     /lib/tls/i686/cmov/libnsl-2.7.so
b70a0000-b70a2000 rw-p b70a0000 00:00 0 
b70a2000-b70a9000 r-xp 00000000 08:02
245807     /lib/tls/i686/cmov/libnss_compat-2.7.so
b70a9000-b70ab000 rw-p 00006000 08:02
245807     /lib/tls/i686/cmov/libnss_compat-2.7.so
b70ab000-b70ad000 r-xp 00000000 08:03
658551     /usr/lib/gconv/UTF-16.so
b70ad000-b70af000 rw-p 00001000 08:03
658551     /usr/lib/gconv/UTF-16.so
b70af000-b70b0000 r-xp 00000000 08:03
1966887    /usr/local/lib/color/cmms/liboyranos_oyX1_cmm_module.so.0.1.9
b70b0000-b70b1000 rw-p 00000000 08:03
1966887    /usr/local/lib/color/cmms/liboyranos_oyX1_cmm_module.so.0.1.9
b70b1000-b70b5000 r-xp 00000000 08:03
1902159    /usr/local/lib/elektra/libelektra-filesys.so.0.0.0
b70b5000-b70b6000 rw-p 00003000 08:03
1902159    /usr/local/lib/elektra/libelektra-filesys.so.0.0.0
b70b6000-b70bd000 r--s 00000000 08:08
65745      /var/cache/fontconfig/d52a8644073d54c13679302ca1180695-x86.cache-2
b70bd000-b70c3000 r--s 00000000 08:08
65329      /var/cache/fontconfig/089dead882dea3570ffc31a9898cfb69-x86.cache-2
b70c3000-b70c4000 rw-p b70c3000 00:00 0 
b70c4000-b7103000 r--p 00000000 08:03
680748     /usr/lib/locale/en_US.utf8/LC_CTYPE
b7103000-b71e4000 r--p 00000000 08:03
680747     /usr/lib/locale/en_US.utf8/LC_COLLATE
b71e4000-b71e6000 rw-p b71e4000 00:00 0 
b71e6000-b71ea000 r-xp 00000000 08:03
655587     /usr/lib/libXdmcp.so.6.0.0
b71ea000-b71eb000 rw-p 00003000 08:03
655587     /usr/lib/libXdmcp.so.6.0.0
b71eb000-b71ed000 r-xp 00000000 08:03
655576     /usr/lib/libXau.so.6.0.0
b71ed000-b71ee000 rw-p 00001000 08:03
655576     /usr/lib/libXau.so.6.0.0
b71ee000-b71ef000 rw-p b71ee000 00:00 0 
b71ef000-b7203000 r-xp 00000000 08:02
245814     /lib/tls/i686/cmov/libpthread-2.7.so
b7203000-b7205000 rw-p 00013000 08:02
245814     /lib/tls/i686/cmov/libpthread-2.7.so
b7205000-b7207000 rw-p b7205000 00:00 0 
b7207000-b722d000 r-xp 00000000 08:03
656776     /usr/lib/libpcre.so.3.12.1
b722d000-b722e000 rw-p 00026000 08:03
656776     /usr/lib/libpcre.so.3.12.1
b722e000-b7254000 r-xp 00000000 08:03
656859     /usr/lib/libpangoft2-1.0.so.0.2002.3
b7254000-b7255000 rw-p 00026000 08:03
656859     /usr/lib/libpangoft2-1.0.so.0.2002.3
b7255000-b725d000 r-xp 00000000 08:03
655583     /usr/lib/libXcursor.so.1.0.2
b725d000-b725e000 rw-p 00007000 08:03
655583     /usr/lib/libXcursor.so.1.0.2
b725e000-b725f000 rw-p b725e000 00:00 0 
b725f000-b7264000 r-xp 00000000 08:03
655611     /usr/lib/libXrandr.so.2.1.0
b7264000-b7265000 rw-p 00005000 08:03
655611     /usr/lib/libXrandr.so.2.1.0
b7265000-b726c000 r-xp 00000000 08:03 655599     /usr/lib/libXi.so.6.0.0
b726c000-b726d000 rw-p 00006000 08:03 655599     /usr/lib/libXi.so.6.0.0
b726d000-b726f000 r-xp 00000000 08:03
655601     /usr/lib/libXinerama.so.1.0.0
b726f000-b7270000 rw-p 00001000 08:03
655601     /usr/lib/libXinerama.so.1.0.0
b7270000-b727d000 r-xp 00000000 08:03
655591     /usr/lib/libXext.so.6.4.0
b727d000-b727e000 rw-p 0000d000 08:03
655591     /usr/lib/libXext.so.6.4.0
b727e000-b7282000 r-xp 00000000 08:03
655593     /usr/lib/libXfixes.so.3.1.0
b7282000-b7283000 rw-p 00003000 08:03
655593     /usr/lib/libXfixes.so.3.1.0
b7283000-b7284000 rw-p b7283000 00:00 0 
b7284000-b7286000 r-xp 00000000 08:03
655585     /usr/lib/libXdamage.so.1.1.0
b7286000-b7287000 rw-p 00001000 08:03
655585     /usr/lib/libXdamage.so.1.1.0
b7287000-b7289000 r-xp 00000000 08:03
655581     /usr/lib/libXcomposite.so.1.0.0
b7289000-b728a000 rw-p 00001000 08:03
655581     /usr/lib/libXcomposite.so.1.0.0
b728a000-b72a1000 r-xp 00000000 08:03
656417     /usr/lib/libxcb.so.1.0.0
b72a1000-b72a2000 rw-p 00016000 08:03
656417     /usr/lib/libxcb.so.1.0.0
b72a2000-b72a3000 r-xp 00000000 08:03
656415     /usr/lib/libxcb-xlib.so.0.0.0
b72a3000-b72a4000 rw-p 00000000 08:03
656415     /usr/lib/libxcb-xlib.so.0.0.0
b72a4000-b72c3000 r-xp 00000000 08:03
655813     /usr/lib/libexpat.so.1.5.2
b72c3000-b72c5000 rw-p 0001e000 08:03
655813     /usr/lib/libexpat.so.1.5.2
b72c5000-b72cf000 r-xp 00000000 08:02 228501     /lib/libgcc_s.so.1
b72cf000-b72d0000 rw-p 0000a000 08:02 228501     /lib/libgcc_s.so.1
b72d0000-b72d1000 rw-p b72d0000 00:00 0 
b72d1000-b73b9000 r-xp 00000000 08:03 655818     /usr/lib/libstdc
++.so.6.0.9
b73b9000-b73bc000 r--p 000e8000 08:03 655818     /usr/lib/libstdc
++.so.6.0.9
b73bc000-b73be000 rw-p 000eb000 08:03 655818     /usr/lib/libstdc
++.so.6.0.9
cinepaint terminated: sigabrt caught
layers_dialog.c:479 lc_dialog_free()...


Well look at that, it's using the printf that we tweaked in cms.c!

Yours,

Glen


On Tue, 2008-12-30 at 22:47 -0800, Glen wrote:
> Robin,
> 
> Recompiled with ./configure --enable-debug and had the compile fail
> here:
> 
> make[2]: Entering directory
> `/usr/local/src/cinepaint-cvs/cinepaint-project/cinepaint/app'
> gcc -DHAVE_CONFIG_H -I. -I../lib -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
> -I/usr/include/libpng12 -I/usr/include/pixman-1   -INONE/include
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
> -I/usr/include/libpng12 -I/usr/include/pixman-1    -DHAVE_OY
> -I/usr/local/include/oyranos -I.. -I/usr/local/include
> -DPRECISION_CONFIG=PRECISION_U16 -DLOCALEDIR=\""NONE/share/locale"\"
> -DLINUX= -DREGEX_MALLOC   -DDEBUG -g -Wall --pedantic -DDEBUG -g -Wall
> --pedantic -g -MT cms.o -MD -MP -MF .deps/cms.Tpo -c -o cms.o cms.c
> In file included from cms.c:55:
> depth/float16.h:22:1: warning: C++ style comments are not allowed in ISO
> C90
> depth/float16.h:22:1: warning: (this will be reported only once per
> input file)
> cms.c:924:1: warning: C++ style comments are not allowed in ISO C90
> cms.c:924:1: warning: (this will be reported only once per input file)
> cms.c: In function ‘cms_read_standard_profile_dirs’:
> cms.c:955: error: ‘current’ undeclared (first use in this function)
> cms.c:955: error: (Each undeclared identifier is reported only once
> cms.c:955: error: for each function it appears in.)
> cms.c: In function ‘cms_transform_uint’:
> cms.c:2223: warning: enumeration value ‘PRECISION_NONE’ not handled in
> switch
> cms.c:2223: warning: enumeration value ‘PRECISION_FLOAT’ not handled in
> switch
> cms.c:2223: warning: enumeration value ‘PRECISION_FLOAT16’ not handled
> in switch
> cms.c:2223: warning: enumeration value ‘PRECISION_BFP’ not handled in
> switch
> cms.c:2205: warning: unused variable ‘u’
> cms.c:2203: warning: unused variable ‘dest_alpha’
> cms.c:2202: warning: unused variable ‘prec_out’
> cms.c:2201: warning: unused variable ‘prec_in’
> cms.c:2200: warning: unused variable ‘extra_out’
> cms.c:2199: warning: unused variable ‘extra_in’
> cms.c: In function ‘cms_transform_float’:
> cms.c:2273: warning: unused variable ‘u’
> cms.c:2272: warning: unused variable ‘dbuffer’
> cms.c:2263: warning: unused variable ‘pix’
> cms.c:2261: warning: unused variable ‘src_alpha’
> cms.c:2258: warning: unused variable ‘alpha’
> cms.c:2257: warning: unused variable ‘chan’
> cms.c:2253: warning: unused variable ‘cchan_in’
> make[2]: *** [cms.o] Error 1
> make[2]: Leaving directory
> `/usr/local/src/cinepaint-cvs/cinepaint-project/cinepaint/app'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/usr/local/src/cinepaint-cvs/cinepaint-project/cinepaint/app'
> make: *** [all-recursive] Error 1
> root@honcho:/usr/local/src/cinepaint-cvs/cinepaint-project/cinepaint# 
> 
> 
> Looks like it's blowing up at cms.c line 955 with current undeclared.
> Here's the code in question:
> 
> 954   #  ifdef DEBUG
> 955           printf("%s %d: \"%s\" %s\n", i == current ? "*":" ", i,
> 956                  oyProfile_GetText( temp_prof, oyNAME_DESCRIPTION ),
> 957                  oyProfile_GetFileName(temp_prof, 0));
> 958   #  endif
> 
> Well, that makes sense - it's crunching code it missed without DEBUG
> defined.  I'm not sure what the i == current test was trying to show, or
> if it's just foobar formatting in a printf, and it's getting late and my
> eyes are starting to glaze over.  I'll bang this out in the morning and
> get that stack dump to you.
> 
> Yours,
> 
> Glen
> 
> 
> On Tue, 2008-12-30 at 21:23 -0800, Robin Rowe wrote:
> > Glen,
> > 
> > Thank you for the bug report. Appreciate your help. I haven't gotten to 
> > look at the oyranos version of 0.25.0 myself. I'm still working on the 
> > plain version.
> > 
> > Please build it with debug enabled in order to generate a readable stack 
> > dump.
> > 
> > Robin
> > 


------------------------------------------------------------------------------
_______________________________________________
Cinepaint-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cinepaint-users