Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Crash with long strings on Windows

Closed / Fixedf8ef6b36700559aeae8ee35c2bad085e1275a429Created 4 years agoUpdated 4 years ago
Descriptionplain2023-03-01 06:31:02
On Windows,

string length [string repeat A 0xffffffff]

crashes.

Linux builds have no problem.
Referenced by2
  • 8449b3eeffMerge trunk: Fix [f8ef6b3670] crash. TclpSysAlloc macro was truncating size request to 32 bits on Windows. check-in2023-03-22 13:33:18
  • 77b3ebc0baFix [f8ef6b3670] crash. TclpSysAlloc macro was truncating size request to 32 bits on Windows. check-in2023-03-01 07:56:03
apnadkarni Ticket [f8ef6b3670]: 5 changes [History diff]2023-03-01 06:33:02
apnadkarniplain2023-03-01 07:59:03
Fixed in [77b3ebc0ba]. Issue was with TclpSysalloc truncating arguments to 32 bits.

Not backporting to 8.7 as >2GB strings and allocations are not supported there.
jan.nijtmans Closed ticket [f8ef6b3670]. [History diff]2023-03-04 12:37:06
Log in (anonymous is fine) to add a comment.