GNU bug report logs - #27698
Guile takes over system +rant

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Ster Chess <sterchess@HIDDEN>; dated Sat, 15 Jul 2017 02:17:02 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at 27698 <at> debbugs.gnu.org:


Received: (at 27698) by debbugs.gnu.org; 15 Jul 2017 18:53:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 15 14:53:13 2017
Received: from localhost ([127.0.0.1]:40636 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dWSBk-00069u-Vh
	for submit <at> debbugs.gnu.org; Sat, 15 Jul 2017 14:53:13 -0400
Received: from world.peace.net ([50.252.239.5]:49428)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mhw@HIDDEN>) id 1dWSBi-00069f-KY
 for 27698 <at> debbugs.gnu.org; Sat, 15 Jul 2017 14:53:10 -0400
Received: from pool-72-93-34-106.bstnma.east.verizon.net ([72.93.34.106]
 helo=jojen)
 by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <mhw@HIDDEN>)
 id 1dWSBc-0005d8-I2; Sat, 15 Jul 2017 14:53:04 -0400
From: Mark H Weaver <mhw@HIDDEN>
To: Ster Chess <sterchess@HIDDEN>
Subject: Re: bug#27698: Guile takes over system +rant
References: <CAFDv5SCfc+hVXTSuAePjkKTsE-hmVauNnqXvKvp0FXGnOBWfFA@HIDDEN>
Date: Sat, 15 Jul 2017 14:52:52 -0400
In-Reply-To: <CAFDv5SCfc+hVXTSuAePjkKTsE-hmVauNnqXvKvp0FXGnOBWfFA@HIDDEN>
 (Ster Chess's message of "Sat, 15 Jul 2017 01:39:29 +0100")
Message-ID: <87fudxpm63.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 27698
Cc: 27698 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Ster Chess <sterchess@HIDDEN> writes:

> I'm sorry if this has already been suggested as a bug, but I couldn't
> find it in the bug tracker.  If I create a simple recursive factorial
> function, and choose huge values for it, Guile will happily do my
> bidding and take all the system resources and my whole system becomes
> unusable. This should never happen.

If you want to limit the stack size within Guile, see
'call-with-stack-overflow-handler', described here:

  https://www.gnu.org/software/guile/manual/html_node/Stack-Overflow.html

      Mark




Information forwarded to bug-guile@HIDDEN:
bug#27698; Package guile. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Jul 2017 02:16:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 14 22:16:47 2017
Received: from localhost ([127.0.0.1]:39430 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dWCdS-0002nX-Fx
	for submit <at> debbugs.gnu.org; Fri, 14 Jul 2017 22:16:47 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41475)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sterchess@HIDDEN>) id 1dWB7W-00075g-3f
 for submit <at> debbugs.gnu.org; Fri, 14 Jul 2017 20:39:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sterchess@HIDDEN>) id 1dWB7P-0000jv-Kw
 for submit <at> debbugs.gnu.org; Fri, 14 Jul 2017 20:39:36 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:56803)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <sterchess@HIDDEN>) id 1dWB7P-0000jr-Hp
 for submit <at> debbugs.gnu.org; Fri, 14 Jul 2017 20:39:35 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:60679)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sterchess@HIDDEN>) id 1dWB7O-0004PA-6r
 for bug-guile@HIDDEN; Fri, 14 Jul 2017 20:39:35 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sterchess@HIDDEN>) id 1dWB7N-0000jc-7y
 for bug-guile@HIDDEN; Fri, 14 Jul 2017 20:39:34 -0400
Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:35423)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <sterchess@HIDDEN>) id 1dWB7N-0000j8-1x
 for bug-guile@HIDDEN; Fri, 14 Jul 2017 20:39:33 -0400
