gnome-shell crashed with KeyError in _get_glx_extensions()

Bug #413497 reported by Nizar Kerkeni
162
This bug affects 30 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: gnome-shell

ubuntu karmic alpha 4 64bits
crash after launching gnome-shell --replace in terminal

ProblemType: Crash
Architecture: amd64
Date: Fri Aug 14 10:42:28 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/gnome-shell
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: gnome-shell 2.27.0-0ubuntu3
ProcCmdline: /usr/bin/python /usr/bin/gnome-shell --replace
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
PythonArgs: ['/usr/bin/gnome-shell', '--replace']
SourcePackage: gnome-shell
Title: gnome-shell crashed with KeyError in _get_glx_extensions()
Uname: Linux 2.6.31-5-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Nizar Kerkeni (nizarus) wrote :
visibility: private → public
Revision history for this message
Nizar Kerkeni (nizarus) wrote :

error messages :
$ gnome-shell --replace
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual or fbconfig
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Traceback (most recent call last):
  File "/usr/bin/gnome-shell", line 281, in <module>
    shell = start_shell()
  File "/usr/bin/gnome-shell", line 176, in start_shell
    (server_glx_extensions, client_glx_extensions, glx_extensions) = _get_glx_extensions()
  File "/usr/bin/gnome-shell", line 113, in _get_glx_extensions
    server_glx_extensions = set(re.split("\s*,\s*", glxinfo_map['server glx extensions'].strip()))
KeyError: 'server glx extensions'
Cannot register the panel shell: there is already one running.
Avertissement du gestionnaire de fenêtres : L'écran 0 sur le visuel « :0.0 » a déjà un gestionnaire de fenêtres ; essayez d'utiliser l'option --replace pour remplacer le gestionnaire de fenêtres actuel.

tags: removed: need-duplicate-check
Revision history for this message
PaulW (paulw) wrote :
Download full text (6.0 KiB)

paulw@aspire:~$ gnome-shell --replace
      JS LOG: Loading tweener.js
      JS LOG: Loading tweenlist.js
      JS LOG: Done loading tweenlist.js
      JS LOG: Done loading tweener.js
Window manager warning: Log level 16: Failed to load shared library 'clutter-glx-1.0' referenced by the typelib: libclutter-glx-1.0.so: cannot open shared object file: No such file or directory
    JS ERROR: !!! Exception was: Error: Error invoking Clutter.from_pixel: Could not locate clutter_color_from_pixel: libclutter-glx-1.0.so: cannot open shared object file: No such file or directory
    JS ERROR: !!! lineNumber = '0'
    JS ERROR: !!! fileName = 'gjs_throw'
    JS ERROR: !!! stack = 'Error("Error invoking Clutter.from_pixel: Could not locate clutter_color_from_pixel: libclutter-glx-1.0.so: cannot open shared object file: No such file or directory")@:0
("Error invoking Clutter.from_pixel: Could not locate clutter_color_from_pixel: libclutter-glx-1.0.so: cannot open shared object file: No such file or directory")@gjs_throw:0
@:0
@/usr/share/gnome-shell/js/ui/button.js:12
'
    JS ERROR: !!! message = 'Error invoking Clutter.from_pixel: Could not locate clutter_color_from_pixel: libclutter-glx-1.0.so: cannot open shared object file: No such file or directory'
    JS ERROR: !!! Exception was: Error: Error invoking Clutter.from_pixel: Could not locate clutter_color_from_pixel: libclutter-glx-1.0.so: cannot open shared object file: No such file or directory
    JS ERROR: !!! lineNumber = '0'
    JS ERROR: !!! fileName = 'gjs_throw'
    JS ERROR: !!! stack = 'Error("Error invoking Clutter.from_pixel: Could not locate clutter_color_from_pixel: libclutter-glx-1.0.so: cannot open shared object file: No such file or directory")@:0
("Error invoking Clutter.from_pixel: Could not locate clutter_color_from_pixel: libclutter-glx-1.0.so: cannot open shared object file: No such file or directory")@gjs_throw:0
@:0
@/usr/share/gnome-shell/js/ui/button.js:12
'
    JS ERROR: !!! message = 'Error invoking Clutter.from_pixel: Could not locate clutter_color_from_pixel: libclutter-glx-1.0.so: cannot open shared object file: No such file or directory'
    JS ERROR: !!! Exception was: Error: Error invoking Clutter.from_pixel: Could not locate clutter_color_from_pixel: libclutter-glx-1.0.so: cannot open shared object file: No such file or directory
    JS ERROR: !!! lineNumber = '0'
    JS ERROR: !!! fileName = 'gjs_throw'
    JS ERROR: !!! stack = 'Error("Error invoking Clutter.from_pixel: Could not locate clutter_color_from_pixel: libclutter-glx-1.0.so: cannot open shared object file: No such file or directory")@:0
("Error invoking Clutter.from_pixel: Could not locate clutter_color_from_pixel: libclutter-glx-1.0.so: cannot open shared object file: No such file or directory")@gjs_throw:0
@:0
@/usr/share/gnome-shell/js/ui/button.js:12
'
    JS ERROR: !!! message = 'Error invoking Clutter.from_pixel: Could not locate clutter_color_from_pixel: libclutter-glx-1.0.so: cannot open shared object file: No such file or directory'
    JS ERROR: !!! Exception was: Error: Error invoking Clutter.from_pixel: Could not locate clutter_color_fr...

Read more...

Revision history for this message
Eric Appleman (erappleman) wrote :

Here's a fix from the forums.

sudo ln -s /usr/lib/libclutter-glx-1.0.so.0 /usr/lib/libclutter-glx-1.0.so

Revision history for this message
Nizar Kerkeni (nizarus) wrote :

I confirm Eric's workaround.

Revision history for this message
Eric Appleman (erappleman) wrote :

This is still a problem in Karmic.

Revision history for this message
waspbr (notaduck) wrote :

very much a problem in lucid, the work around does not work in lucid

Revision history for this message
waspbr (notaduck) wrote :

here is the terminal output

Error: couldn't find RGB GLX visual or fbconfig
Failed to start shell
Cannot register the panel shell: there is already one running.
Window manager warning: Screen 0 on display ":0.0" already has a window manager; try using the --replace option to replace the current window manager.
Traceback (most recent call last):
  File "/usr/bin/gnome-shell", line 278, in <module>
    shell = start_shell()
  File "/usr/bin/gnome-shell", line 135, in start_shell
    (server_glx_extensions, client_glx_extensions, glx_extensions) = _get_glx_extensions()
  File "/usr/bin/gnome-shell", line 73, in _get_glx_extensions
    server_glx_extensions = set(re.split("\s*,\s*", glxinfo_map['server glx extensions'].strip()))
KeyError: 'server glx extensions'

Revision history for this message
marcobra (Marco Braida) (marcobra) wrote :

Same as previous waspbr report, here on Lucid 32 bits

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Thank you for reporting this bug to Ubuntu. Ubuntu 10.04 reached EOL on 9 May 2013. Please upgrade to at least Ubuntu 12.04 LTS.

See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases

Changed in gnome-shell (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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