unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "Antonio, Fabio Di Narzo" <antonio.dinarzo@katamail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guile-user@gnu.org
Subject: Re: ERROR: Stack overflow in guile-1.8.7
Date: Wed, 9 Dec 2009 18:57:04 +0100	[thread overview]
Message-ID: <b0808fdc0912090957v1dad7bf8g6e9256c58d590600@mail.gmail.com> (raw)
In-Reply-To: <87ein4w2fx.fsf@gnu.org>

2009/12/9 Ludovic Courtès <ludo@gnu.org>:
> Hi,
>
> "Antonio, Fabio Di Narzo" <antonio.dinarzo@katamail.com> writes:
>
>> I'm on an AMD64 linux system. I succesfully compiled and installed
>> guile-1.8.7, but when I try to run guile I get the:
>> ERROR: Stack overflow
>
> Did you pass particular CFLAGS to the build system?  Normally the
> default stack limit works well when compiling with ‘-O2’.
No. My config.log says:
"
CFLAGS='-I/home/dinarzo/local/include -Wall -Wmissing-prototypes -Werror'
CPP='gcc -E'
"

>
>> error message, and I can't reach the repl. "make check" however passes
>> smoothly. I read about this:
>> http://lists.gnu.org/archive/html/guile-devel/2009-03/msg00114.html
>> and yes, for me too setting the stack limit to 60'000 in eval.c solves
>> the issue. How can I circumvent/solve this problem without resorting
>> to patching the sources?
>
> Putting ‘(debug-set! stack 60000)’ in ~/.guile should solve it.
Sweet!

Thanks,
antonio.

>
> Thanks,
> Ludo’.
>
>
>
>
>



-- 
Antonio, Fabio Di Narzo
Ph.D. student at
Department of Statistical Sciences
University of Bologna, Italy




      reply	other threads:[~2009-12-09 17:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-09 13:49 ERROR: Stack overflow in guile-1.8.7 Antonio, Fabio Di Narzo
2009-12-09 16:13 ` Ludovic Courtès
2009-12-09 17:57   ` Antonio, Fabio Di Narzo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b0808fdc0912090957v1dad7bf8g6e9256c58d590600@mail.gmail.com \
    --to=antonio.dinarzo@katamail.com \
    --cc=guile-user@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).