CLIM mail archive
[Prev][Next][Index][Thread]
CLIM2 : bug in filling-output
From: Marie-Christine.Timmermans%nrb@nrb.be
Date: .02 Mar 94 09:12:58 +0100
X400-Trace: BE*RTT*NRB
arrival .02 Mar 94 09:12:58 +0100
action Relayed
Importance: normal
Autoforwarded: FALSE
P1-Message-Id: be*rtt*nrb;ccmacmta Mar 02 09:12:58 1994
Ua-Content-Id: 571209020394
P1-Content-Type: P2
Priority: normal
This is fixed in Symbolics CLIM 2.1, if you can manage to obtain a copy.
Hi,
While trying to evaluate the form
(clim:filling-output (*nanesse-logging-stream*
:fill-width '(100 :character))
(format *nanesse-logging-stream* "format-string" args))
in clim2, I obtain the following bug (Note that this code worked perfectly
well in clim 1.1) :
Error: TO-END is out of bounds.
While in the function COPY-ARRAY-PORTION <- REPLACE <- #<CLOS:STANDARD-METHOD
CLIM-LISP:STREAM-WRITE-STRING (CLIM-INTERNALS::FILLING-STREAM T) 60242746>
COPY-ARRAY-PORTION
Arg 0 (SI:FROM-ARRAY): #<ARRAY STRING-CHAR 128 simple 30340174>
Arg 1 (SI:FROM-START): 99
Arg 2 (SI:FROM-END): 101
Arg 3 (SI:TO-ARRAY): #<ARRAY CHARACTER 100 fill-pointer 101 224104773>
Arg 4 (SI:TO-START): 99
Arg 5 (SI:TO-END): 101
s-A: Return to Breakpoint ZMACS in Editor Typeout Window 1
s-B: Editor Top Level
s-C: Restart process Zmacs Windows
-> Abort Abort
Return to Breakpoint ZMACS in Editor Typeout Window 1
Trap: The subscript given to the SYS:FAST-AREF-1 instruction, 100, on #<ARRAY
CHARACTER 100 fill-pointer 101 224104773> was beyond the length, 100.
While in the function CLI::POSITION-POSITIONAL <- #<CLOS:STANDARD-METHOD CLIM-
LISP:STREAM-WRITE-STRING (:AROUND) (CLIM-INTERNALS::OUTPUT-PROTOCOL-MIXIN T)
60254504>
<- #<CLOS:STANDARD-METHOD CLIM-INTERNALS::FILLING-STREAM-WRITE-BUFFER (CLIM-
INTERNALS::FILLING-STREAM) 60242652>
CLI::POSITION-POSITIONAL
Arg 0 (CLI::ITEM): #<CHARACTER-STYLE NIL.NIL.NIL 13000000>
Arg 1 (SEQUENCE): #<ARRAY CHARACTER 100 fill-pointer 101 224104773>
Arg 2 (LT:TEST): #<Compiled function EQL 507424175>
Arg 3 (CLI::TEST-NOT): #<Compiled function EQL 507424175>
Arg 4 (CLI::KEY): #<Compiled function SI:CHAR-STYLE 507603477>
Arg 5 (CLI::FROM-END): NIL
Arg 6 (CLI::START): 0
Arg 7 (CLI::END): 101
s-A: Ask for a different subscript
s-B: Return a value from the FAST-AREF-1 instruction
s-C: Retry the FAST-AREF-1 instruction
s-D: Return to Breakpoint ZMACS in Editor Typeout Window 1
s-E: Editor Top Level
s-F: Restart process Zmacs Windows
->Abort Abort
Return to Breakpoint ZMACS in Editor Typeout Window 1
The program cannot safely be aborted at this time.
The function CLIM-INTERNALS::INVOKE-FILLING-OUTPUT is executing a cleanup form.
Aborting before the cleanup is complete could leave the program in
an inconsistent state and cause it to operate incorrectly later.
Do you want to Skip or Abort? Abort
Back to Breakpoint ZMACS.
I found very strange that the argument
(SI:TO-ARRAY): #<ARRAY CHARACTER 100 fill-pointer 101 224104773>
of the function COPY-ARRAY-PORTION is a 100 elements array and the fill-pointer
has the value 101.
Has somebody already seen such a bug?
Thanks for any help.
Marie-Christine Timmermans
________________________________________________________________
Timmermans Marie-Christine Network Research Belgium
timmermans@nrb.be Parc Industriel des Hauts-Sarts
Tel: +32 41 407261 2e Avenue, 65
Fax: +32 41 481170 B-4040 Herstal, Belgium
________________________________________________________________
References:
Main Index |
Thread Index