emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13653: closed (24.2.93; cygw32 in daemon mode aborts in response to


From: GNU bug Tracking System
Subject: bug#13653: closed (24.2.93; cygw32 in daemon mode aborts in response to kill command)
Date: Sun, 06 Dec 2020 22:51:01 +0000

Your message dated Sun, 6 Dec 2020 17:50:24 -0500
with message-id <50bbbcc6-9d9e-3807-4e7c-4dcc3df0938e@cornell.edu>
and subject line Re: bug#13653: 24.2.93; cygw32 in daemon mode aborts in 
response to kill command
has caused the debbugs.gnu.org bug report #13653,
regarding 24.2.93; cygw32 in daemon mode aborts in response to kill command
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
13653: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13653
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 24.2.93; cygw32 in daemon mode aborts in response to kill command Date: Fri, 08 Feb 2013 11:39:59 -0500 User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
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.

In GNU Emacs 24.2.93.1 (i686-pc-cygwin)
 of 2013-02-07 on fiona
Windowing system distributor `Microsoft Corp.', version 0.0.0
Configured using:
 `configure
 '--srcdir=/home/kbrown/src/cygemacs/emacs-24.2.93-1/src/emacs-24.2.93'
 '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin'
 '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--datadir=/usr/share'
 '--localstatedir=/var' '--sysconfdir=/etc' '--datarootdir=/usr/share'
 '--docdir=/usr/share/doc/emacs' '-C' '--with-w32' 'CC=gcc'
 'CFLAGS=-ggdb -O2 -pipe

-fdebug-prefix-map=/home/kbrown/src/cygemacs/emacs-24.2.93-1/build=/usr/src/debug/emacs-24.2.93-1

-fdebug-prefix-map=/home/kbrown/src/cygemacs/emacs-24.2.93-1/src/emacs-24.2.93=/usr/src/debug/emacs-24.2.93-1'
 'LDFLAGS=-L/usr/lib/ncursesw' 'LIBS='
 'CPPFLAGS=-I/usr/include/ncursesw''





--- End Message ---
--- Begin Message --- 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 User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1
On 12/6/2020 2:25 PM, Eli Zaretskii wrote:
From: Lars Ingebrigtsen <larsi@gnus.org>
Date: Sun, 06 Dec 2020 20:14:27 +0100
Cc: 13653@debbugs.gnu.org

Ken Brown <kbrown@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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]