Skip to content
Tcl Source Code View Ticket
Login

View Ticket

byte-comp. large static lists crash tcl

Closed / Fixed483309ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-11-19 09:48:42
It seems that there is a bug in the byte code implementation of the
list command. In recent versions of tcl 8.4a4, tcl crashes if
a large enough list (i.e. a list with more that a few thousant elements)
is defined with the list command.

A script that demonstates the problem is attached to this report.
(Crash.tcl)
In earlier versions there is no problem (as list is not byte-compiled),
and of course there is no problem when the list is defined outside
a procedure.

The bug appears under 8.4a4 (current CVS head), both windows & unix.
petasisplain2001-11-19 16:49:20
File Added - 13511: Crash.tcl
msoferplain2001-11-19 19:27:24
Logged In: YES 
user_id=148712

Enclosed is a one-line patch (already committed) that solves
the issue.
msoferplain2001-11-19 19:27:27
File Added - 13519: Crash.patch
Log in (anonymous is fine) to add a comment.

Attachments: