Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 3898

Summary: Mahjongg of gnome-games-2 doesn't display tiles
Product: Gentoo Linux Reporter: Tobias Klausmann (RETIRED) <klausman>
Component: Current packagesAssignee: Gabriele Giorgetti <gabriele_giorgetti>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tobias Klausmann (RETIRED) gentoo-dev 2002-06-19 12:11:09 UTC
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 *
Comment 1 Tobias Klausmann (RETIRED) gentoo-dev 2002-06-19 12:40:43 UTC
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.
Comment 2 Gabriele Giorgetti 2002-06-19 14:16:47 UTC
It looks like you are missing libpng-1.2.3 
Emerge it and see if it works.

Comment 3 Gabriele Giorgetti 2002-06-19 14:20:49 UTC
Nope it is not a libpng issue. Since other gnome2 icons are loading fine.
Comment 4 Tobias Klausmann (RETIRED) gentoo-dev 2002-06-28 12:15:21 UTC
emerging gnome-games-2.0.1-r1 as of today fixed the bug. thanks.