From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: Eli Zaretskii <eliz-mXXj517/zsQ@public.gmane.org>
Cc: Sebastien Vauban
<wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>,
13527-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#13527: 24.2.92; Spawning child process: resource temporarily unavailable
Date: Mon, 28 Jan 2013 16:55:28 +0100 [thread overview]
Message-ID: <86zjztti8f.fsf@somewhere.org> (raw)
In-Reply-To: <mailman.18081.1358869199.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org> (Eli Zaretskii's message of "Tue, 22 Jan 2013 17:39:56 +0200")
Hi Eli,
Eli Zaretskii wrote:
>> From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
>>
>>> If you can run Emacs under GDB, I can tell you how to get the
>>> information needed to understand this problem.
>>
>> Yes, I'd be interested by how to study this...
>
> The error message comes from this snippet in callproc.c:
>
> #ifdef WINDOWSNT
> prepare_standard_handles (in, out, err, handles);
> set_process_dir (SDATA (current_dir));
> /* Spawn the child. (See ntproc.c:Spawnve). */
> cpid = spawnve (_P_NOWAIT, new_argv[0], new_argv, env);
> reset_standard_handles (in, out, err, handles);
> if (cpid == -1)
> /* An error occurred while trying to spawn the process. */
> report_file_error ("Spawning child process", Qnil);
> return cpid;
>
> #else /* not WINDOWSNT */
>
> The call to 'spawnve' will end up in w32proc.c:sys_spawnve, which
> returns EAGAIN here:
>
> cp = new_child ();
> if (cp == NULL)
> {
> errno = EAGAIN;
> return -1;
> }
>
> Therefore, step into spawnve, then step into new_child, and see why
> new_child returns NULL. I see a couple of places where it does so,
> one of them because there's already 32 subprocesses running (which is
> a hard limit in Emacs on Windows), the other one because some system
> APIs fail.
>
> If you need more instructions about the specific GDB commands to use,
> please don't hesitate to ask.
I surely will do ask, as I never stepped yet with GDB in any program. First
(important) question: for this error, do I need to run GDB before the error
happens?
Next time it happens, anyway, I'll keep the process open, aside, for a couple
of hours.
But I can already "positively" tell you that this "spawning child process"
error is something *new in 24.2.92* -- I reused 24.2.91 for a couple of days
with no problem; using 24.2.92, I got stopped only after a couple of hours.
Best regards,
Seb
--
Sebastien Vauban
next prev parent reply other threads:[~2013-01-28 15:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-22 12:55 bug#13527: 24.2.92; Spawning child process: resource temporarily unavailable Sebastien Vauban
2013-01-22 13:46 ` Eli Zaretskii
[not found] ` <mailman.18072.1358862416.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.18072.1358862416.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-01-22 15:21 ` Sebastien Vauban
2013-01-22 15:39 ` Eli Zaretskii
[not found] ` <mailman.18081.1358869199.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.18081.1358869199.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-01-28 15:55 ` Sebastien Vauban [this message]
2013-01-28 18:43 ` Eli Zaretskii
[not found] ` <mailman.18496.1359398619.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.18496.1359398619.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-12 9:21 ` bug#13527: 24.2.92 + 24.2.93; " Sebastien Vauban
2013-02-12 16:17 ` Eli Zaretskii
[not found] ` <mailman.19680.1360685866.855.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.19680.1360685866.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-02-12 17:21 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86zjztti8f.fsf@somewhere.org \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=13527-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
--cc=eliz-mXXj517/zsQ@public.gmane.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.