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

Previous Next

Package: guile;

Reported by: Ster Chess <sterchess <at> gmail.com>

Date: Sat, 15 Jul 2017 02:17:02 UTC

Severity: normal

To reply to this bug, email your comments to 27698 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#27698; Package guile. (Sat, 15 Jul 2017 02:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ster Chess <sterchess <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sat, 15 Jul 2017 02:17:02 GMT) Full text and rfc822 format available.

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

From: Ster Chess <sterchess <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: Guile takes over system +rant
Date: Sat, 15 Jul 2017 01:39:29 +0100
[Message part 1 (text/plain, inline)]
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.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guile <at> gnu.org:
bug#27698; Package guile. (Sat, 15 Jul 2017 18:54:02 GMT) Full text and rfc822 format available.

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

From: Mark H Weaver <mhw <at> netris.org>
To: Ster Chess <sterchess <at> gmail.com>
Cc: 27698 <at> debbugs.gnu.org
Subject: Re: bug#27698: Guile takes over system +rant
Date: Sat, 15 Jul 2017 14:52:52 -0400
Ster Chess <sterchess <at> gmail.com> 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




This bug report was last modified 7 years and 334 days ago.

Previous Next


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