← Back to team overview

desktop-packages team mailing list archive

[Bug 543611] Re: emacsclient -c randomly crashes emacs about 1 in every 5 to 10 times

 

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

** Changed in: emacs23 (Ubuntu)
       Status: New => Confirmed

-- 
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