From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Horn Newsgroups: gmane.emacs.bugs Subject: bug#17847: 24.3; Emacsclient hang/crash Date: Wed, 25 Jun 2014 15:15:04 -0400 Message-ID: References: <8361jpq62y.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1403723795 26600 80.91.229.3 (25 Jun 2014 19:16:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2014 19:16:35 +0000 (UTC) Cc: 17847@debbugs.gnu.org To: "Eli Zaretskii" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 25 21:16:27 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WzsgD-0004NY-J9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Jun 2014 21:16:25 +0200 Original-Received: from localhost ([::1]:40607 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzsgD-0007xa-2a for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Jun 2014 15:16:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wzsg0-0007x9-QS for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2014 15:16:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wzsfr-0003he-CF for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2014 15:16:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wzsfr-0003hW-8q for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2014 15:16:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wzsfq-0008VQ-TQ for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2014 15:16:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Jun 2014 19:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17847 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17847-submit@debbugs.gnu.org id=B17847.140372372232600 (code B ref 17847); Wed, 25 Jun 2014 19:16:02 +0000 Original-Received: (at 17847) by debbugs.gnu.org; 25 Jun 2014 19:15:22 +0000 Original-Received: from localhost ([127.0.0.1]:60803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wzsf6-0008TV-Vd for submit@debbugs.gnu.org; Wed, 25 Jun 2014 15:15:21 -0400 Original-Received: from mailbackend.panix.com ([166.84.1.89]:41773) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wzsew-0008Sz-4M for 17847@debbugs.gnu.org; Wed, 25 Jun 2014 15:15:10 -0400 Original-Received: from hp-toy.robs.office (panix1.panix.com [166.84.1.1]) by mailbackend.panix.com (Postfix) with ESMTP id 434DB2E5B3; Wed, 25 Jun 2014 15:15:05 -0400 (EDT) User-agent: mu4e 0.9.9.5; emacs 24.3.1 In-reply-to: <8361jpq62y.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90805 Archived-At: Eli Zaretskii writes: >> From: Robert Horn >> Date: Wed, 25 Jun 2014 11:32:19 -0400 >> >> Minimal test: >> >> 1. Start emacs --daemon -Q -s test >> 2. Start emacsclient --alternate-editor="" -c -s test >> 3. Exit emacsclient with c-X 5 0 >> 4. Repeat 2. and 3. until fail (3-6 tries typically) >> >> Failure is a momentary appearance of the X-window frame for the >> emacsclient. After it is gone, the emacs daemon has also exited. >> >> Related test: >> 1. Start emacs --daemon -s test (full startup with configuration >> indicated below). >> 2., 3., 4. the same > > What's the significance of all the non-default options in this recipe? > Does the problem only happen if you use precisely those options? If > so, can you tell why you need them? I retested the minimal with starting emacs using "emacs --daemon -Q" and emacsclient using "emacsclient -c". The results are the same. After 5 cycles there is the momentary appearence of the X-window frame, then both emacs and emacsclient processes have exited. They were in there as leftovers from my old setup where I want emacsclient to go to a particular socket and start emacs automatically if there is not a daemon running already. R Horn