Overview
| Artifact ID: | df71d0a982058983fef39e78218edfd104c963bcee617de33e9b539fa189dcd6 |
|---|---|
| Ticket: | d90fee06d04a0d52397dfba79e263d932f685707
Uncompiled lassign fails on large lists with memory allocation failure |
| User & Date: | apnadkarni on 2023-04-11 16:18:52 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
The following works ``` % set l [testbigdata list 0x100000001]; llength $l 4294967297 % lassign $l x ; set x 0 ``` The following fails with a memory allocation failure. ``` % set lassign lassign lassign % llength $l 4294967297 % $lassign $l x; set x ``` The difference is because the compiled version makes use of the ListSpan internal representation while Tcl_LassignObjCmd does not.
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "- New Builtin Commands"
- title changed to:
Uncompiled lassign fails on large lists with memory allocation failure
- type changed to: "Bug"