Bug#388450: loaders/immodules not updated on upgrade

Damyan Ivanov dam at modsoftsys.com
Thu Sep 21 07:13:59 UTC 2006


severity 388450 grave
# initial bugreport was against 2.10.1-2, but problem is
# still reproducible with 2.10.3-1
found 388450 2.10.3-1
# change the title according to the new findings
title 388450 pixbuf loaders broken by an obsolete file in /etc
thanks

Loïc Minier -- 20.09.2006 22:05 --:
> On Wed, Sep 20, 2006, Damyan Ivanov wrote:
>> Feeling dangerous today, I gave some new experimental gnome packages a
>> try. I know they are not for general use, yet, but the problem I've
>> discovered is easy to fix and perhaps got overlooked. So I decided to
>> report it.
> 
>  There are actually, starting with the version above, for general
>  testing.

Raising the severity to grave then (breaks unrelated software). See
below for recipe for reproducing.

>> After upgrading libgtk2.0-0, all PNG-using applications stopped showing
>> the images - file chooser icons, new windows' icons, gqview, etc. Error
>> message is (translated from Bulgarian):
>>
>> (gqview:27100): Gtk-WARNING **: Error loading theme icon for stock:
>> Image loading module -
>> /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so can't be loaded:
>> /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so: cannot open
>> shared object file: No such file or directory
> 
>  This is puzzling.  libpixbufloader-png.so is shipped by libgtk2.0-0
>  itself, and it works fine here.  Beside, I don't see where the "2.4.0"
>  version comes from if you upgraded to libgtk2.0-0.

I think it comes from a sort of abstraction mechanism that tries to
load the appropriate module. It seems that this abstraction mechanism
is not aware of the new location of libpixbufloader-png.so.

Hmm. You said gtk 2.10 needs no file in /etc. But I do have
/etc/gtk-2.0/gdk-pixbuf.loaders, which is full with entries like
"/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so".

If I remove this file, gqview now gives a warning at startup
((gqview:28333): GdkPixbuf-WARNING **: Cannot open pixbuf loader
module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or
directory) but runs just fine.

Aaah. This must be the source of the problem - the obsolete
/etc/gtk-2.0/gdk-pixbuf.loaders.

This explains why the problem goes away when update-gdkpixbuf-loaders
is run.




Best regards,
	dam
-- 
Damyan Ivanov                           Modular Software Systems
dam at modsoftsys.com
phone +359(2)928-2611, 929-3993              fax +359(2)920-0994
mobile +359(88)856-6067             dam at jabber.minus273.org/Gaim



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20060921/b065f0b7/signature.pgp


More information about the Pkg-gnome-maintainers mailing list