ubuntu-bug crashes with a long list of GTK errors - X permissions should be checked

Bug #1214783 reported by Cefn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I had a freeze of gnome-shell, and gathered an apport report from the command-line on TTY1

I then recovered gnome-shell like...
kill -9 `pidof gnome-shell`
export DISPLAY=:0
gnome-shell --replace

Then when I tried to report the bug via...

sudo ubuntu-bug /tmp/apport.gnome-shell.n6si7l.apport

...I could briefly see a report that it couldn't access the X display, and followed by many pages of errors like...

(apport-gtk:18921): Gdk-CRITICAL **: gdk_keymap_get_modifier_mask: assertion 'GDK_IS_KEYMAP (keymap)' failed
(apport-gtk:18921): Gdk-CRITICAL **: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(apport-gtk:18921): Gtk-CRITICAL **: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed
(apport-gtk:18921): Gdk-CRITICAL **: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(apport-gtk:18921): Gdk-CRITICAL **: gdk_keymap_get_modifier_mask: assertion 'GDK_IS_KEYMAP (keymap)' failed

...followed by Segmentation fault (core dumped)

This was fixed by running...
xhost +local:root
...after which ubuntu-bug would properly load and run (hence this bug report).

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: apport-gtk 2.12.1-0ubuntu2
ProcVersionSignature: Ubuntu 3.11.0-3.6-generic 3.11.0-rc6
Uname: Linux 3.11.0-3-generic i686
ApportVersion: 2.12.1-0ubuntu2
Architecture: i386
Date: Wed Aug 21 09:35:47 2013
InstallationDate: Installed on 2013-08-15 (5 days ago)
InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Alpha i386 (20130626)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Cefn (6-launchpad-net-cefn-com) wrote :
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in apport (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apport (Ubuntu) because there has been no activity for 60 days.]

Changed in apport (Ubuntu):
status: Incomplete → Expired
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.