Tcl Source Code

View Ticket
Login
Ticket UUID: 483309
Title: byte-comp. large static lists crash tcl
Type: Bug Version: obsolete: 8.4a4
Submitter: petasis Created on: 2001-11-19 09:48:42
Subsystem: 47. Bytecode Compiler Assigned To: msofer
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2001-11-19 19:27:27
Resolution: Fixed Closed By: msofer
    Closed on: 2001-11-19 12:27:24
Description:
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.
User Comments: msofer added on 2001-11-19 19:27:27:

File Added - 13519: Crash.patch

msofer added on 2001-11-19 19:27:24:
Logged In: YES 
user_id=148712

Enclosed is a one-line patch (already committed) that solves
the issue.

petasis added on 2001-11-19 16:49:20:

File Added - 13511: Crash.tcl

Attachments: