|
2023-04-20
| ||
| 16:48 | • Closed ticket [4ce858a049]: lrepeat cannot create large lists plus 6 other c... artifact: 40b4b23286 user: apnadkarni | |
| 16:44 | Bugs [4ce858a049] (lrepeat), [f4d15772f1] (foreach), [6926a21840] (lmap). check-in: fbe4c73160 user: apnadkarni tags: trunk, main | |
|
2023-04-12
| ||
| 16:11 | • Ticket [4ce858a049] lrepeat cannot create large lists status still Open with... artifact: fa6b832bf7 user: apnadkarni | |
| 16:07 | • New ticket [4ce858a049]. artifact: 672b947b26 user: apnadkarni | |
lrepeat cannot create large lists
Closed / Fixed4ce858a0491babcc2da6f3fd094a9dd6e3a89d88Created 4 years agoUpdated 4 years ago
Descriptionmarkdown2023-04-12 16:07:32
% lrepeat 0x100000000 x
integer value too large to represent
% lrepeat 0x80000000 x
bad count "-2147483648": must be integer >= 0
% lrepeat 2147483648 x
bad count "-2147483648": must be integer >= 0
Cause is obvious.
Referenced by1
fbe4c73160Bugs [4ce858a049] (lrepeat), [f4d15772f1] (foreach), [6926a21840] (lmap). check-in2023-04-20 16:44:49
apnadkarniplain2023-04-12 16:11:52
On a different code path, ``` % set len [expr 4294967396/8] 536870924 % lrepeat $len 0 1 2 3 4 5 6 7 ``` crashes with memory access violation.
apnadkarniplain2023-04-20 16:48:27
Fixed in [fbe4c73160]
Log in (anonymous is fine) to add a comment.