bug-guile
[Top][All Lists]
Advanced

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

Re: GNU Guile 1.9.5 released (alpha)


From: Linas Vepstas
Subject: Re: GNU Guile 1.9.5 released (alpha)
Date: Sat, 28 Nov 2009 20:27:03 -0600

2009/11/17 Ludovic Courtès <address@hidden>:
> We are pleased to announce GNU Guile release 1.9.5.

FWIW, it appears that guile-1.9.5 does not work with the default
bdw-gc in ubuntu/debian, which is gc-6.8 -- I got the crash below

downloading, compiling, installing gc-7.1 seems to fix the
problem.

BTW, I am vaguely thinking of using bdw-gc for my code,
which links to guile .. will this be a problem ??

--linas

======================================
a crash, when evaluating (+ 1 1)

I believe that this is another threading bug -- my app loads a
number of scm files during startup, and then starts an
interactive shell. The crash occurs in the shell, with the following
stack trace:

#0  0xf73fbce5 in GC_local_malloc () from /usr/lib/libgc.so.1
#1  0xf7d53ca3 in scm_gc_malloc (size=348, what=0xf7df6634 "thread")
at gc-malloc.c:200
#2  0xf7db453c in guilify_self_1 (base=0xf54a49dc) at threads.c:326
#3  0xf7db633d in scm_i_init_thread_for_guile (base=0xf54a49dc,
parent=0xa293af0) at threads.c:593
#4  0xf7db6545 in scm_i_with_guile_and_parent (func=0xf7c56180
<opencog::SchemeEval::c_wrap_eval(void*)>,
    data=0xa2167d8, parent=0xa293af0) at threads.c:732
#5  0xf7db668e in scm_with_guile (func=0xf7c56180
<opencog::SchemeEval::c_wrap_eval(void*)>, data=0xa2167d8)
    at threads.c:715
#6  0xf7c564ba in opencog::SchemeEval::eval (this=0xa2167d8, address@hidden)
    at 
/home/linas/src/novamente/src/opencog-embodiment/opencog/guile/SchemeEval.cc:460

FWIW, the above was built against gc-6.8, which is what
ubuntu and debian come with.  Suspecting that this is a
gc problem, I downloaded, compiled, installed gc-7.1 and
went to rebuild guile.  .... it works!

--linas




reply via email to

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