Received: by mail-oi0-x22e.google.com with SMTP id 191so83596577oii.2
 for <bug-guile@HIDDEN>; Fri, 14 Jul 2017 17:39:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=rUU/h7sp6DI9ugeQWJW9soiAfOGdS6ySeIx6+dk+u5A=;
 b=ilsq1JxSVqxKypIGgS3NtE+3bgGH/prIR+V1bNKn8HESXa7JrtFaR3T8wF/9QPsLGi
 NgCYV6u/6Xlg+MAGsgB1rnUf2InfqhRCxvJcf2YW86xBaJ60tTBlYmVW8hZxwkSHSxSh
 aUuYKx0WkILH1DAAPBKhsDRQb34wvclC0XFJWG7BZTh5JnPYjkBwCxfc1kjvYiDMfV7o
 bPz5jjqnwMRup1gPuS2GhuJ4gFpLe6yK13vvIfqaSR0eNSppL7gRXBhzoqK0ySUln17W
 YmVEMqhF1Z5RJM8k8n6Q05OKW953KHIekCP0MnSRWpha9tBuyWmipQXOU2SDWD3gFOMg
 hkfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=rUU/h7sp6DI9ugeQWJW9soiAfOGdS6ySeIx6+dk+u5A=;
 b=kn74wthkqccwf0UuINHsfxNAGOjoUvg+giPwZcoQpTtZhUbOEQUCVx84VS/hSA4/f7
 5KGbSiPrV06lM+Cy0O6Y5i2851NBI8/g5GAR9qBT36B+7jab+exBQAV4FgfXQ79/4jgc
 O5MwhFiOgTHQlEXjc8DNFvHadSysJaeBl6CF8xn6TXeeVwQM3E3zNjH8KygjDUOiSFW6
 BdRqiaVmidxw3yokYt+RsYNbcJ59sQw4fgMQNZO8wVPpBan4BZdIdW+Ea12J04GDhSPs
 V9eEH5Y790tcZ0pkzoFjQ8Typb+QEfhD6suay0wpHmHZec1kgbpFJlACF0UetOaYW0Dw
 bHng==
X-Gm-Message-State: AIVw112Ek/YeJnVEuEj2Ke5b7YclUsmT8HEwY2RAynFZivI2IAc/T6FB
 BoFzuIcNXTDhdrYBIrL3sdVvMXbo+Art
X-Received: by 10.202.244.70 with SMTP id s67mr8422930oih.31.1500079170530;
 Fri, 14 Jul 2017 17:39:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.74.132.202 with HTTP; Fri, 14 Jul 2017 17:39:29 -0700 (PDT)
From: Ster Chess <sterchess@HIDDEN>
Date: Sat, 15 Jul 2017 01:39:29 +0100
Message-ID: <CAFDv5SCfc+hVXTSuAePjkKTsE-hmVauNnqXvKvp0FXGnOBWfFA@HIDDEN>
Subject: Guile takes over system +rant
To: bug-guile@HIDDEN
Content-Type: multipart/alternative; boundary="001a11c183481834550554506628"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 14 Jul 2017 22:16:45 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

--001a11c183481834550554506628
Content-Type: text/plain; charset="UTF-8"

I'm sorry if this has already been suggested as a bug, but I couldn't find
it in the bug tracker.
If I create a simple recursive factorial function, and choose huge values
for it, Guile will happily do my bidding and take all the system resources
and my whole system becomes unusable. This should never happen. Python and
other scripting languages usually limit how much of the system's resources
they take up, and Python limit the depth of recursion (obviously not
appropriate for Scheme). I planned to use GNU Guile for a small project,
but I will most likely shift to another extension language because I cannot
deal with this issue.
Furthermore, can I make a polite recommendation that you shift over to a
GitLab repository (git.gnu.io, like GNU fm and GNU social?), or something
with a decent interface? The bug tracker is so old-fashioned, and
submitting issues by email?! This might sound rude but I'm honestly trying
to help.
Worse still, you advertise support for ECMAScript on your website, but as
far as I can tell, that's not really the case, since "The implementor was
completely irresponsible". Am I mistaken?
Finally, is Lua support under active implementation?
Sorry to rant at you, would appreciate a reply,
Some random guy off the internet.

--001a11c183481834550554506628
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I&#39;m sorry if this has already been suggested as a bug,=
 but I couldn&#39;t find it in the bug tracker.<div>If I create a simple re=
cursive factorial function, and choose huge values for it, Guile will happi=
ly do my bidding and take all the system resources and my whole system beco=
mes unusable. This should never happen. Python and other scripting language=
s usually limit how much of the system&#39;s resources they take up, and Py=
thon limit the depth of recursion (obviously not appropriate for Scheme). I=
 planned to use GNU Guile for a small project, but I will most likely shift=
 to another extension language because I cannot deal with this issue.</div>=
<div>Furthermore, can I make a polite recommendation that you shift over to=
 a GitLab repository (<a href=3D"http://git.gnu.io">git.gnu.io</a>, like GN=
U fm and GNU social?), or something with a decent interface? The bug tracke=
r is so old-fashioned, and submitting issues by email?! This might sound ru=
de but I&#39;m honestly trying to help.</div><div>Worse still, you advertis=
e support for ECMAScript on your website, but as far as I can tell, that&#3=
9;s not really the case, since &quot;The implementor was completely irrespo=
nsible&quot;. Am I mistaken?<br></div><div>Finally, is Lua support under ac=
tive implementation?</div><div>Sorry to rant at you, would appreciate a rep=
ly,</div><div>Some random guy off the internet.</div></div>

--001a11c183481834550554506628--




Acknowledgement sent to Ster Chess <sterchess@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#27698; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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