From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#10674: 24.0.92; cmdproxy.exe fork-bomb Date: Thu, 02 Feb 2012 19:27:43 +0200 Message-ID: <83fwetp2ls.fsf@gnu.org> References: <86mx94a7kq.fsf@DESKTOP.i-did-not-set--mail-host-address--so-tickle-me> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1328203843 15352 80.91.229.3 (2 Feb 2012 17:30:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Feb 2012 17:30:43 +0000 (UTC) Cc: 10674@debbugs.gnu.org To: sjm@spamcop.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 02 18:30:42 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rt0Ua-0002Ch-90 for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Feb 2012 18:30:40 +0100 Original-Received: from localhost ([::1]:53101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt0UZ-0000LJ-HW for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Feb 2012 12:30:39 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:55745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt0UW-0000FW-BZ for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 12:30:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rt0UU-0003hp-AI for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 12:30:36 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt0UU-0003hj-66 for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 12:30:34 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rt0Uv-0001xB-Sr for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 12:31:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Feb 2012 17:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10674 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 10674-submit@debbugs.gnu.org id=B10674.13282038187459 (code B ref 10674); Thu, 02 Feb 2012 17:31:01 +0000 Original-Received: (at 10674) by debbugs.gnu.org; 2 Feb 2012 17:30:18 +0000 Original-Received: from localhost ([127.0.0.1]:51093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rt0UE-0001wG-5a for submit@debbugs.gnu.org; Thu, 02 Feb 2012 12:30:18 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:54524) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rt0UB-0001w3-N7 for 10674@debbugs.gnu.org; Thu, 02 Feb 2012 12:30:16 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LYS005000GKDJ00@a-mtaout22.012.net.il> for 10674@debbugs.gnu.org; Thu, 02 Feb 2012 19:29:41 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.37.111]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LYS004VE0LFHBB0@a-mtaout22.012.net.il>; Thu, 02 Feb 2012 19:29:40 +0200 (IST) In-reply-to: <86mx94a7kq.fsf@DESKTOP.i-did-not-set--mail-host-address--so-tickle-me> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56392 Archived-At: > 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).