Glib breaks the system after update

Bug #465118 reported by senya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glib2.0 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

New version of libglib breaks system. Any application, that want it, get an error about g_array_ref.

Here is what they write:
fenixk19@fenixk19-desktop:/tmp/glib2.0-2.22.2$ update-manager
Traceback (most recent call last):
  File "/usr/bin/update-manager", line 29, in <module>
    import gtk
  File "/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py", line 30, in <module>
    import gobject as _gobject
  File "/usr/lib/pymodules/python2.6/gtk-2.0/gobject/__init__.py", line 26, in <module>
    from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \
  File "/usr/lib/pymodules/python2.6/gtk-2.0/glib/__init__.py", line 22, in <module>
    from glib._glib import *
ImportError: /usr/lib/libgobject-2.0.so.0: undefined symbol: g_array_ref
fenixk19@fenixk19-desktop:/tmp/glib2.0-2.22.2$ firefox
Couldn't load XPCOM.
fenixk19@fenixk19-desktop:/tmp/glib2.0-2.22.2$ jockey-gtk
Traceback (most recent call last):
  File "/usr/bin/jockey-gtk", line 23, in <module>
    import glib, gtk, gobject, pynotify
  File "/usr/lib/pymodules/python2.6/gtk-2.0/glib/__init__.py", line 22, in <module>
    from glib._glib import *
ImportError: /usr/lib/libgobject-2.0.so.0: undefined symbol: g_array_ref
fenixk19@fenixk19-desktop:/tmp/glib2.0-2.22.2$ thunar
thunar: symbol lookup error: /usr/lib/libgobject-2.0.so.0: undefined symbol: g_array_ref

Downgrading to jaunty versions fix most problems, but breaks apt db and some applications still don't work.

ProblemType: Bug
Architecture: amd64
Date: Fri Oct 30 19:28:30 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: libglib2.0-0 2.22.2-0ubuntu1
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=ru_RU.UTF-8
 LANGUAGE=ru_RU:ru:en_GB:en
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: glib2.0
Uname: Linux 2.6.31-14-generic x86_64

Revision history for this message
senya (senya) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, what did you upgrade and to what version?

Changed in glib2.0 (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

could you run "ldd /usr/lib/libgobject-2.0.so.0" and copy the log there?

Revision history for this message
senya (senya) wrote :

Hey, i've fixed it :)
There was old file, called /usr/lib/libglib-2.0.so.0.1502.0 and /usr/lib/libglib-2.0 links was pointing to it. After this file removal everything works. It is not a bug of glib, but it is certainly a bug of ubuntu packaging, that don't make links point in right way. And for some reason, it left this old file on my disk.

Revision history for this message
Sebastien Bacher (seb128) wrote :

ubuntu is not responsive for changes you did manually on your installation, not an ubuntu bug there

Changed in glib2.0 (Ubuntu):
status: Incomplete → Invalid
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
Revision history for this message
senya (senya) wrote :

The only change, i did manualy, was the bug fix :)
I never manage system libraries manually. So it was ubuntu, who left this library on my disk.

Revision history for this message
Sebastien Bacher (seb128) wrote :

ubuntu didn't let anything but you might have used a non official deb, or a ppa install or similar

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.