[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
A stack overflow problem.
From: |
R. Clayton |
Subject: |
A stack overflow problem. |
Date: |
Wed, 04 Dec 2013 11:13:55 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
I am running this
$ guile -v
guile (GNU Guile) 2.0.9-deb+1-1
Copyright (C) 2013 Free Software Foundation, Inc.
License LGPLv3+: GNU LGPL 3 or later <http://gnu.org/licenses/lgpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$
on this
$ uname -a
Linux UlanBator 3.10-2-686-pae #1 SMP Debian 3.10.5-1 (2013-08-07) i686
GNU/Linux
$
a Debian testing system updated weekly. I did this
$ guile
GNU Guile 2.0.9-deb+1-1
Copyright (C) 1995-2013 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> (define (naughty) (let ((i 1)) (naughty) i))
scheme@(guile-user)> (naughty)
<unnamed port>:1:31: In procedure naughty:
<unnamed port>:1:31: 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.
scheme@(guile-user) [1]> ,q
scheme@(guile-user)> (naughty)
Aborted
$ echo $?
134
$
I'm thinking the second call to naughty should give me another stack overflow,
rather than aborting guile. On the other hand, maybe I didn't reset the system
properly after the first stack overflow. Which is it? If it's the latter,
what's the proper reset?
- A stack overflow problem.,
R. Clayton <=