#165: pprint-logical-block fails for format with list directive ----------------------------+----------------------------------------------- Reporter: mevenson | Owner: somebody Type: defect | Status: new Priority: major | Milestone: 0.27 Component: other | Version: 0.27 Keywords: sbcl-buildhost | ----------------------------+----------------------------------------------- Derived from the problems getting SBCL to compile, the following test fails with complaints in the XP package:
{{{
(defparameter *stream* *error-output*)
(defun pprint-test () (pprint-logical-block (*stream* nil :prefix "---") (format *stream* "~(~A~)" '(1 2 3 4)))) }}}
with this error
{{{ The value #S(XP::XP-STRUCTURE :BASE-STREAM #S(SLIME-OUTPUT-STREAM) :LINE- LENGTH 70 :LINE-LIMIT NIL :LINE-NO 1 :DEPTH-IN-BLOCKS 2 :BLOCK-STACK #(0 0 3 NIL NIL NIL NIL NIL NIL NIL ...) :BLOCK-STACK-PTR 2 :BUFFER … is not of type STREAM. [Condition of type TYPE-ERROR]
#165: pprint-logical-block fails for format with list directive ----------------------------+----------------------------------------------- Reporter: mevenson | Owner: somebody Type: defect | Status: new Priority: major | Milestone: 0.27 Component: other | Version: 0.27 Keywords: sbcl-buildhost | ----------------------------+-----------------------------------------------
Comment(by mevenson):
ehu via #abcl {{{ 12:54 <ehu> easyE: the issue is on line 1076 of format.lisp 12:55 <ehu> but still, the real issue is that our xp printer isn't a stream }}}
#165: pprint-logical-block fails for format with list directive ----------------------------+----------------------------------------------- Reporter: mevenson | Owner: somebody Type: defect | Status: new Priority: major | Milestone: 0.27 Component: other | Version: 0.27 Keywords: sbcl-buildhost | ----------------------------+-----------------------------------------------
Comment(by mevenson):
Behavior remove with attached patch. See notes in patch for why this isn't completely satisfied.
#165: pprint-logical-block fails for format with list directive -----------------------+---------------------------------------------------- Reporter: mevenson | Owner: somebody Type: defect | Status: closed Priority: major | Milestone: 0.27 Component: other | Version: 0.27 Resolution: fixed | Keywords: sbcl-buildhost -----------------------+---------------------------------------------------- Changes (by mevenson):
* status: new => closed * resolution: => fixed
Comment:
Fixed in r13538, whose commit message incorrectly states that it is only partially correct patch.
#165: pprint-logical-block fails for format with list directive -----------------------+---------------------------------------------------- Reporter: mevenson | Owner: somebody Type: defect | Status: reopened Priority: major | Milestone: 0.27 Component: other | Version: 0.27 Resolution: | Keywords: sbcl-buildhost -----------------------+---------------------------------------------------- Changes (by mevenson):
* status: closed => reopened * resolution: fixed =>
#165: pprint-logical-block fails for format with list directive -----------------------+---------------------------------------------------- Reporter: mevenson | Owner: somebody Type: defect | Status: reopened Priority: major | Milestone: 1.1.0 Component: other | Version: 1.1.0-dev Resolution: | Keywords: sbcl-buildhost,needs-triage -----------------------+---------------------------------------------------- Changes (by mevenson):
* keywords: sbcl-buildhost => sbcl-buildhost,needs-triage * version: 0.27 => 1.1.0-dev * milestone: 0.27 => 1.1.0
Comment:
Bug has resurfaced as of /trunk/abcl@13932.
#165: pprint-logical-block fails for format with list directive -----------------------+---------------------------------------------------- Reporter: mevenson | Owner: somebody Type: defect | Status: reopened Priority: critical | Milestone: 1.1.0 Component: other | Version: 1.1.0-dev Resolution: | Keywords: sbcl-buildhost,regression,needs-triage -----------------------+---------------------------------------------------- Changes (by mevenson):
* keywords: sbcl-buildhost,needs-triage => sbcl-buildhost,regression ,needs-triage * priority: major => critical
#165: pprint-logical-block fails for format with list directive -----------------------+---------------------------------------------------- Reporter: mevenson | Owner: somebody Type: defect | Status: reopened Priority: critical | Milestone: 1.1.0 Component: other | Version: 1.1.0-dev Resolution: | Keywords: sbcl-buildhost regression needs-triage -----------------------+---------------------------------------------------- Changes (by mevenson):
* keywords: sbcl-buildhost,regression,needs-triage => sbcl-buildhost regression needs-triage
#165: pprint-logical-block fails for format with list directive -----------------------+---------------------------------------------------- Reporter: mevenson | Owner: somebody Type: defect | Status: reopened Priority: critical | Milestone: 1.1.0 Component: other | Version: 1.1.0-dev Resolution: | Keywords: sbcl-buildhost regression needs-triage -----------------------+----------------------------------------------------
Comment(by mevenson):
The current problem is now that the prefix appears at the end of the stream.
The test has never worked, so the original comment on the commit about being a partial solution was somewhat correct.
#165: pprint-logical-block fails for format with list directive -----------------------+---------------------------------------------------- Reporter: mevenson | Owner: somebody Type: defect | Status: reopened Priority: critical | Milestone: 1.1.0 Component: other | Version: 1.1.0-dev Resolution: | Keywords: streams sbcl-buildhost regression needs-triage -----------------------+---------------------------------------------------- Changes (by mevenson):
* keywords: sbcl-buildhost regression needs-triage => streams sbcl- buildhost regression needs-triage
Comment:
Need to fix streams for good, now that we have a proper MOP to re- initialize the class structure properly.
c.f. http://trac.common- lisp.net/armedbear/wiki/implementation/components/streams
#165: pprint-logical-block fails for format with list directive -----------------------+---------------------------------------------------- Reporter: mevenson | Owner: somebody Type: defect | Status: reopened Priority: critical | Milestone: 1.1.1 Component: other | Version: 1.1.0-dev Resolution: | Keywords: streams sbcl-buildhost regression needs-triage -----------------------+---------------------------------------------------- Changes (by mevenson):
* milestone: 1.1.0 => 1.1.1
#165: pprint-logical-block fails for format with list directive -----------------------+---------------------------------------------------- Reporter: mevenson | Owner: somebody Type: defect | Status: reopened Priority: critical | Milestone: 1.2.0 Component: other | Version: 1.2.0-dev Resolution: | Keywords: streams sbcl-buildhost regression needs-triage -----------------------+---------------------------------------------------- Changes (by mevenson):
* version: 1.1.0-dev => 1.2.0-dev * milestone: 1.1.1 => 1.2.0
armedbear-ticket@common-lisp.net