Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#129 cms.c:466 cms_init_oyranos() buffer overflow

All
open
nobody
Linux (10)
5
2009-12-07
2009-12-07
sandy paulaskaya
No

cinepaint segfaults in my recent cvs checkout compile on ubuntu 8.10.

^_^[/media/sdc1]$ cinepaint
Locale found in /usr/share/locale

(cinepaint:21431): 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().
WARNING: oyranos_cmm_oyX1.c:581 oyX1Configs_Modify()
Could not obtain _ICC_PROFILE(_xxx) information for :0.0oyOptions_s[24]

WARNING: oyranos_cmm_oyX1.c:581 oyX1Configs_Modify()
Could not obtain _ICC_PROFILE(_xxx) information for :0.0oyOptions_s[33]

WARNING: oyranos_alpha.c:13050 oyDeviceProfileFromDB()
Could not get a "profile_name" from :0.0
registration: "---" rank: 0[-1]

WARNING: oyranos_cmm_oyX1.c:581 oyX1Configs_Modify()
Could not obtain _ICC_PROFILE(_xxx) information for :0.0oyOptions_s[4]

cms.c:466 cms_init_oyranos() monitor profile size: 6922
*** buffer overflow detected ***: cinepaint terminated
======= Backtrace: =========
/usr/lib/debug/libc.so.6(__fortify_fail+0x4b)[0xb6ca105b]
/usr/lib/debug/libc.so.6[0xb6c9f0c0]
/usr/lib/debug/libc.so.6[0xb6c9e798]
/usr/lib/debug/libc.so.6(_IO_default_xsputn+0xa0)[0xb6c28460]
/usr/lib/debug/libc.so.6(_IO_vfprintf+0x140)[0xb6bfc220]
/usr/lib/debug/libc.so.6(__vsprintf_chk+0xa4)[0xb6c9e844]
/usr/lib/debug/libc.so.6(__sprintf_chk+0x2d)[0xb6c9e78d]
cinepaint[0x8076be4]
cinepaint[0x8077d24]
cinepaint[0x8078447]
cinepaint[0x8078687]
cinepaint[0x807b3fc]
cinepaint[0x807b9c5]
cinepaint[0x805d59c]
cinepaint[0x80d4a57]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x84)[0xb6fe4df4]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1ab)[0xb6fd6f4b]
/usr/lib/libgobject-2.0.so.0[0xb6fee697]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7bb)[0xb6fefcfb]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x26)[0xb6ff01a6]
/usr/lib/libgtk-x11-2.0.so.0(gtk_button_clicked+0x8a)[0xb739ee9a]
/usr/lib/libgtk-x11-2.0.so.0[0xb739ff48]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x84)[0xb6fe4df4]
/usr/lib/libgobject-2.0.so.0[0xb6fd56c9]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1ab)[0xb6fd6f4b]
/usr/lib/libgobject-2.0.so.0[0xb6fedf00]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7bb)[0xb6fefcfb]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x26)[0xb6ff01a6]
/usr/lib/libgtk-x11-2.0.so.0(gtk_button_released+0x8a)[0xb739ef3a]
/usr/lib/libgtk-x11-2.0.so.0[0xb739ef73]
/usr/lib/libgtk-x11-2.0.so.0[0xb7452f96]
/usr/lib/libgobject-2.0.so.0[0xb6fd56c9]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1ab)[0xb6fd6f4b]
/usr/lib/libgobject-2.0.so.0[0xb6fee33f]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x67f)[0xb6fefbbf]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x26)[0xb6ff01a6]
/usr/lib/libgtk-x11-2.0.so.0[0xb7567f1e]
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xec)[0xb744baac]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2e7)[0xb744ce57]
/usr/lib/libgdk-x11-2.0.so.0[0xb72e356a]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1e8)[0xb6f48648]
/usr/lib/libglib-2.0.so.0[0xb6f4bdb3]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1ca)[0xb6f4c28a]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb9)[0xb744d309]
cinepaint[0x80d4805]
/usr/lib/debug/libc.so.6(__libc_start_main+0xe5)[0xb6bd4685]
cinepaint[0x805b0c1]
======= Memory map: ========
08048000-081e9000 r-xp 00000000 08:06 328853 /usr/bin/cinepaint
081e9000-081ea000 r--p 001a1000 08:06 328853 /usr/bin/cinepaint
081ea000-081fc000 rw-p 001a2000 08:06 328853 /usr/bin/cinepaint
081fc000-0834c000 rw-p 00000000 00:00 0 [heap]
b5e63000-b5eb3000 r-xp 00000000 08:06 1028227 /usr/lib/colour/modules/liboyranos_lraw_cmm_module.so.0.1.10
b5eb3000-b5eb4000 r--p 00050000 08:06 1028227 /usr/lib/colour/modules/liboyranos_lraw_cmm_module.so.0.1.10
b5eb4000-b5eb5000 rw-p 00051000 08:06 1028227 /usr/lib/colour/modules/liboyranos_lraw_cmm_module.so.0.1.10
b5eb5000-b5eb9000 rw-p 00000000 00:00 0
b5eb9000-b5ebc000 r-xp 00000000 08:06 147143 /lib/libgpg-error.so.0.3.0
b5ebc000-b5ebd000 rw-p 00002000 08:06 147143 /lib/libgpg-error.so.0.3.0
b5ebd000-b5f30000 r-xp 00000000 08:06 376747 /usr/lib/libgcrypt.so.11.5.2
b5f30000-b5f31000 r--p 00073000 08:06 376747 /usr/lib/libgcrypt.so.11.5.2
b5f31000-b5f33000 rw-p 00074000 08:06 376747 /usr/lib/libgcrypt.so.11.5.2
b5f33000-b5f43000 r-xp 00000000 08:06 491435 /usr/lib/libtasn1.so.3.0.15
b5f43000-b5f45000 rw-p 0000f000 08:06 491435 /usr/lib/libtasn1.so.3.0.15
b5f45000-b5f47000 r-xp 00000000 08:06 147234 /lib/libkeyutils-1.2.so
b5f47000-b5f49000 rw-p 00001000 08:06 147234 /lib/libkeyutils-1.2.so
b5f49000-b5f50000 r-xp 00000000 08:06 494406 /usr/lib/libkrb5support.so.0.1
b5f50000-b5f51000 r--p 00006000 08:06 494406 /usr/lib/libkrb5support.so.0.1
b5f51000-b5f52000 rw-p 00007000 08:06 494406 /usr/lib/libkrb5support.so.0.1
b5f52000-b5f5b000 r-xp 00000000 08:06 502762 /usr/lib/debug/libcrypt-2.8.90.so
b5f5b000-b5f5c000 r--p 00008000 08:06 502762 /usr/lib/debug/libcrypt-2.8.90.so
b5f5c000-b5f5d000 rw-p 00009000 08:06 502762 /usr/lib/debug/libcrypt-2.8.90.so
b5f5d000-b5f84000 rw-p 00000000 00:00 0
b5f84000-b601b000 r-xp 00000000 08:06 376751 /usr/lib/libgnutls.so.26.14.10
b601b000-b601f000 r--p 00096000 08:06 376751 /usr/lib/libgnutls.so.26.14.10
b601f000-b6020000 rw-p 0009a000 08:06 376751 /usr/lib/libgnutls.so.26.14.10
b6020000-b6022000 r-xp 00000000 08:06 146883 /lib/libcom_err.so.2.1
b6022000-b6023000 r--p 00001000 08:06 146883 /lib/libcom_err.so.2.1
b6023000-b6024000 rw-p 00002000 08:06 146883 /lib/libcom_err.so.2.1
b6024000-b6046000 r-xp 00000000 08:06 491441 /usr/lib/libk5crypto.so.3.1
b6046000-b6047000 r--p 00022000 08:06 491441 /usr/lib/libk5crypto.so.3.1
b6047000-b6048000 rw-p 00023000 08:06 491441 /usr/lib/libk5crypto.so.3.1
b6048000-b60d7000 r-xp 00000000 08:06 492196 /usr/lib/libkrb5.so.3.3
b60d7000-b60d9000 r--p 0008e000 08:06 492196 /usr/lib/libkrb5.so.3.3
b60d9000-b60da000 rw-p 00090000 08:06 492196 /usr/lib/libkrb5.so.3.3
b60da000-b610d000 r-xp 00000000 08:06 491605 /usr/lib/libcups.so.2
b610d000-b610e000 ---p 00033000 08:06 491605 /usr/lib/libcups.so.2
b610e000-b610f000 r--p 00033000 08:06 491605 /usr/lib/libcups.so.2
b610f000-b6110000 rw-p 00034000 08:06 491605 /usr/lib/libcups.so.2
b611c000-b6123000 r-xp 00000000 08:06 1028229 /usr/lib/colour/modules/liboyranos_oyra_cmm_module.so.0.1.10
b6123000-b6124000 r--p 00007000 08:06 1028229 /usr/lib/colour/modules/liboyranos_oyra_cmm_module.so.0.1.10
b6124000-b6126000 rw-p 00008000 08:06 1028229 /usr/lib/colour/modules/liboyranos_oyra_cmm_module.so.0.1.10
b6126000-b612a000 r-xp 00000000 08:06 1028230 /usr/lib/colour/modules/liboyranos_oydi_cmm_module.so.0.1.10
b612a000-b612b000 r--p 00003000 08:06 1028230 /usr/lib/colour/modules/liboyranos_oydi_cmm_module.so.0.1.10
b612b000-b612c000 rw-p 00004000 08:06 1028230 /usr/lib/colour/modules/liboyranos_oydi_cmm_module.so.0.1.10
b612c000-b6130000 r-xp 00000000 08:06 492039 /usr/lib/libXxf86vm.so.1.0.0
b6130000-b6131000 r--p 00003000 08:06 492039 /usr/lib/libXxf86vm.so.1.0.0
b6131000-b6132000 rw-p 00004000 08:06 492039 /usr/lib/libXxf86vm.so.1.0.0
b6132000-b613f000 r-xp 00000000 08:06 1028242 /usr/lib/colour/modules/liboyranos_oyX1_cmm_module.so.0.1.10
b613f000-b6140000 r--p 0000c000 08:06 1028242 /usr/lib/colour/modules/liboyranos_oyX1_cmm_module.so.0.1.10
b6140000-b6141000 rw-p 0000d000 08:06 1028242 /usr/lib/colour/modules/liboyranos_oyX1_cmm_module.so.0.1.10
b6141000-b6145000 r-xp 00000000 08:06 1028228 /usr/lib/colour/modules/liboyranos_oicc_cmm_module.so.0.1.10
b6145000-b6146000 r--p 00003000 08:06 1028228 /usr/lib/colour/modules/liboyranos_oicc_cmm_module.so.0.1.10
b6146000-b6147000 rw-p 00004000 08:06 1028228 /usr/lib/colour/modules/liboyranos_oicc_cmm_module.so.0.1.10
b6147000-b614f000 r-xp 00000000 08:06 1028225 /usr/lib/colour/modules/liboyranos_lcms_cmm_module.so.0.1.10
b614f000-b6150000 r--p 00007000 08:06 1028225 /usr/lib/colour/modules/liboyranos_lcms_cmm_module.so.0.1.10
b6150000-b6151000 rw-p 00008000 08:06 1028225 /usr/lib/colour/modules/liboyranos_lcms_cmm_module.so.0.1.10
b6151000-b61b1000 rw-s 00000000 00:04 574062618 /SYSV00000000 (deleted)
b61b4000-b61dd000 r-xp 00000000 08:06 491271 /usr/lib/libgssapi_krb5.so.2.2
b61dd000-b61de000 r--p 00028000 08:06 491271 /usr/lib/libgssapi_krb5.so.2.2
b61de000-b61df000 rw-p 00029000 08:06 491271 /usr/lib/libgssapi_krb5.so.2.2
b61df000-b61e4000 r-xp 00000000 08:06 1028273 /usr/lib/colour/modules/liboyranos_CUPS_cmm_module.so.0.1.10
b61e4000-b61e5000 r--p 00004000 08:06 1028273 /usr/lib/colour/modules/liboyranos_CUPS_cmm_module.so.0.1.10
b61e5000-b61e6000 rw-p 00005000 08:06 1028273 /usr/lib/colour/modules/liboyranos_CUPS_cmm_module.so.0.1.10
b61e6000-b61ee000 r-xp 00000000 08:06 1028214 /usr/lib/oyranos/liboyranos_oyIM_cmm_module.so.0.1.10
b61ee000-b61ef000 r--p 00007000 08:06 1028214 /usr/lib/oyranos/liboyranos_oyIM_cmm_module.so.0.1.10
b61ef000-b61f0000 rw-p 00008000 08:06 1028214 /usr/lib/oyranos/liboyranos_oyIM_cmm_module.so.0.1.10
b61f0000-b61f4000 r-xp 00000000 08:06 1585879 /usr/lib/elektra/libelektra-filesys.so.0.0.0
b61f4000-b61f5000 r--p 00003000 08:06 1585879 /usr/lib/elektra/libelektra-filesys.so.0.0.0
b61f5000-b61f6000 rw-p 00004000 08:06 1585879 /usr/lib/elektra/libelektra-filesys.so.0.0.0
b61f6000-b61f7000 r--p 00000000 08:06 1518302 /usr/share/locale/en_GB/LC_MESSAGES/cinepaint.mo
b61f7000-b6434000 r--p 00000000 08:06 836065 /usr/share/fonts/truetype/nanum/NanumGothic.ttf
b6434000-b6436000 r-xp 00000000 08:06 1486985 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b6436000-b6437000 r--p 00001000 08:06 1486985 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b6437000-b6438000 rw-p 00002000 08:06 1486985 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b6438000-b643a000 r-xp 00000000 08:06 2204667 /usr/lib/pango/1.6.0/modules/pango-hangul-fc.socinepaint terminated: sigabrt caught

(cinepaint:21431): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed

(cinepaint:21431): Gtk-CRITICAL **: gtk_object_destroy: assertion `object != NULL' failed

(cinepaint:21431): Gtk-CRITICAL **: gtk_object_unref: assertion `GTK_IS_OBJECT (object)' failed

Discussion

  • Milan Knizek
    Milan Knizek
    2009-12-07

    Check your ICC profiles, I had a similar problem with Oyranos.
    (Trial&Error method may be fastest: remove all profiles from search directories $HOME/.color/icc;/usr/share/color/icc;/usr/local/share/color/icc and add them back one by one, while trying to start CinePaint.)