Subject: bug#25212: closed (Re: bug#25212: REPL aborts when a stack overflow is triggered twice)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 09 Jan 2017 21:52:02 +0000

Your bug report

#25212: REPL aborts when a stack overflow is triggered twice

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
25212: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25212
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#25212: REPL aborts when a stack overflow is triggered twice
From: Andy Wingo <[email-masked]>
To: Steff <[email-masked]>
Cc: [email-masked]
Date: Mon, 09 Jan 2017 22:50:49 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

On Thu 15 Dec 2016 20:34, Steff <[email-masked]> writes:

> When a Stack Overflow occured the new prompt of the REPL becomes
> fragile an sometimes crashes on invalid inputs.
> A reliant way to make the REPL abort, is by triggering a stack
> overflow twice.
>
> Affected Version: 2.0.13

Yeah this one is gnarly.  We couldn't fix it in the 2.0 for various
reasons but addressed it comprehensively in 2.2:

  https://wingolog.org/archives/2014/03/17/stack-overflow

Closing as done.  2.2.0 should be out within a month or two.

Andy

Subject: REPL aborts when a stack overflow is triggered twice
From: Steff <[email-masked]>
To: [email-masked]
Date: Thu, 15 Dec 2016 20:34:46 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

When a Stack Overflow occured the new prompt of the REPL becomes fragile 
an sometimes crashes on invalid inputs.
A reliant way to make the REPL abort, is by triggering a stack overflow 
twice.

Affected Version: 2.0.13

Way to reproduce:

scheme@(guile-user)> (define x (lambda () (x) (x)))   ;;; define a 
function provoking a stack-overflow
scheme@(guile-user)> (x) (x)                          ;;; first call of 
this function is caught but second aborts the REPL
<unnamed port>:2:0: In procedure x:
<unnamed port>:2:0: Throw to key `vm-error' with args `(vm-run "VM: 
Stack overflow" ())'.

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
[1]    13794 abort (core dumped)  guile