Thank you, Manuel.

Indeed, once linked with

the libbigloo_s-4.3a.so shared library, the executable successfully loads the 
srfi1.


Is it possible to access the mailing list archive? The links on Bigloo homepage 
(https://sympa.inria.fr/sympa/arc/bigloo and 
http://news.gmane.org/gmane.lisp.scheme.bigloo) seem to be broken.

________________________________
From: [email protected] <[email protected]> on behalf of 
[email protected] <[email protected]>
Sent: Friday, March 10, 2017 10:33:28 AM
To: Fours, Dmitri
Cc: [email protected]
Subject: Re: [bigloo] bug report: use srfi1 library - segmentation violation

Hi Dimitri,

> I have got the following error when
> trying to use the srfi1 library in
> the interpreter:
>
> (module foo (library srfi1))
>
> *** ERROR:bigloo:
> `segmentation violation' exception -- raised
>
> Compiled and tested on Linux Debian amd64, with bigloo-4.3a-latest and 
> bigloo-4.2c.
>
> Please advise.
> Thank you, Dmitri.
I think this is always the same problem. If Bigloo is not linked against
dynamic libraries, it is impossible to download new compiled code from
the interpreter. For that the solution is easy. Try the following.

$ cat > repl.scm << EOF
(module repl)
(repl)
EOF
$ bigloo repl.scm -o repl
$ rlwrap repl # or just repl if you have not installed rlwrap

I think that it will be possible to load the srfi1 library from that instance
of the interpreter. Please let us know if you have problem with that.

>From the Bigloo standpoint we should find a solution so that the
interpreters fails nicely when not linked against library, instead of
simply crashing, which is, indeed, a bug...

--
Manuel

Reply via email to