GNU bug report logs - #13653
24.2.93; cygw32 in daemon mode aborts in response to kill command

Previous Next

Package: emacs;

Reported by: Ken Brown <kbrown <at> cornell.edu>

Date: Fri, 8 Feb 2013 17:06:02 UTC

Severity: normal

Tags: moreinfo

Found in version 24.2.93

Done: Ken Brown <kbrown <at> cornell.edu>

Bug is archived. No further changes may be made.

Full log


Message #18 received at 13653-done <at> debbugs.gnu.org (full text, mbox):

From: Ken Brown <kbrown <at> cornell.edu>
To: Eli Zaretskii <eliz <at> gnu.org>, Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 13653-done <at> debbugs.gnu.org
Subject: Re: bug#13653: 24.2.93; cygw32 in daemon mode aborts in response to
 kill command
Date: Sun, 6 Dec 2020 17:50:24 -0500
On 12/6/2020 2:25 PM, Eli Zaretskii wrote:
>> From: Lars Ingebrigtsen <larsi <at> gnus.org>
>> Date: Sun, 06 Dec 2020 20:14:27 +0100
>> Cc: 13653 <at> debbugs.gnu.org
>>
>> Ken Brown <kbrown <at> cornell.edu> writes:
>>
>>> In the cygw32 build, start emacs in daemon mode:
>>>
>>> $ emacs --daemon -Q
>>>
>>> Now kill it from the terminal:
>>>
>>> $ kill PID
>>>
>>> The result is an Emacs Abort Dialog box saying a fatal error has
>>> occurred and asking me if I want to attach a debugger.  I have two
>>> problems with this.  First, a kill command shouldn't cause emacs to
>>> abort.  Second, I don't think the cygw32 build should ever pop up an
>>> abort dialog box.  None of the other emacs builds on Cygwin do this,
>>> so it's surprising and confusing to users.
>>
>> (This bug report unfortunately got no response at the time.)
>>
>> Are you still seeing this problem in more recent Emacs versions?
> 
> Assuming that Ken says this is still an issue: how does 'kill' work in
> its Cygwin version?  Specifically, is it possible that it runs the
> signal handler in a separate thread, like what Windows does with
> SIGINT handlers of console programs if one types Ctrl-C?  If so, I
> think I know the reason and can describe the details; fixing that is
> not trivial, to say the least.

No, it's not an issue anymore.  Closing.

Ken




This bug report was last modified 4 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.