Hi. I was trying for the first time scsh on IRIX, and I'm a rather
newbye to scheme to try to fix this, but I'm a c programmer so at least
I tried to figure out what's happening. make failed at this time (scshvm
| Calls will be compiled in line: (char-ascii? char-hex-digit?
| char-symbol? char-p
| unctuation? char-iso-control? char-blank? char-printing? char-graphic?
| er+digit? char-digit? char-letter? char-whitespace? char-numeric?
| c? char-upper-case? char-lower-case?)
| [random /usr/local/src/scsh-0.6.3/scheme/big/random.scm]
| [dot-locking ./scsh/dot-locking.scm*** Termination code 138 (bu21)
Trying to rerun the make multiple times shows there's a subtle bug:
sometimes it works and goes on.
Trying to debug scshvm shows a common faulty point of the various
crashes (seems to be scheme48 related):
> 0 s48_call_scheme(proc = 268798899, nargs = 3, ... = <void>)
> ["/usr/local/src/scsh-0.6.3/c/external.c":326, 0x1002eb28]
1 s48_enter_integer(value = 1045228535)
2 scheme_time() ["/usr/local/src/scsh-0.6.3/scsh/time1.c":113, 0x1003d160]
3 s48_external_call(sch_proc = 268809759, proc_name = 268809743, nargs = 0,
char_argv = 0x11371cb8 = "\020\005\266\017\020\005\266\037")
4 s48_restart(proc_361X = 268786227, nargs_362X = 5)
5 s48_call_startup_procedure(startup_vector_1335X = 0x7fff2eb8,
startup_vector_length_1336X = 2)
6 internal_s48_main(0x4c4b40, 0x9c4, 0x1084fe9f, 0x4a000000, 0x0,
0x7fff1b70, 0x1084fe9c, 0x1) ["/usr/local/src/scsh-0.6.3/c/init.c":109,
7 main(0x1084fe9f, 0x1, 0x1084fe9f, 0x4a000000, 0x0, 0x7fff1b70, 0x1084fe9c,
0x1) ["/usr/local/src/scsh-0.6.3/c/main.c":72, 0x1000ab44]
At this point:
S48_EXTRACT_VALUE(unwind, struct s_jmp_buf) = current_return_point;
I'm using IRIX 6.5.18f, with MIPSPro 7.4 as a compiler and scsh 0.6.3.
The sources required me to add -Xcpluscmt to the compiler command-line
to allow c++ comments inside the c sources. Unable to compile scsh with
the restricted ansi-C99 mode. A lot of warnings about implicit casts
with relaxed mode. Unable to configure scsh outside the source three.
Can I do something else to help?
wave++ (Yuri D'Elia)
Software Developer @ ubiest.com