Gnome applications wont launch

Bug #1273826 reported by harijay
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
at-spi2-atk (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Since Ubuntu 13.10 gtk applications dont launch in fluxbox . The message I get is : given here.

hari@hari-Precision-WorkStation-T7500:~$ baobab
baobab: symbol lookup error: /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0: undefined symbol: atk_text_get_string_at_offset

hari@hari-Precision-WorkStation-T7500:~$ gedit
gedit: symbol lookup error: /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0: undefined symbol: atk_text_get_string_at_offset

The error seems to be in libatk-bridge

For example

hari@hari-Precision-WorkStation-T7500:~/fluxbox-1.3.5$ apport-bug gedit

** (apport-gtk:3912): WARNING **: Failed to load shared library 'libgtk-3.so.0' referenced by the typelib: /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0: undefined symbol: atk_text_get_string_at_offset
Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 18, in <module>
    from gi.repository import Gtk
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "/usr/lib/python3/dist-packages/gi/importer.py", line 68, in load_module
    dynamic_module._load()
  File "/usr/lib/python3/dist-packages/gi/module.py", line 289, in _load
    self._overrides_module = importlib.import_module('gi.overrides.' + self._namespace)
  File "/usr/lib/python3.3/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 68, in <module>
    class Widget(Gtk.Widget):
  File "/usr/lib/python3/dist-packages/gi/module.py", line 176, in __getattr__
    interfaces = tuple(interface for interface in get_interfaces_for_object(info)
  File "/usr/lib/python3/dist-packages/gi/module.py", line 104, in get_interfaces_for_object
    interfaces.append(getattr(module, name))
  File "/usr/lib/python3/dist-packages/gi/module.py", line 313, in __getattr__
    return getattr(self._introspection_module, name)
  File "/usr/lib/python3/dist-packages/gi/module.py", line 215, in __getattr__
    wrapper = metaclass(name, bases, dict_)
  File "/usr/lib/python3/dist-packages/gi/types.py", line 194, in __init__
    register_interface_info(cls.__info__.get_g_type())
TypeError: must be an interface

Revision history for this message
harijay (harijay) wrote :

Here are the atk related packages I have installed:

hari@hari-Precision-WorkStation-T7500:~/Downloads$ dpkg --list | grep "atk"
ii gir1.2-atk-1.0 2.10.0-2 amd64 ATK accessibility toolkit (GObject introspection)
ii libatk-adaptor:amd64 2.10.2-1ubuntu1~saucy1 amd64 AT-SPI 2 toolkit bridge
ii libatk-adaptor-data 2.10.0-1 all AT-SPI 2 toolkit bridge - transitional dummy package
ii libatk-bridge2.0-0:amd64 2.10.0-1 amd64 AT-SPI 2 toolkit bridge - shared library
ii libatk-bridge2.0-dev:amd64 2.10.0-1 amd64 Development files for the AT-SPI 2 toolkit bridge
ii libatk1.0-0:amd64 2.10.0-2 amd64 ATK accessibility toolkit
ii libatk1.0-0:i386 2.10.0-2 i386 ATK accessibility toolkit
ii libatk1.0-data 2.10.0-2 all Common files for the ATK accessibility toolkit
ii libatk1.0-dbg:amd64 2.10.0-2 amd64 ATK libraries and debugging symbols
ii libatk1.0-dev 2.10.0-2 amd64 Development files for the ATK accessibility toolkit
ii libatkmm-1.6-1:amd64 2.22.7-2 amd64 C++ wrappers for ATK accessibility toolkit (shared libraries)

Changed in at-spi2-atk (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
summary: - Gnome applications wont launch in Fluxbox desktop manager
+ Gnome applications wont launch
Revision history for this message
Luke Yelavich (themuso) wrote : Re: [Bug 1273826] Re: Gnome applications wont launch in Fluxbox desktop manager

Plesae run "apport-collect 1273826" in a terminal so we can get some more information about your system, and the versions of software installed. Yes you provided versions of atk related packages, but I'm interested in learning of other packages and their versions.

Thanks.

Revision history for this message
harijay (harijay) wrote :

Ill have to run in gnome since apport-collect does not run with above errors reported...will run in gnome and report back

Revision history for this message
harijay (harijay) wrote :

So When I switched to gnome and tried running apport-collect 1273826 . It wouldnt run from my home directory. It only ran when I was in the /usr/lib/x86_64-linux-gnu directory .

This gave me a clue that there was some system library that was not in my LD_LIBRARY_PATH. Once I added /usr/lib/x86_64-linux-gnu to the start of LD_LIBRARY_PATH. Then gedit and apport-collect started working in gnome.

When I booted into Fluxbox . With the new LD_LIBRARY_PATH , I started getting all gtk applications working again. Currently the contents of my /usr/lib/x86_64-linux-gnu directory are.

hari@hari-Precision-WorkStation-T7500:/usr/lib/x86_64-linux-gnu$ ls -latr *atk*
lrwxrwxrwx 1 root root 21 Jun 28 2013 libatkmm-1.6.so.1 -> libatkmm-1.6.so.1.1.0
-rw-r--r-- 1 root root 294768 Jun 28 2013 libatkmm-1.6.so.1.1.0
lrwxrwxrwx 1 root root 23 Oct 4 02:13 libatk-1.0.so.0 -> libatk-1.0.so.0.21009.1
lrwxrwxrwx 1 root root 23 Oct 4 02:13 libatk-1.0.so -> libatk-1.0.so.0.21009.1
-rw-r--r-- 1 root root 138096 Oct 4 02:13 libatk-1.0.so.0.21009.1
lrwxrwxrwx 1 root root 26 Oct 4 02:43 libatk-bridge-2.0.so.0 -> libatk-bridge-2.0.so.0.0.0
lrwxrwxrwx 1 root root 26 Oct 4 02:43 libatk-bridge-2.0.so -> libatk-bridge-2.0.so.0.0.0
-rw-r--r-- 1 root root 173304 Oct 4 02:43 libatk-bridge-2.0.so.0.0.0

I may have got the libatk-bridge from a deb mentioned at this link (http://forums.linuxmint.com/viewtopic.php?f=208&t=152580) and added it to my system .
i.e from https://launchpad.net/ubuntu/saucy/+source/at-spi2-atk

I can provide the information from apport-collect if needed for more diagnostics. But at least now with the LD_LIBRARY_PATH fix I can launch gnome applications in Fluxbox.

Revision history for this message
Luke Yelavich (themuso) wrote : Re: [Bug 1273826] Re: Gnome applications wont launch

It sounds to me like ther is something broken with your installatino, as I just installed a fresh instance of Ubuntu 13.10 on a machine, and all GTK/GNOME apps are working just fine.

Unfrotunately I have no idea what may be broken, but under normal circumstances, you most certainly don't need to define LD_LIBRARY_PATH.

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.