unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* ERROR: Stack overflow in guile-1.8.7
@ 2009-12-09 13:49 Antonio, Fabio Di Narzo
  2009-12-09 16:13 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Antonio, Fabio Di Narzo @ 2009-12-09 13:49 UTC (permalink / raw)
  To: guile-user

Hi all.
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
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?
Tell me if you need any more details about my system setup.

I tried today branch_1.8 snapshot to see if the problem is still
present, but here "make check" stops with an unrelated error (which
probably deserves a different thread).

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ERROR: Stack overflow in guile-1.8.7
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2009-12-09 16:13 UTC (permalink / raw)
  To: guile-user

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’.

> 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.

Thanks,
Ludo’.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ERROR: Stack overflow in guile-1.8.7
  2009-12-09 16:13 ` Ludovic Courtès
@ 2009-12-09 17:57   ` Antonio, Fabio Di Narzo
  0 siblings, 0 replies; 3+ messages in thread
From: Antonio, Fabio Di Narzo @ 2009-12-09 17:57 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guile-user

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-09 17:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).