I recently upgraded to Gnome 2 and emerged gnome-games-2.0.0 in the process. When starting up mahjong from that package, no tiles are displayed. It also produces lots and lost of gdk-pixbuf failed asserts: [klausman@death klausman]$ mahjongg 2>&1 |sort |uniq (mahjongg:16043): GLib-CRITICAL **: file gstrfuncs.c: line 1556 (g_ascii_strcasecmp): assertion `s2 != NULL' failed (mahjongg:16043): GLib-GObject-CRITICAL **: file gobject.c: line 1291 (g_object_ref): assertion `G_IS_OBJECT (object)' failed (mahjongg:16043): GLib-GObject-CRITICAL **: file gobject.c: line 1309 (g_object_unref): assertion `G_IS_OBJECT (object)' failed (mahjongg:16043): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to `GObject' (mahjongg:16043): GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 235 (gdk_pixbuf_scale_simple): assertion `src != NULL' failed (mahjongg:16043): GdkPixbuf-CRITICAL **: file gdk-pixbuf-util.c: line 129 (gdk_pixbuf_copy_area): assertion `src_pixbuf != NULL' failed (mahjongg:16043): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 153 (gdk_pixbuf_new): assertion `bits_per_sample == 8' failed (mahjongg:16043): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 291 (gdk_pixbuf_get_colorspace): assertion `pixbuf != NULL' failed (mahjongg:16043): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 339 (gdk_pixbuf_get_bits_per_sample): assertion `pixbuf != NULL' failed (mahjongg:16043): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 371 (gdk_pixbuf_get_width): assertion `pixbuf != NULL' failed (mahjongg:16043): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 387 (gdk_pixbuf_get_height): assertion `pixbuf != NULL' failed ** (mahjongg:16043): CRITICAL **: file mahjongg.c: line 765 (set_backgnd_colour): assertion `str != NULL' failed Additionally it segfaults when trying to open the Preferences dialog. I have already re-emerge gnome-games 2.0.0, but to no avail. I'll try doing some library re-merging tonight but I'm not too hopeful. # qpkg -I -i gdk-pixbuf media-libs/gdk-pixbuf-0.17.0 * # qpkg -I -i gtk+ x11-libs/gtk+-1.2.10-r8 * x11-libs/gtk+-2.0.5 *
I have just upgraded to: [root@death root]# qpkg -i gdk-pixbuf media-libs/gdk-pixbuf-0.18.0 * and recompiled gnome-games. Result: No change.
It looks like you are missing libpng-1.2.3 Emerge it and see if it works.
Nope it is not a libpng issue. Since other gnome2 icons are loading fine.
emerging gnome-games-2.0.1-r1 as of today fixed the bug. thanks.