Overview
| Artifact ID: | 75001d1f373914b0e3dd8c733e223140e2b16654 |
|---|---|
| Ticket: | 1379349fffffffffffffffffffffffffffffffff
missing "copy on write" in [dict for..] loop |
| User & Date: | uring on 2005-12-13 09:24:41 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
reproduced with tcl from nightly-cvs: tcl-20051205 running this example: #--- proc dict_set {} { set data [string trim {A 1}] dict for {key value} $data { dict set data $key 0 } } dict_set #--- ..I get the panic message: "concurrent dictionary modification and search" This happens only (a) if $data has reference count 1 (hence the [string trim command]) (b) if the code is bytecompiled (i.e. within a proc) (thanks to Tobias Hippler, which reported this to me after playing with a fresh snapshot). - foundin changed to: "obsolete: 8.5a4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "uring"
- subsystem changed to: "15. Dict Object"
- title changed to: "missing "copy on write" in [dict for..] loop"
- type changed to: "Bug"