[Top][All Lists]

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

bug#10674: 24.0.92; cmdproxy.exe fork-bomb

From: Eli Zaretskii
Subject: bug#10674: 24.0.92; cmdproxy.exe fork-bomb
Date: Mon, 06 Feb 2012 23:26:46 +0200

> Date: Mon, 06 Feb 2012 18:00:17 +0000
> From: Simon Morgan <sjm@spamcop.net>
> CC: 10674@debbugs.gnu.org
> On 06/02/2012 05:50 PM, Eli Zaretskii wrote:
> > It sounds like SearchPath fails.  Does it help to add
> > c:\emacs-24.0.92\bin to your Path?
> Nope.

I modified cmdproxy.c to pinpoint which of the 3 tests leading to the
recursive spawn fails, and also to report the error code explaining
the failure.  Attached please find the modified source and the
compiled executable.  After unzipping them in emacs's bin directory,
please start GDB ("gdb cmdproxy.exe"), type "dir ." (to let it pick up
the modified source), then run cmdproxy till the line where it calls
spawn, and see what the values of i, j, k tell you about which test
failed, and what the value of err says about the reason of the


Attachment: cmdproxy.zip
Description: Zip archive

reply via email to

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