bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile 1.8.5 compile segfault


From: Neil Jerram
Subject: Re: guile 1.8.5 compile segfault
Date: Mon, 13 Oct 2008 23:38:51 +0100

Sorry to take a while to continue this investigation.

2008/9/23 tantalum <address@hidden>:
>
> i managed to get a core dump file. heres a backtrace and some "frame x"
> calling:
> http://pastebin.com/m3c55053b

This:

(gdb) frame 0
#0  scm_mark_locations (x=0x7fff7f4c8d68, n=18446744073709551561) at
gc-mark.c:435
435           SCM obj = * (SCM *) &x[m];
(gdb) frame 1
#1  0x00002b802b8a66ed in scm_threads_mark_stacks () at threads.c:1390
1390          scm_mark_locations (t->base, t->top - t->base);

really does indicate a problem with SCM_STACK_GROWS_UP.  The relevant
code in scm_threads_mark_stacks () is:

#if SCM_STACK_GROWS_UP
      scm_mark_locations (t->base, t->top - t->base);
#else
      scm_mark_locations (t->top, t->base - t->top);
#endif

so SCM_STACK_GROWS_UP must be defined and non-zero.

The definition of SCM_STACK_GROWS_UP is in libguile/scmconfig.h (which
is itself generated during configuration).  Could you check what you
have there?

> to compile guile 1.8.5 (release or snapshot-0923) on this i386 other
> machine, i need to apply this patch, found via google:
> http://pastebin.com/m6226ece1
> otherwise it stops leaving its long message, end of which is:
> http://pastebin.com/m102992ca

This one is a known problem from using Libtool 2.2.  We currently
build and test Guile with Libtool 1.5.22, and are aware that there are
issues with using 2.2 instead - such as this one.

Regards,
         Neil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]