It's been fixed upstream:

Work around GTK bug crashing emacs GTK builds.
author  Tassilo Horn <[email protected]>   
        Fri, 18 Nov 2011 09:36:59 +0000 (10:36 +0100)
committer       Tassilo Horn <[email protected]>   
        Fri, 18 Nov 2011 09:36:59 +0000 (10:36 +0100)
commit  2fbfdd56056ee387b5d07787698546a63b2167cd
tree    bae36eef03213814db5b92067ef604b54b29e0bb        tree | snapshot (tar.gz 
zip)
parent  7a42f7390dad17ded49ee3e1e39d724535471c90        commit | diff
Work around GTK bug crashing emacs GTK builds.

* frame.c (delete_frame): Don't delete the terminal when the last
X frame is closed if emacs is built with GTK toolkit.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/543611

Title:
  emacsclient -c randomly crashes emacs about 1 in every 5 to 10 times

Status in GNU Emacs:
  Fix Released
Status in GTK+ GUI Toolkit:
  Confirmed
Status in “emacs23” package in Ubuntu:
  Confirmed
Status in “gtk+2.0” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: emacs23

  I am trying to start using emacs --daemon and emacsclient, so that I
  can easily have multiple emacs windows sharing a single process.
  However, my attempts are frustrated by the fact that when I use
  "emacsclient -c" to create a new window in an exising emacs session,
  emacs crashes about 1 in 5 times. It seems completely random.

  Here's what I've been using to reproduce this:

  x=0; emacs23 -Q --daemon &>/dev/null; while emacsclient -c
  &>/dev/null; do x=$(( $x + 1 )); done; echo "Created $x windows before
  crash."

  
  That will start the daemon, and then keep spawning new emacs windows as long 
as the daemon is running. Just keep closing the windows, and new ones will pop 
up. Every time I do this command, I get a different number of windows before 
emacs crashes. On my last five tries, I have gotten 7, 17, 12, 18, and 24 
windows. Hence my claim of randomness.

  ProblemType: Bug
  Architecture: amd64
  Date: Sun Mar 21 10:34:10 2010
  DistroRelease: Ubuntu 9.10
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
  NonfreeKernelModules: nvidia wl
  Package: emacs23 23.1+1-4ubuntu3.1
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/zsh
  ProcVersionSignature: Ubuntu 2.6.31-13bfsbfq1.43-generic
  SourcePackage: emacs23
  Uname: Linux 2.6.31-13bfsbfq1-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/emacs/+bug/543611/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to