unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: sjm@spamcop.net
Cc: 10674@debbugs.gnu.org
Subject: bug#10674: 24.0.92; cmdproxy.exe fork-bomb
Date: Thu, 02 Feb 2012 19:27:43 +0200	[thread overview]
Message-ID: <83fwetp2ls.fsf@gnu.org> (raw)
In-Reply-To: <86mx94a7kq.fsf@DESKTOP.i-did-not-set--mail-host-address--so-tickle-me>

> From: sjm@spamcop.net
> Date: Tue, 31 Jan 2012 03:12:37 +0000
> 
> How to fork-bomb Windows in 4 simple steps:
> 
> 1. M-x customize-browse
> 2. Click "Programming"
> 3. Click "Languages"
> 4. Wait
> 
> Your process list should quickly get flooded with copies of cmdproxy.exe
> and Windows should soon grind to a halt.

I cannot reproduce this, no matter how hard I try.  I tried half a
dozen of different Emacs binaries, including the very same you used:

> In GNU Emacs 24.0.92.1 (i386-mingw-nt6.1.7601)
>  of 2012-01-23 on MARVIN

which is the latest weekly snapshot of the development trunk, and also
several others.  I did that on 2 different machines.  None of these
flooded my system with copies of cmdproxy.  They all worked as
expected, showing the list of programming languages supported by Emacs
modes.

So something else is at work here that exists on your machine, but not
on mine.  One difference is that my machines run Windows XP, not
Windows 7.  But I don't think this is the first thing I'd suspect.

First, does this happen in "emacs -Q" for you?  If not, please look in
your .emacs for possible reasons.

If "emacs -Q" produces the problem, then the only invocation of
cmdproxy in the sequence you describe is in python.el, in the function
python-check-version, which invokes "python -V" and parses its
output.  Do you have Python installed, and if so, is python.exe on
your PATH?  Also, does the following command works as expected, or
does it also produce the same problem?

  M-: (shell-command-to-string "python -V") RET

Finally, please make sure Emacs picks up the correct binary of
cmdproxy.exe, the correct binary of python.exe (if it is installed),
and your python.elc is not corrupted (recompile it to be sure, or
manually load python.el before doing the sequence that triggered the
bug).





  reply	other threads:[~2012-02-02 17:27 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-31  3:12 bug#10674: 24.0.92; cmdproxy.exe fork-bomb sjm
2012-02-02 17:27 ` Eli Zaretskii [this message]
     [not found]   ` <4F2B5793.2010809@spamcop.net>
2012-02-03 10:47     ` Eli Zaretskii
2012-02-05 22:50       ` Simon Morgan
2012-02-06  3:57         ` Eli Zaretskii
2012-02-06 12:53           ` Simon Morgan
2012-02-06 15:29       ` Simon Morgan
2012-02-06 15:47         ` Juanma Barranquero
2012-02-06 16:57           ` Simon Morgan
2012-02-06 17:50         ` Eli Zaretskii
2012-02-06 18:00           ` Simon Morgan
2012-02-06 21:26             ` Eli Zaretskii
2012-02-06 22:22               ` Simon Morgan
2012-02-07  3:54                 ` Eli Zaretskii
2012-02-07 13:25                   ` Simon Morgan
2012-02-07 17:14                     ` Eli Zaretskii
2012-02-07 18:31                       ` Simon Morgan
2012-02-07 18:45                         ` Eli Zaretskii
2012-02-11 12:08                           ` Eli Zaretskii
2012-02-13 19:25                             ` Simon Morgan
2012-02-13 20:46                               ` Eli Zaretskii
2012-02-19 19:07                                 ` Simon Morgan
2012-02-19 21:16                                   ` Eli Zaretskii
2012-02-24 10:15                                     ` Eli Zaretskii

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=83fwetp2ls.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=10674@debbugs.gnu.org \
    --cc=sjm@spamcop.net \
    /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).