There's some nuance here. This bug is GTK-related. If your emacs daemon is not compiled with gtk support (either a terminal-only version of compiled with the lucid toolkit), then you will not see this bug. Even if your emacs is compiled with gtk, you will still not see the bug unless you actually create (and then destroy) an emacs X window that uses GTK, so doing emacsclient -nw should not trigger the bug. But doing emacsclient -c with the same daemon later should still cause a crash.
-- 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp