From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: emacs daemon exits when emacsclient connects to it again Date: Mon, 09 Feb 2009 11:47:47 +0200 Message-ID: <877i40rlfg.fsf@kobe.laptop> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234172943 8734 80.91.229.12 (9 Feb 2009 09:49:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Feb 2009 09:49:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Liang Wang Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 09 10:50:18 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LWSmP-00071k-Fo for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2009 10:50:17 +0100 Original-Received: from localhost ([127.0.0.1]:52725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWSl5-0000nB-Sa for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2009 04:48:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWSkL-0000HA-BR for emacs-devel@gnu.org; Mon, 09 Feb 2009 04:48:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWSkJ-0000Fa-3U for emacs-devel@gnu.org; Mon, 09 Feb 2009 04:48:08 -0500 Original-Received: from [199.232.76.173] (port=53755 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWSkI-0000FB-Rc for emacs-devel@gnu.org; Mon, 09 Feb 2009 04:48:06 -0500 Original-Received: from igloo.linux.gr ([62.1.205.36]:38716) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LWSkI-0000cC-5X for emacs-devel@gnu.org; Mon, 09 Feb 2009 04:48:06 -0500 Original-Received: from kobe.laptop (adsl89-44.kln.forthnet.gr [77.49.56.44]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id n199lnYH028088 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 9 Feb 2009 11:47:54 +0200 Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n199lmJY002717; Mon, 9 Feb 2009 11:47:48 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Original-Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n199ll6O002716; Mon, 9 Feb 2009 11:47:47 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) In-Reply-To: (Liang Wang's message of "Mon, 9 Feb 2009 17:11:45 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) X-MailScanner-ID: n199lnYH028088 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.872, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.53, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:108884 Archived-At: On Mon, 9 Feb 2009 17:11:45 +0800, Liang Wang wrote: > Emacs daemon exits or crashes when emacsclient connect to it again. > Below is my command line operation. > > [liang@localhost ~]$ emacs --daemon -Q > ("emacs" "-Q") > Starting Emacs daemon. > [liang@localhost ~]$ pgrep -l emacs > 2813 emacs > [liang@localhost ~]$ emacsclient -c # succeed to connect > Waiting for Emacs... > [liang@localhost ~]$ pgrep -l emacs > 2813 emacs > [liang@localhost ~]$ emacsclient -c # fail to connect > Waiting for Emacs... > [liang@localhost ~]$ pgrep -l emacs > [liang@localhost ~]$ Which version of Emacs are you running? Can you attach to the background process using gdb and see where it crashes?