From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76480 invoked by alias); 17 May 2015 12:36:21 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 75396 invoked by uid 89); 17 May 2015 12:36:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: limerock02.mail.cornell.edu Received: from limerock02.mail.cornell.edu (HELO limerock02.mail.cornell.edu) (128.84.13.242) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 17 May 2015 12:36:19 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id t4HCaHUi009150 for ; Sun, 17 May 2015 08:36:18 -0400 Received: from [192.168.1.4] (cpe-67-249-176-138.twcny.res.rr.com [67.249.176.138]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id t4HCaG4M011699 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sun, 17 May 2015 08:36:17 -0400 Message-ID: <55588B3A.8050906@cornell.edu> Date: Mon, 18 May 2015 03:30:00 -0000 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: AW: emacs-w32 24.5.1: Crashes with --daemon and in "About Emacs" References: <555620B6.3090000@cornell.edu> <8CBDEA451F644AEAAB3A003C80C8AA39@MartinsDell> In-Reply-To: <8CBDEA451F644AEAAB3A003C80C8AA39@MartinsDell> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00210.txt.bz2 On 5/17/2015 3:44 AM, Martin Anantharaman wrote: > Ken, > > thanks for your quick reply. Regarding the problem with emacs --daemon I > should have given the following background: > 1) The commands in my listing (it was actually an attached text-file - which > automagically got inlined into the posting) need to be executed in that > sequence, i.e. emacs --daemon needs to be executed before executing > emacsclient Yes, I understood that. And, as I said, I couldn't reproduce the problem. The rest of my comment came from an effort to understand where your error message came from. > 2) I use the setting (server-use-tcp t) in my .emacs init-file to switch server-use-tcp is a variable, not a function, so (server-use-tcp t) is not valid elisp. Do you mean you customized the variable server-use-tcp? This would yield (custom-set-variables [...] '(server-use-tcp t) [...] > from the default socket connection-method to TCP - which allows the official > emacsclient (which cannot use local sockets due to MinGW limitations) to > connect as well. On the other hand emacsclient still seems to default to the > socket-connection, so it gives an error-message "emacsclient: can't find The server still creates a socket, even if it's using TCP, so this doesn't explain why emacsclient can't find the socket. > socket; have you started the server? ..." - but then connect via TCP anyway. > So without this setting (the default) that particular error-message would > not appear. > > Can you re-produce the error now? No, I customized server-use-tcp to t, and I still can't reproduce the problem. Is there something else in your .emacs that could be causing this? Have you tried starting the daemon with 'emacs --daemon -Q' to test this? > Regarding the crash in About Emacs on the second machine I did a clean > re-install but get the same error - so it could be specific to the Windows > XP (yes, I am ashamed to admit it) configuration on that machine. How could > I go about analyzing this, maybe using the stackdump and/or debuginfo? If you've installed the emacs-debuginfo package, you could try running emacs under gdb. And you should run 'emacs -Q' to make sure the problem isn't triggered by something in your init files. Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple