From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Bretfeld Newsgroups: gmane.emacs.help Subject: Re: emacsserver unstable? Date: Tue, 24 Jul 2007 21:08:46 +0200 Message-ID: <20070724190845.GG3486@relwi.unibe.ch> References: <20070723234016.GC2967@relwi.unibe.ch> <878x95j0z7.fsf@baldur.tsdh.de> <20070724160858.GF3486@relwi.unibe.ch> <6554B8F7-CBBD-4C97-860F-2AA4C204EB45@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185304150 11546 80.91.229.12 (24 Jul 2007 19:09:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Jul 2007 19:09:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 24 21:09:08 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IDPkm-0001El-Ua for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Jul 2007 21:09:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDPkm-0005vT-8d for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Jul 2007 15:09:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IDPkY-0005vA-0H for help-gnu-emacs@gnu.org; Tue, 24 Jul 2007 15:08:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IDPkW-0005uy-L8 for help-gnu-emacs@gnu.org; Tue, 24 Jul 2007 15:08:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDPkW-0005uv-FZ for help-gnu-emacs@gnu.org; Tue, 24 Jul 2007 15:08:48 -0400 Original-Received: from viefep18-int.chello.at ([213.46.255.22] helo=viefep28-int.chello.at) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IDPkV-00013C-T0 for help-gnu-emacs@gnu.org; Tue, 24 Jul 2007 15:08:48 -0400 Original-Received: from kamaloka.dhatu ([84.73.230.163]) by viefep28-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20070724190846.MKHM17461.viefep28-int.chello.at@kamaloka.dhatu> for ; Tue, 24 Jul 2007 21:08:46 +0200 Original-Received: from sven by kamaloka.dhatu with local (Exim 4.63) (envelope-from ) id 1IDPkU-00087a-2Y for help-gnu-emacs@gnu.org; Tue, 24 Jul 2007 21:08:46 +0200 Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <6554B8F7-CBBD-4C97-860F-2AA4C204EB45@Web.DE> X-Operating-System: Debian GNU/Linux 4.0 Kernel 2.6.18-4-486 User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Solaris 10 (beta) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:45998 Archived-At: Hi Pete On Tue, Jul 24, 2007 at 07:44:02PM +0200, Peter Dyballa wrote: > Can you try to minimise your user init file, ~/.emacs or such? Could > be there is some code that causes the error you see ... That's an idea. I will try what happens if I reduce the init file to the necessities needed for Mutt. > > How many executables of emacsclient do you have on disk? Only one file is found by locate: sven@kamaloka:/usr/bin$ ls -l emacsclient.emacs-snapshot -rwxr-xr-x 1 root root 11608 2007-07-01 20:05 emacsclient.emacs-snapshot There are two softlinks pointing to this executable: sven@kamaloka:/usr/bin$ ls -l emacsclient lrwxrwxrwx 1 root root 29 2007-05-22 02:21 emacsclient -> /etc/alternatives/emacsclient sven@kamaloka:/etc/alternatives$ ls -l emacsclient lrwxrwxrwx 1 root root 35 2007-07-04 23:17 emacsclient -> /usr/bin/emacsclient.emacs-snapshot > Which one is found and actually executed? Can you use ps or pstree > to exactly find out which one is running and then dying? It can only be /usr/bin/emacsclient.emacs-snapshot. While I'm writing this Mail in a frame created by emacsclient, ps gives: sven@kamaloka:/usr/bin$ ps aux | grep emacsclient sven 8666 0.0 0.0 1572 424 pts/4 S+ 20:14 0:00 emacsclient /home/sven/tmp/mutt/mutt-kamaloka-1000-3486-276 which doesn't say much, I think. > Do you have LD_LIBRARY or such environment variables set? Could be > they have in an interactive session a different effect than in tool > launched by so gadgetry. lsof can exactly show which shared library > files are used in some process. Hm. At least not in my .bashrc. I'm not familiar with libraries, sorry. The only help I knew after Google returned unintelligible information on LD_LIBRARY, was to search for it with apt-utils-search, to find out that none of the resulting packages is installed on my system. By the way, the emacsserver seems to die only when it has no clients. I'm sitting on this email since half an hour now. When the server is idle, it would have given up service in the meantime.But that was to be expected, I think. Next thing I do, is to reduce my .emacs. I will report then. Greetings, Sven