bytecompiled functions may be printed readably (document #Y)
In the various latest versions of ECL on both ubuntu 14 32/64bit, it sometimes gets stuck when doing, for example:
(defparameter *fun* (eval (read-from-string "(lambda (x) (+ x 1))")))
(write-to-string *fun* :readably t)
Often i get the answer i'm looking for, which is the byte code for the lambda function, in this case:
"#1=#Y(NIL NIL NIL (24 45 0 26 13 0 9 1 19 2 1 29) #A(T (3) (X + #1#)) NIL 0)".
But sometimes, it goes into a loop with the cpu at 100% on the write-to-string call. I could replicate this both directly in the REPL and with ECL embedded in C++.
Does it happen to anyone else too?