Emacs locks up when launching in X

Bug #1173659 reported by lykwydchykyn
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
emacs24 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After upgrading to Ubuntu 13.04, I cannot run Emacs X11. I can run emacs with "-nw" in a terminal window, but attempting to launch a regular X11 frame (either GTK or Lucid) causes emacs to freeze. The window never appears, and emacs does not respond.

Running emacs as a daemon, I can connect with terminal-based emacsclient, but as soon as I try to connect with an X11 emacsclient, the daemon freezes up and all text-based clients become unresponsive.

Can't find any errors being thrown. Emacs processes appear to still be running.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: emacs24 24.2+1-2ubuntu2
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
Uname: Linux 3.8.0-19-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.9.2-0ubuntu8
Architecture: i386
Date: Sat Apr 27 10:36:08 2013
MarkForUpload: True
SourcePackage: emacs24
UpgradeStatus: Upgraded to raring on 2013-04-26 (1 days ago)

Revision history for this message
lykwydchykyn (me-alandmoore) wrote :
Revision history for this message
lykwydchykyn (me-alandmoore) wrote :

Apparently this is only happening to me under Awesome window manager. At least, it works when I log in to OpenBox.

Revision history for this message
lykwydchykyn (me-alandmoore) wrote :

Disregard the last comment, apparently it happens in openbox as well. Sometimes I can get an instance of emacs to launch from a login script, and even launch a few X11 client frames. Before long, though, it all locks up and I can't re-launch any X11 frames, even if I kill all emacs processes and start over.

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

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

Changed in emacs24 (Ubuntu):
status: New → Confirmed
Revision history for this message
nlcom (nlcom) wrote :

This happens with identical symptoms for me as well, under Kubuntu 13.04.
  * No output on terminal. Process "just sits there", no noticable CPU use.
  * Ctrl-C doesn't work, it needs 'pkill -9 emacs' to be killed.
  * Affects both emacs23 and emacs24.
  * Text-mode emacs -nw seems to work normally.
  * I have various emacs supporting apt packages installed, amongst them: emacs-goodies.el, auto-complete.el, doxymacs, icicles.
  * Hardware: Lenovo X60, Intel graphics.

Revision history for this message
nlcom (nlcom) wrote :

Seems to be a duplicate of BUG #1142213 ; the workaround described there makes emacs seemingly start normally again.

Specific steps I took:
  * Install package kde-config-gtk-style
  * KDE System settings / Application Appearance / GTK (in the left sidebar)
    * GTK2 theme: Raleigh
    * GTK3 theme: Ambiance

The looks are a matter of taste, but it resolves the problem for now.

Additional information: this system was just upgraded from Ubuntu 12.04 via Ubuntu 12.10.

Revision history for this message
lykwydchykyn (me-alandmoore) wrote :

This workaround does it for me as well, except that I changed the gtk3 theme to "emacs" (it was the only one available). I use a lot of kde programs with awesome, so my gtk themes were set to oxygen-gtk.

Revision history for this message
ethanbrown (ethandbrown) wrote :

Confirmed for me too. Same problem, theme work-around fixes.

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.