[foreach] crash
Closed / Fixed1671087fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2007-02-28 18:00:59
This script crashes INST_FOREACH_STEP4:
proc demo {} {
set vals {1 2 3 4}
trace add variable x write {string length $vals ;# }
foreach {x y} $vals {puts $y}
}
demo
dgpplain2007-03-01 01:06:13
File Added - 218194: 1671087.patch Logged In: YES user_id=80530 Originator: YES Here's a patch for 8.5. Same script crashes 8.4.15 too, and a backported fix will need more examination. File Added: 1671087.patch
dkf Ticket [1671087fff]: 1 change
[History diff]2007-03-01 16:03:42
dgpplain2007-03-13 03:45:33
Logged In: YES user_id=80530 Originator: YES patch committed to HEAD with test. Still needs backport.
dgpplain2007-03-13 23:26:10
Logged In: YES user_id=80530 Originator: YES fix for 8.4.15 committed too.
Log in (anonymous is fine) to add a comment.
Attachments:
- 1671087.patch [download] added by dgp on 2007-03-01 01:06:10. [details]