#143: CLOSURE-HTML 20101006-git fails to compile ------------------------------------+--------------------------------------- Reporter: mevenson | Owner: mevenson Type: defect | Status: new Priority: major | Milestone: 0.26 Component: libraries | Version: 0.24 Keywords: quicklisp closure-html | ------------------------------------+--------------------------------------- Attempting to install closure-html from Quicklisp produces a stack overflow when the compiler attempts to process the CLEX:DEFLEXER SGML:DTD form on line 89 of "src/parse/sgml-dtd.lisp".
#143: CLOSURE-HTML 20101006-git fails to compile ------------------------------------+--------------------------------------- Reporter: mevenson | Owner: mevenson Type: defect | Status: new Priority: major | Milestone: 0.27 Component: libraries | Version: 0.24 Keywords: quicklisp closure-html | ------------------------------------+--------------------------------------- Changes (by mevenson):
* milestone: 0.26 => 0.27
#143: CLOSURE-HTML 20101006-git fails to compile ---------------------------------------------+------------------------------ Reporter: mevenson | Owner: mevenson Type: defect | Status: new Priority: major | Milestone: 0.28 Component: compiler | Version: 0.24 Keywords: quicklisp closure-html compiler | ---------------------------------------------+------------------------------ Changes (by mevenson):
* keywords: quicklisp closure-html => quicklisp closure-html compiler * component: libraries => compiler * milestone: 0.27 => 0.28
Comment:
closure-html still fails with stack overflow:
{{{ CL-USER(1): (ql:quickload "closure-html") To load "closure-html": Load 1 ASDF system: closure-html ; Loading "closure-html" ;;; Checking for wide character support... yes, using UTF-16. ;;; Building Closure with CHARACTER RUNES ............. java.lang.StackOverflowError at org.armedbear.lisp.Lisp.evalCall(Lisp.java:536) at org.armedbear.lisp.Lisp.eval(Lisp.java:506) at org.armedbear.lisp.Lisp.progn(Lisp.java:675) at org.armedbear.lisp.Primitives$sf_block.execute(Primitives.java:3733) at org.armedbear.lisp.Lisp.eval(Lisp.java:496) at org.armedbear.lisp.Lisp.progn(Lisp.java:675) at org.armedbear.lisp.Closure.bindParametersAndExecute(Closure.java:451) at org.armedbear.lisp.Closure.execute(Closure.java:484) at org.armedbear.lisp.Symbol.execute(Symbol.java:785) at org.armedbear.lisp.LispThread.execute(LispThread.java:649) at org.armedbear.lisp.pprint_160.execute(pprint.lisp:774) at org.armedbear.lisp.CompiledClosure.execute(CompiledClosure.java:170) at org.armedbear.lisp.LispThread.execute(LispThread.java:739) at org.armedbear.lisp.gray_streams_99.execute(gray- streams.lisp:497) at org.armedbear.lisp.CompiledClosure.execute(CompiledClosure.java:112) at org.armedbear.lisp.Symbol.execute(Symbol.java:796) at org.armedbear.lisp.LispThread.execute(LispThread.java:666) at org.armedbear.lisp.dump_form_2.execute(dump-form.lisp:59) at org.armedbear.lisp.Symbol.execute(Symbol.java:796) at org.armedbear.lisp.LispThread.execute(LispThread.java:666) at org.armedbear.lisp.dump_form_5.execute(dump-form.lisp:102) }}}
#143: CLOSURE-HTML 20101006-git fails to compile ---------------------------------------------+------------------------------ Reporter: mevenson | Owner: mevenson Type: defect | Status: new Priority: major | Milestone: 0.28 Component: compiler | Version: 0.24 Keywords: quicklisp closure-html compiler | ---------------------------------------------+------------------------------
Comment(by ehuelsmann):
The problem here is that our DUMP-FORM implementation doesn't handle circularity in the forms being dumped.
Should we forget about using dump-form entirely and use PRINT/PRINT-OBJECT instead?
There is one issue with the proposal above: we want to replace uninterned symbols in the output stream with their #<index>? replacement mnemonics to ensure the same symbol gets inserted everywhere it should. Other than that, it's probably a good idea.
#143: CLOSURE-HTML 20101006-git fails to compile -----------------------+---------------------------------------------------- Reporter: mevenson | Owner: mevenson Type: defect | Status: closed Priority: major | Milestone: 0.28 Component: compiler | Version: 0.24 Resolution: fixed | Keywords: quicklisp closure-html compiler -----------------------+---------------------------------------------------- Changes (by ehuelsmann):
* status: new => closed * resolution: => fixed
Comment:
(In [13600]) Fix #143: Support circularity in serialized forms -- this enables compilation of CLOSURE-HTML.
armedbear-ticket@common-lisp.net