From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79381 invoked by alias); 18 May 2015 05:57:58 -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 79354 invoked by uid 89); 18 May 2015 05:57:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mout.web.de Received: from mout.web.de (HELO mout.web.de) (212.227.15.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 18 May 2015 05:57:55 +0000 Received: from MartinsDell ([80.140.219.114]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0MOzrj-1YrAzn210Z-006MbB for ; Mon, 18 May 2015 07:57:52 +0200 From: "Martin Anantharaman" To: References: <55588B3A.8050906@cornell.edu> Subject: emacs-w32 24.5.1: Crashes with --daemon and in "About Emacs" Date: Mon, 18 May 2015 09:42:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <55588B3A.8050906@cornell.edu> X-UI-Out-Filterresults: notjunk:1; X-SW-Source: 2015-05/txt/msg00212.txt.bz2 Ken, so that we do not get side-tracke by differences in our emacs-customizations I now re-produced the error in a "clean" environment, i.e. I unset ALTERNATE_EDITOR and did the following: $ emacs --daemon -Q Starting Emacs daemon. $ emacsclient .shrc Waiting for Emacs... *ERROR*: Could not open file: /dev/cons1 $ emacsclient .shrc Waiting for Emacs... (emacsclient returns immediately, task-manager shows there is no more emacs-w32 process and there is a new stackdump in the working directory) $ cat emacs-w32.exe.stackdump Stack trace: Frame Function Args 017075E4 61033210 (00000558, 0000EA60, 000000A4, 01707654) 01707714 610EF12F (00000012, 00000000, 0170776C, 6110E4AF) To get some more insight I tried to do the same on another machine running Arch Linux (though with emacs 24.3 under LXDE) and guess what: At any number of calls to emacsclient as above a (emacs-)window is opened in the TERMINAL from which I run emacsclient (though a new desktop-window is opened when emacsclient is called with the -c option) - which is not working in my Cygwin/Windows combination giving the error "*ERROR*: Could not open file: /dev/cons1" and crashing emacs on the next c. So what happends when you call emacs and then emacsclient in the same order as shown? Regarding the 2. problem (crash on About Emacs) it happens exactly the same way when I call emacs with emacs -Q and immediately open About Emacs. I will get the debuginfo and try to see where/why it is crashing when I have a little spare time - I was just hoping that the stackdump I had attached before might actually allow you to localize the error. Regards, Martin -- 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