From: Eli Zaretskii <eliz@gnu.org>
To: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>
Cc: 13546@debbugs.gnu.org
Subject: bug#13546: 24.2.92; Error(s) when sending emails
Date: Fri, 15 Feb 2013 17:47:13 +0200 [thread overview]
Message-ID: <837gm9tw8u.fsf@gnu.org> (raw)
In-Reply-To: <86k3q9mwwa.fsf@somewhere.org>
> From: "Sebastien Vauban" <wxhgmqzgwmuf@spammotel.com>
> Cc: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>, 13546@debbugs.gnu.org
> Date: Fri, 15 Feb 2013 16:15:01 +0100
>
> - What about that magical `C-v' character? Any idea?
No idea. It doesn't seem to be related to the problem, though.
> - Now that you know what the problem was, can you confirm that Emacs 23 did
> behave well for my use case? Maybe Emacs 24.0 as well?
Emacs 23 concealed the problem: it would let you continue invoking
subprocesses, but with every Locate subprocesses launched by Helm,
Emacs would leak 2 handles. After some time (longer than the 2-3
hours you got with 24.2.9x), too many handles would have been lost,
and Emacs would become unusable. Moreover, since the OS cannot reuse
a process ID of a process which still has some handle open on it, the
entire system would become unusable, because it could no longer launch
processes.
In v24.2.91, this handle leakage was plumbed, but doing so exhibited
another problem (which was already fixed on the trunk, btw), which
manifested itself in what you described. Note that this problem only
rears its ugly head whenever an async subprocess is launched and then
killed without letting it exit in an orderly manner. That is why no
one else reported the problem: I guess there are no more Helm users on
Windows who track the v24.3 pretests.
> - Is the current problem only happening on Windows (or due to my shell
> setting)?
It is specific to Windows, but is not related to any shell settings.
It happens every time an async subprocess is killed by calling
delete-process on it.
> - Is it only with heavy process-creator users like me (by using Helm as my
> almost only way to switch between buffers and files)?
See above: delete-process is the main trigger. It prevents a slot
from being released in the array which Emacs on Windows uses to manage
subprocesses and network/serial connections. When all the 32 slots
are used up in this way, Emacs can no longer launch subprocesses or
open network connections.
The code I added looks for these "lost" slots and releases them, so
that they can be reused. On the trunk, the problem is avoided
altogether, but that requires deeper changes in the related code, and
I'd rather not make them at this late stage of the pretest.
> - Can you confirm the GDB command had to be "p *cp" and not "b *cp"?
Yes, of course. Sorry.
next prev parent reply other threads:[~2013-02-15 15:47 UTC|newest]
Thread overview: 93+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-25 9:23 bug#13546: 24.2.92; Error(s) when sending emails Sebastien Vauban
2013-01-25 13:52 ` Eli Zaretskii
[not found] ` <mailman.18301.1359121987.855.bug-gnu-emacs@gnu.org>
2013-01-25 14:06 ` Sebastien Vauban
2013-01-25 17:30 ` Glenn Morris
2013-01-25 19:33 ` Eli Zaretskii
2013-01-25 19:43 ` Glenn Morris
[not found] ` <mailman.18336.1359143096.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.18336.1359143096.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-01-27 8:18 ` Sebastien Vauban
2013-01-27 19:54 ` Glenn Morris
2013-01-25 14:08 ` Sebastien Vauban
2013-01-25 15:05 ` Eli Zaretskii
[not found] ` <mailman.18307.1359126423.855.bug-gnu-emacs@gnu.org>
2013-01-25 15:32 ` Sebastien Vauban
2013-01-25 15:58 ` Eli Zaretskii
[not found] ` <mailman.18310.1359129541.855.bug-gnu-emacs@gnu.org>
2013-01-25 16:03 ` Sebastien Vauban
2013-01-27 8:16 ` Eli Zaretskii
[not found] ` <mailman.18426.1359274612.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.18426.1359274612.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-12 12:43 ` Sebastien Vauban
2013-02-12 16:24 ` Eli Zaretskii
[not found] ` <mailman.19681.1360686344.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.19681.1360686344.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-12 17:36 ` Sebastien Vauban
2013-02-12 20:22 ` Eli Zaretskii
[not found] ` <mailman.19711.1360700560.855.bug-gnu-emacs@gnu.org>
2013-02-13 8:55 ` Sebastien Vauban
[not found] ` <86ehh9mx93.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2013-02-13 9:06 ` Sebastien Vauban
2013-02-13 17:28 ` Eli Zaretskii
[not found] ` <mailman.19837.1360776521.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.19837.1360776521.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-13 20:26 ` Sebastien Vauban
2013-02-13 22:09 ` Eli Zaretskii
[not found] ` <mailman.19867.1360793434.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.19867.1360793434.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-13 22:31 ` Sebastien Vauban
2013-02-14 5:22 ` Eli Zaretskii
2013-02-14 5:56 ` Eli Zaretskii
[not found] ` <mailman.19892.1360819353.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.19927.1360841946.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.19927.1360841946.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-15 8:31 ` Sebastien Vauban
2013-02-14 11:36 ` Sebastien Vauban
2013-02-15 10:12 ` Eli Zaretskii
2013-02-15 17:33 ` Glenn Morris
2013-02-15 19:38 ` Eli Zaretskii
[not found] ` <mailman.20035.1360949668.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.20035.1360949668.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-15 18:42 ` Sebastien Vauban
2013-02-15 18:49 ` Glenn Morris
2013-02-15 19:07 ` Eli Zaretskii
[not found] ` <mailman.20043.1360954243.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.20043.1360954243.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-15 20:50 ` Sebastien Vauban
2013-02-15 22:42 ` Eli Zaretskii
[not found] ` <mailman.20072.1360968204.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.20072.1360968204.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-15 23:34 ` Sebastien Vauban
2013-02-17 18:29 ` Eli Zaretskii
2013-02-19 17:10 ` Glenn Morris
[not found] ` <mailman.20362.1361293889.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.20362.1361293889.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-25 21:26 ` Sebastien Vauban
2013-02-25 21:43 ` Glenn Morris
[not found] ` <mailman.20837.1361828606.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.20837.1361828606.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-27 10:32 ` Sebastien Vauban
2013-02-27 18:01 ` Eli Zaretskii
2013-02-28 6:34 ` Glenn Morris
2013-02-28 15:35 ` Eli Zaretskii
[not found] ` <mailman.21036.1361988154.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.21036.1361988154.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-27 20:43 ` Sebastien Vauban
2013-02-27 21:07 ` Eli Zaretskii
[not found] ` <mailman.21051.1361999392.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.21051.1361999392.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-27 21:25 ` Sebastien Vauban
2013-02-28 4:54 ` Eli Zaretskii
2013-02-28 13:42 ` Stefan Monnier
2013-02-28 16:06 ` Eli Zaretskii
2013-03-01 11:30 ` Ted Zlatanov
2013-03-01 13:36 ` Ted Zlatanov
2013-03-01 14:03 ` Eli Zaretskii
2013-03-01 19:40 ` Ted Zlatanov
2013-03-01 20:20 ` Eli Zaretskii
[not found] ` <mailman.21215.1362169594.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.21215.1362169594.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-03-01 22:25 ` Sebastien Vauban
2013-03-01 13:58 ` Eli Zaretskii
2013-03-01 18:13 ` Glenn Morris
2013-03-01 18:31 ` Eli Zaretskii
[not found] ` <mailman.21201.1362162725.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.21201.1362162725.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-03-04 16:00 ` Sebastien Vauban
2013-03-04 17:05 ` Eli Zaretskii
[not found] ` <mailman.21157.1362137466.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.21157.1362137466.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-03-01 12:49 ` Sebastien Vauban
2013-03-01 14:01 ` Eli Zaretskii
[not found] ` <mailman.21109.1362067632.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.21109.1362067632.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-28 16:52 ` Sebastien Vauban
[not found] ` <mailman.21081.1362027312.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.21081.1362027312.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-28 8:41 ` Sebastien Vauban
2013-02-28 15:37 ` Eli Zaretskii
2013-02-28 11:59 ` Dani Moncayo
2013-02-28 15:51 ` Eli Zaretskii
[not found] ` <mailman.21094.1362052819.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.21094.1362052819.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-28 15:14 ` Sebastien Vauban
[not found] ` <mailman.20003.1360923218.855.bug-gnu-emacs@gnu.org>
2013-02-15 10:35 ` Sebastien Vauban
2013-02-15 13:20 ` Eli Zaretskii
[not found] ` <mailman.20015.1360934495.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.20015.1360934495.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-15 15:15 ` Sebastien Vauban
2013-02-15 15:47 ` Eli Zaretskii [this message]
[not found] ` <mailman.20023.1360943307.855.bug-gnu-emacs@gnu.org>
2013-02-15 16:33 ` Sebastien Vauban
2013-03-01 13:56 ` Sebastien Vauban
2013-03-01 14:28 ` Sebastien Vauban
2013-03-01 15:01 ` Eli Zaretskii
[not found] ` <mailman.19695.1360690724.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.19695.1360690724.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-12 17:48 ` Sebastien Vauban
[not found] ` <mailman.19696.1360691387.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.19696.1360691387.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-12 17:52 ` Sebastien Vauban
[not found] ` <mailman.19703.1360691991.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.19703.1360691991.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-12 18:28 ` Sebastien Vauban
2013-02-13 17:20 ` Eli Zaretskii
2013-02-14 11:01 ` Thierry Volpiatto
2013-02-15 10:10 ` Eli Zaretskii
2013-02-15 19:59 ` Thierry Volpiatto
[not found] ` <mailman.20001.1360923093.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.20001.1360923093.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-15 10:37 ` Sebastien Vauban
2013-02-15 13:26 ` Eli Zaretskii
[not found] ` <mailman.19836.1360776098.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.19836.1360776098.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-13 20:20 ` Sebastien Vauban
2013-02-13 22:08 ` Eli Zaretskii
2013-02-14 12:31 ` Sebastien Vauban
[not found] ` <mailman.19665.1360673152.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.19665.1360673152.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-12 13:07 ` Fabrice Niessen
[not found] ` <mailman.19666.1360674598.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.19666.1360674598.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-12 13:12 ` Sebastien Vauban
2013-01-25 16:06 ` Sebastien Vauban
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=837gm9tw8u.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=13546@debbugs.gnu.org \
--cc=wxhgmqzgwmuf@spammotel.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).