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

Full log


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 335 days ago.

Previous Next


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