Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-11-19
19:27 • Ticket [483309ffff] byte-comp. large static lists crash tcl status still Clo... artifact: 1f6d08cb25 user: msofer
19:27 • Closed ticket [483309ffff]. artifact: 67cce1b9fb user: msofer
19:27 • Add attachment Crash.patch to ticket [483309ffff] artifact: b805fce270 user: msofer
16:49 • Ticket [483309ffff] byte-comp. large static lists crash tcl status still Ope... artifact: ea89c49628 user: petasis
16:49 • Add attachment Crash.tcl to ticket [483309ffff] artifact: d1ff1b6dbf user: petasis
09:48 • New ticket [483309ffff] byte-comp. large static lists crash tcl. artifact: 2dc47dce58 user: petasis

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: