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

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

bug#13701: 24.2.93; Segmentation fault


From: Eli Zaretskii
Subject: bug#13701: 24.2.93; Segmentation fault
Date: Wed, 13 Feb 2013 19:47:07 +0200

> From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
> Date: Wed, 13 Feb 2013 10:04:15 +0100
> Cc: 13701@debbugs.gnu.org
> 
> That say, probably Emacs should detect when calling a process if the
> executable is compatible with value of `shell-file-name' and throw a big
> old error if so before crashing Emacs, don't know if that is possible
> though.

It's not easy, at least.

> (probably it is what Eli want to fix)

Actually, I'm still trying to figure out what the heck happens on
Sebastien's machine ;-)

One problem with running programs via Bash or zsh is that these shells
catch and ignore signals, and who knows what they do with Windows
termination messages (which Emacs uses to kill subprocesses).  One
other problem, which is specific to Windows, is that the
TerminateProcess API does not kill child processes of the process we
kill, so that killing a shell might leave the programs it runs in the
system.  I see in Sebastien's reports that TerminateProcess is
sometimes called, which might be a symptom of the problem (Emacs
generally tries to avoid calling TerminateProcess, if it possibly
can).





reply via email to

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