[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126
From: |
Paul Eggert |
Subject: |
bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126 |
Date: |
Thu, 06 Dec 2012 12:36:05 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 12/06/12 12:25, Eli Zaretskii wrote:
> How can that happen, if PID is not our child process?
Because Emacs regularly kills processes that it thinks are its
children. If I'm running several applications, one of them
can kill the other even if the applications are otherwise
unrelated -- that's standard Unix semantics. So if
Emacs mistakenly thinks that it has a child with PID 1234
and does the equivalent of "kill -9 1234", which is something
that delete-process does, Emacs can kill an innocent and
unrelated victim.
> the hypothetical problem you envision
> hardly justify losing an Emacs session.
It depends on how important the other process is to the user.
Sometimes, the other process is more important than Emacs,
and the user would rather lose this Emacs session than lose
the other process.
>> One possibility is for Emacs to fall back into recovery mode
>
> It is much easier to remove the offending process object from the list
> of those we expect to be dead.
Sure, but there's a good case for being cautious here, even if
it's a bit harder to be cautious.
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Stephen Powell, 2012/12/05
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Eli Zaretskii, 2012/12/05
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Stephen Powell, 2012/12/05
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Eli Zaretskii, 2012/12/05
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Paul Eggert, 2012/12/05
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Eli Zaretskii, 2012/12/05
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Paul Eggert, 2012/12/06
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Eli Zaretskii, 2012/12/06
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Paul Eggert, 2012/12/06
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Eli Zaretskii, 2012/12/06
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126,
Paul Eggert <=
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Eli Zaretskii, 2012/12/06
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Eli Zaretskii, 2012/12/06
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Paul Eggert, 2012/12/06
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Eli Zaretskii, 2012/12/07
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Paul Eggert, 2012/12/07
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Eli Zaretskii, 2012/12/07
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Paul Eggert, 2012/12/06
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Eli Zaretskii, 2012/12/07
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Ken Brown, 2012/12/07
- bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126, Paul Eggert, 2012/12/07