>>>>> "Yuri" == Yuri D'Elia <email@example.com> writes:
Yuri> Hi. I was trying for the first time scsh on IRIX, and I'm a rather
Yuri> newbye to scheme to try to fix this, but I'm a c programmer so at least
Yuri> I tried to figure out what's happening. make failed at this time (scshvm
Yuri> already built):
Yuri> | Analyzing...
Yuri> | Calls will be compiled in line: (char-ascii? char-hex-digit?
Yuri> | char-symbol? char-p
Yuri> | unctuation? char-iso-control? char-blank? char-printing? char-graphic?
Yuri> | char-lett
Yuri> | er+digit? char-digit? char-letter? char-whitespace? char-numeric?
Yuri> | char-alphabeti
Yuri> | c? char-upper-case? char-lower-case?)
Yuri> | ]
Yuri> | [random /usr/local/src/scsh-0.6.3/scheme/big/random.scm]
Yuri> | [dot-locking ./scsh/dot-locking.scm*** Termination code 138 (bu21)
Yuri> Trying to rerun the make multiple times shows there's a subtle bug:
Yuri> sometimes it works and goes on.
Yuri> Trying to debug scshvm shows a common faulty point of the various
Yuri> 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]
Yuri> 1 s48_enter_integer(value = 1045228535)
Yuri> 2 scheme_time() ["/usr/local/src/scsh-0.6.3/scsh/time1.c":113,
Yuri> 3 s48_external_call(sch_proc = 268809759, proc_name = 268809743, nargs
= 0, char_argv = 0x11371cb8 = "\020\005\266\017\020\005\266\037")
Yuri> 4 s48_restart(proc_361X = 268786227, nargs_362X = 5)
Yuri> 5 s48_call_startup_procedure(startup_vector_1335X = 0x7fff2eb8,
startup_vector_length_1336X = 2)
Yuri> 6 internal_s48_main(0x4c4b40, 0x9c4, 0x1084fe9f, 0x4a000000, 0x0,
0x7fff1b70, 0x1084fe9c, 0x1) ["/usr/local/src/scsh-0.6.3/c/init.c":109,
Yuri> 7 main(0x1084fe9f, 0x1, 0x1084fe9f, 0x4a000000, 0x0, 0x7fff1b70,
0x1084fe9c, 0x1) ["/usr/local/src/scsh-0.6.3/c/main.c":72, 0x1000ab44]
Yuri> At this point:
Yuri> S48_EXTRACT_VALUE(unwind, struct s_jmp_buf) = current_return_point;
Yuri> I'm using IRIX 6.5.18f, with MIPSPro 7.4 as a compiler and scsh 0.6.3.
Yuri> The sources required me to add -Xcpluscmt to the compiler command-line
Yuri> to allow c++ comments inside the c sources.
Oops. Just fixed that for the next version. Thanks for the report!
Yuri> Unable to compile scsh with
Yuri> the restricted ansi-C99 mode. A lot of warnings about implicit casts
Yuri> with relaxed mode.
It would probably help if you posted the warnings.
As for the crash, it'd be good if you could try gcc. Also, it'd be
good to know the values of unwind and current_return_point at the time
of the crash.
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla