I'm seeing strange behaviour when trying to load extensions om some
platforms. Using vector-lib as a test case, installed in the usual way
with 'csi -setup vector-lib', I see some garbage and an incomplete load
on MacOS X (10.1.5), and a core dump on NetBSD/sparc64. Other
extensions have the same problem.
[...]
% uname -v ; csi
NetBSD 1.6R (GENERIC) #1: Sat Apr 26 09:02:05 CEST 2003
address@hidden:/usr/src/sys/arch/sparc64/compile/GENERIC
; This is the CHICKEN interpreter.
; Version 1, Build 22 - netbsd-gnu-ultrasparc
; (c)2000-2003 Felix L. Winkelmann
(require 'vector-lib)
; loading vector-lib.so ...
zsh: bus error (core dumped) csi
% gdb `which csi` csi.core
[...]
Core was generated by `csi'.
Program terminated with signal 10, Bus error.
#0 0x41203d10 in C_toplevel (c=2, t0=30, t1=0) at ./vector-lib.c:626
626 void C_toplevel(C_word c,C_word t0,C_word t1){
(gdb) bt
#0 0x41203d10 in C_toplevel (c=2, t0=30, t1=0) at ./vector-lib.c:626
#1 0xae05e114d077a7ef in ?? ()
#2 0x15000000d85dc010 in ?? ()
#3 0x405419b8 in CHICKEN_main (argc=1, argv=0xffffffffffffd598,
toplevel=0x102d08)
at runtime.c:412
#4 0x15715c in main (argc=1, argv=0xffffffffffffd598) at csi.c:3169
#5 0x10256c in ___start ()
(gdb)
------------------------------------------------------------------------