gtk-update-icon-cache : GLib-GObject-CRITICAL



Hello

I try to port gtk+-2.24.28 on AIX. But I get this error :

./gtk-update-icon-cache --force --ignore-theme-index \
    --include-image-data \
    --source builtin_icons stock-icons > gtkbuiltincache.h.tmp && \
    mv gtkbuiltincache.h.tmp gtkbuiltincache.h
(gtk-update-icon-cache:36503888): GLib-GObject-CRITICAL **: gtype.c:2722: You forgot to call g_type_init()
(process:36503888): GLib-CRITICAL **: file gthread.c: line 713: assertion `result != 0' failed
(gtk-update-icon-cache:36503888): GLib-GObject-CRITICAL **: file gobject.c: line 1547: assertion `G_TYPE_IS_OBJECT (object_type)' failed
/bin/sh: 36503888 Memory fault(coredump)

If I delete --include-image-data then everything works . But I don't know what is the effect. Do you think I can do this ? Alternatively what can I do for correct it ?

I also wonder if this error is due to gdk-pixbuf because when I use the core file with gdb I get :

#0 0xd79365f8 in gdk_pixbuf_new_from_data () from /opt/freeware/lib/libgdk_pixbuf-2.0.a(libgdk_pixbuf-2.0.so)
#1 0xd7941f54 in gdk_pixbuf__png_image_load () from /opt/freeware/lib/libgdk_pixbuf-2.0.a(libgdk_pixbuf-2.0.so)
#2 0xd793ad74 in _gdk_pixbuf_generic_image_load () from /opt/freeware/lib/libgdk_pixbuf-2.0.a(libgdk_pixbuf-2.0.so)
#3 0xd793d2e0 in gdk_pixbuf_new_from_file () from /opt/freeware/lib/libgdk_pixbuf-2.0.a(libgdk_pixbuf-2.0.so)
#4 0x100034e0 in maybe_cache_image_data (image=0x3000dc70, path=0x30016548 <Address 0x30016548 out of bounds>) at updateiconcache.c:515
#5 0x10002fa4 in scan_directory (base_path=0x300141f4 <Address 0x300141f4 out of bounds>, subdir=0x4 "", files=0x0, directories=0x2e, depth=3) at updateiconcache.c:691
#6 0x10002e48 in scan_directory (base_path=0xf07c2f64 "\324r\031\340\360|}\034", subdir=0xf07c2f70 "\324r\031`\360|}\034", files=0x1a4, directories=0x28, depth=805388212) at updateiconcache.c:639
#7 0x10000c7c in build_cache (path=0x3000ba68 <Address 0x3000ba68 out of bounds>) at updateiconcache.c:1523
#8 0x10000534 in main (argc=2, argv=0x2ff1dac0) at updateiconcache.c:1767

Best regards
Maximilien



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]