GNU bug report logs - #10674
24.0.92; cmdproxy.exe fork-bomb

Previous Next

Packages: emacs, w32;

Reported by: sjm <at> spamcop.net

Date: Tue, 31 Jan 2012 03:50:01 UTC

Severity: important

Found in version 24.0.92

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #41 received at 10674 <at> debbugs.gnu.org (full text, mbox):

From: Simon Morgan <sjm <at> spamcop.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 10674 <at> debbugs.gnu.org
Subject: Re: bug#10674: 24.0.92; cmdproxy.exe fork-bomb
Date: Mon, 06 Feb 2012 22:22:22 +0000
[Message part 1 (text/plain, inline)]
On 06/02/2012 09:26 PM, Eli Zaretskii wrote:
> 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
> failure.

(gdb) p i
$1 = 33
(gdb) p j
$2 = 0
(gdb) p k
$3 = 0
(gdb) p err
$4 = 4885256

-- 
The fundamental asymmetry of consciousness means triangulation is the 
only path to understanding.

[smime.p7s (application/pkcs7-signature, attachment)]

This bug report was last modified 13 years and 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.