[Ecls-list] Crash when using literal data and system-p compilation.

Waldek Hebisch hebisch at math.uni.wroc.pl
Sun Sep 16 04:25:53 UTC 2007

Compiling the attached program using commands:

(compile-file "parini2.clisp" :system-p t)
(c:build-program "frob2" :lisp-files '("parini2.o"))

nicely produces an executable, however the executable when run

before scanKeyWords
|scanKeyWords| (("add" ADD) ("and" AND) ("break" BREAK) ("by" BY) ("case" CASE)
                ("default" DEFAULT) ("define" DEFN) ("do" DO) ("else" ELSE)
                ("exit" EXIT) ("export" EXPORT) ("for" FOR) ("free" FREE)
                ("from" FROM) ("has" HAS) ("if" IF) ("import" IMPORT) ("in" IN)
                ("inline" INLINE) ("is" IS) ("isnt" ISNT) ("iterate" ITERATE)
                ("local" |local|) ("macro" MACRO) ("mod" MOD) ("or" OR)
                ("pretend" PRETEND) ("quo" QUO) ("rem" REM) ("repeat" REPEAT)
                ("return" RETURN) ("rule" RULE) ("then" THEN) ("where" WHERE)
                ("while" WHILE) ("with" WITH) ("|" BAR) ("." DOT) ("::" COERCE)
                (":" COLON) (":-" COLONDASH) ("@" AT) ("@@" ATAT) ("," COMMA)
                (";" SEMICOLON) ("**" POWER) ("*" TIMES) ("+" PLUS) ("-" MINUS)
                ("<" LT) (">" GT) ("<=" LE) (">=" GE) ("=" EQUAL)
                ("~=" NOTEQUAL) ("~" ~) ("^" CARAT) (".." SEG) ("#" |#|)
                ("&" AMPERSAND) ("$" $) ("/" SLASH) ("\\" BACKSLASH)
Segmentation violation.
Broken at SI:TOP-LEVEL.No restarts available.
Top level.

The problem affects both current cvs version and ecl-0.9i.  I run
the cvs version on 64-bit Gentoo Linux.

The program is basically a fragment of FriCAS computer algebra
program -- I was able to build ECL based FriCAS, but the executable
crashes on startup executing very similar code.

                              Waldek Hebisch
hebisch at math.uni.wroc.pl 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: parini2.clisp
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20070916/905cad94/attachment.ksh>

More information about the ecl-devel mailing list