X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:references:subject:date:message-id
	:mime-version:content-type:content-transfer-encoding
	:in-reply-to; q=dns; s=default; b=CYxmBZ/Wcy+4rg6CYb9DMWmMXrWTUc
	/h+KBnKQwKN3SFvODxQ1TPH6Rcs65xHJI/y0xUTnrdP5AdE0B3hc/KMAY3+nKEFJ
	Bo120Uu/j8cd0f7Kdm/xNg1XTEO6mui/9DkTmzymLajeY3y2x2Vd3UFAPKFKW+yM
	VxP8QIBqG8Ghw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:references:subject:date:message-id
	:mime-version:content-type:content-transfer-encoding
	:in-reply-to; s=default; bh=I8dROlMPbEkV2+sE2rVCFimTnmU=; b=fGnQ
	bfahCf66UBW6XHddCMl8ZWuSAHy+Zolr6UsuH30X22c1nYS+D+CnuZkXYm8E8osu
	P+JwbCeaUrkHMracagSyQiz3CTBVNPc4kLZWcAtdy36zlPLAMG0LR2W0ozxOyNmb
	PtRDPu2vVR99TCdO88n98f1KPH8nSAzKrPrjJ3E=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
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
From: "Martin Anantharaman" <Martin.Anantharaman@web.de>
To: <cygwin@cygwin.com>
References: <55588B3A.8050906@cornell.edu>
Subject: emacs-w32 24.5.1: Crashes with --daemon and in "About Emacs"
Date: Mon, 18 May 2015 07:57:48 +0200
Message-ID: <FD353412F4A04A0390C6E2DBC2442E60@MartinsDell>
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;

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

