From: Eli Zaretskii <eliz@gnu.org>
To: Andy Moreton <andrewjmoreton@gmail.com>
Cc: 46494@debbugs.gnu.org
Subject: bug#46494: 28.0.50; [native-comp] Problems with async background compile
Date: Sat, 20 Feb 2021 14:54:16 +0200 [thread overview]
Message-ID: <83wnv2zypz.fsf@gnu.org> (raw)
In-Reply-To: <868s7jym8t.fsf@gmail.com> (message from Andy Moreton on Sat, 20 Feb 2021 12:09:06 +0000)
> From: Andy Moreton <andrewjmoreton@gmail.com>
> Date: Sat, 20 Feb 2021 12:09:06 +0000
>
> > M-: (signal-process PROC-ID 'SIGHUP) RET
> >
> > (where PROC-ID is the process ID of the Emacs subprocess running the
> > native compilation), do you see the same crash, or does the subprocess
> > exit cleanly? To see the PROC-ID, you can use the Task manager or the
> > 'pslist' command from the PsTools suite.
>
> I tried that by adding binding this to a key:
> (defun signal-hup (proc)
> (interactive "nProcess: ")
> (signal-process proc 'SIGHUP))
>
> On a x86_64-w64-mingw32 build, sending SIGHUP to a compilation
> subprocess results in the emacs abort dialog being shown briefly and
> then disappearing (without user interaction). That dialog should require
> pressing a button to dismiss it.
I think if the process dies or exits, the dialog is closed.
So, since you seem to be able to reproduce this with a simpler setup,
please try these:
. repeat the experiment using 'SIGINT and 'SIGBREAK instead of
'SIGHUP
. repeat the experiment with w32-start-process-share-console set to
a non-nil value (both with SIGHUP and the other 2 SIG* signals)
I'd be interested to know whether the results are different.
(If you have no time for these experiments, just leave this until I
get to testing the branch. TIA.)
next prev parent reply other threads:[~2021-02-20 12:54 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-13 16:58 bug#46494: 28.0.50; [native-comp] Problems with async background compile Andy Moreton
2021-02-13 18:12 ` Eli Zaretskii
2021-02-13 20:20 ` Andy Moreton
2021-02-13 20:24 ` Eli Zaretskii
2021-02-14 8:01 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-14 15:31 ` Eli Zaretskii
2021-02-14 18:28 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-14 19:11 ` Eli Zaretskii
2021-02-20 10:37 ` Eli Zaretskii
2021-02-20 12:09 ` Andy Moreton
2021-02-20 12:54 ` Eli Zaretskii [this message]
2021-02-20 16:40 ` Andy Moreton
2021-02-20 16:54 ` Eli Zaretskii
2021-02-20 17:30 ` Andy Moreton
2021-02-20 17:37 ` Eli Zaretskii
2021-03-07 14:34 ` Eli Zaretskii
2021-03-08 0:19 ` Andy Moreton
2021-03-08 3:27 ` Eli Zaretskii
2021-02-21 21:22 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-22 3:28 ` Eli Zaretskii
2021-02-22 19:51 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-16 16:53 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-16 18:34 ` Eli Zaretskii
2021-03-16 20:10 ` Andy Moreton
2021-03-16 20:48 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83wnv2zypz.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=46494@debbugs.gnu.org \
--cc=andrewjmoreton@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).