unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [andrew.maguire@ge.com: Emacs 22.1 hung after delete-process]
Date: Thu, 16 Aug 2007 09:02:53 +0100	[thread overview]
Message-ID: <46C404AD.8040908@gnu.org> (raw)
In-Reply-To: <jwhcn0p3fd.fsf@fencepost.gnu.org>

Glenn Morris wrote:
> Or is the issue that trying to trap SIGHUP somehow creates an hung
> perl process on Windows? Is delete-process supposed to be graceful in
> such cases?
>   

It seems to. Windows does not have real signals, so both perl and Emacs
are translating those to whatever the respective developers thought was
the closest equivalent in Windows. When Emacs tries to delete the
process, a Windows dialog pops up saying that the process is not
stopping, and asking if you'd like to forcibly kill it. I got as far
last night as tracking it down to the status_message call on line 6805
of process.c. A breakpoint after that line was never reached, but a
breakpoint on that line was, and if you killed the process before
continuing, Emacs would not hang.

  parent reply	other threads:[~2007-08-16  8:02 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-15 18:21 [andrew.maguire@ge.com: Emacs 22.1 hung after delete-process] Richard Stallman
2007-08-16  3:24 ` Glenn Morris
2007-08-16  4:46   ` dhruva
2007-08-17  0:32     ` Richard Stallman
2007-08-16  8:02   ` Jason Rumney [this message]
2007-08-16 12:42     ` dhruva
2007-08-16 14:09       ` dhruva
2007-08-16 17:04         ` dhruva
2007-08-16 19:41         ` Eli Zaretskii
2007-08-17  0:32         ` Richard Stallman
2007-08-17  5:27           ` dhruva
2007-08-27 10:07           ` dhruva
2007-09-02 17:02             ` Jason Rumney
2007-08-17 13:43         ` Jason Rumney
2007-08-17 17:31           ` dhruva
2007-08-17 20:40             ` Jason Rumney
2007-08-19  7:42               ` dhruva
2007-08-22  6:29                 ` dhruva

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=46C404AD.8040908@gnu.org \
    --to=jasonr@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    --cc=rms@gnu.org \
    /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).