Hi,<br><br><div class="gmail_quote">On Tue, Dec 2, 2008 at 6:05 AM, Chris Targett <span dir="ltr"><<a href="mailto:xin@xlevus.net">xin@xlevus.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Program received signal SIGSEGV, Segmentation fault.<br>
[Switching to Thread 0x7f15d7011700 (LWP 24718)]<br>
GC_add_roots (start=0x8b70d0, end=0x8b70d9) at ./roots.c:86<br>
86        if (roots->count >= roots->size) {<br>
Current language:  auto; currently c<br>
<font color="#888888"><br>
Chris Targett</font></blockquote><div><br>I'm using libplt4.1 and I had the same error you describe. I've made some changes in <br>the fluxus source code regarding the plt-scheme tutorial at <a href="http://docs.plt-scheme.org/inside/index.html">http://docs.plt-scheme.org/inside/index.html</a>.<br>
Actually I've made some changes in src/Interpreter.cpp src/main.cpp and a replacement of base.c by base.3m.c.<br>In summary, the intialisation of the scheme interpreter is made into a callback function using  scheme_main_setup(1, run, argc, argv). <br>
Then this callback function is a replacement of  the actual main function in main.cpp and is called by the virtual scheme machine by passing the Scheme_Env variable.<br><br>If you want I can provide the modified files (these modifications are not very readables so that's why I don't put them inline).<br>
<br>Best regards,<br><br>Fabien<br><br> <br></div></div><br>