Window icons missing in GTK applications

Bug #202448 reported by John Pham
8
Affects Status Importance Assigned to Milestone
ia32-libs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ia32-libs

Window icons (the ones that show up in gnome-panel beside the app name) for GTK applications (at least Firefox 2 and 3 (32 bit) and Acroread) seem to be missing with ia32-libs 2.2 . They reappear when ia32-libs is downgraded to 2.1 , so this appears to be a regression.

The shared-library version of Skype seems to still work, so it's probably a problem in GTK.

EDIT: This is fixed if /usr/lib/gtk-2.0/2.10.0/loaders is removed somewhere. Obviously not a solution, but seems to indicate the old version of ia32-libs made 32-bit GTK apps look in lib32 first.

Related branches

John Pham (jhnphm)
description: updated
Revision history for this message
John Pham (jhnphm) wrote :

It appears related to this bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464350 ,but for some reason 2.1 works for me while 2.2 doesn't. Simple GTK apps such as dopewars, euler (run from extracted 32 bit deb packages) don't load at all, showing

(dopewars:13381): GdkPixbuf-WARNING **: Error loading XPM image loader: Unable to load image-loading module: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so: wrong ELF class: ELFCLASS64

regardless of the environment variables set.

Here are the last few lines ltraced from running dopewars

gdk_pixmap_create_from_xpm_d(0x80fa6a0, -563980, 0x81f8078, 0x808b3e0, 0 <unfinished ...>
g_free(0, 0xf7822608, 0xf7989818, 0xf782520c, 0x8203db8) = 1
g_free(0, 0x81fe598, 84, 0xf782520c, 0) = 1

(dopewars:13381): GdkPixbuf-WARNING **: Error loading XPM image loader: Unable to load image-loading module: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so: wrong ELF class: ELFCLASS64
<... gdk_pixmap_create_from_xpm_d resumed> ) = 0
gdk_window_set_icon(0x80fa6a0, 0, 0, 0x80ab628, 0
(dopewars:13381): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
 <unfinished ...>
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Unfortunately it seems difficult to run ltrace on firefox and acroread due to the myriads of launcher scripts and dlopened components.

Revision history for this message
John Pham (jhnphm) wrote :

Just downgraded to 2.1 and ran dopewars, and it works w/o messing w/ loaders in the 64 bit GTK, so the problems are definitely related

Revision history for this message
Bismark (bismark-foofus) wrote :

Trying to run amazonmp3 and it crashes with "terminate called after throwing an instance of 'Gdk::PixbufError" After trying the triage fix of moving /usr/lib/gtk-2.0/2.10.0/loaders it ran fine. Next I tried the downgrade to 2.1 and that fixed the issue plus didn't break other applications.

Revision history for this message
vaughn (vaughngrisham) wrote :

How and what did you all downgrade to 2.1? I would like to get amazonmp3 working in 64-bit Hardy.

Thank you.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ia32-libs - 2.2ubuntu10

---------------
ia32-libs (2.2ubuntu10) hardy; urgency=low

  * Remove libnss-mdns, recommend lib32nss-mdns. LP: #218097.
  * Add gtk2-engines-murrine. LP: #215488.
  * debian/pango.modules: Update.
  * /usr/lib32/gtk-2.0/2.10.0/*.d/*: Search in /usr/lib32.
    LP: #162993, #177869, #190227, #202448.
  * Freshen packages (including fixed gtk+2.0).

 -- Matthias Klose <email address hidden> Sun, 20 Apr 2008 19:13:15 +0200

Changed in ia32-libs:
status: New → Fix Released
Revision history for this message
Raoul Teeuwen (raoul-teeuwen) wrote :

HI Launchpad Janitor. You say it is fixed. I upgraded from 7.10 to 8.04 yesterday. On 1st boot had some crashes. Am running now, but Cairo-Dock won't work. I found i might need to downgrade ia32. I'm still having a problem and i assume i'm not alone. Any tips are welcomed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.