GNU bug report logs -
#13653
24.2.93; cygw32 in daemon mode aborts in response to kill command
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13653 in the body.
You can then email your comments to 13653 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13653
; Package
emacs
.
(Fri, 08 Feb 2013 17:06:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ken Brown <kbrown <at> cornell.edu>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 08 Feb 2013 17:06:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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''
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13653
; Package
emacs
.
(Sun, 06 Dec 2020 19:15:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 13653 <at> debbugs.gnu.org (full text, mbox):
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?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) moreinfo.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 06 Dec 2020 19:15:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13653
; Package
emacs
.
(Sun, 06 Dec 2020 19:26:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 13653 <at> debbugs.gnu.org (full text, mbox):
> 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.
Reply sent
to
Ken Brown <kbrown <at> cornell.edu>
:
You have taken responsibility.
(Sun, 06 Dec 2020 22:51:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ken Brown <kbrown <at> cornell.edu>
:
bug acknowledged by developer.
(Sun, 06 Dec 2020 22:51:01 GMT)
Full text and
rfc822 format available.
Message #18 received at 13653-done <at> debbugs.gnu.org (full text, mbox):
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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 04 Jan 2021 12:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 165 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.