.
D 2005-12-13T09:24:41
J assignee dkf
J cmimetype text/plain
J comment \nreproduced\swith\stcl\sfrom\snightly-cvs:\stcl-20051205\n\nrunning\sthis\sexample:\n\n#---\nproc\sdict_set\s{}\s{\n\s\s\s\sset\sdata\s[string\strim\s{A\s1}]\n\s\s\s\sdict\sfor\s{key\svalue}\s$data\s{\n\s\s\s\s\s\s\s\sdict\sset\sdata\s$key\s0\n\s\s\s\s}\n}\ndict_set\n#---\n\n..I\sget\sthe\spanic\smessage:\n"concurrent\sdictionary\smodification\sand\ssearch"\n\nThis\shappens\sonly\n\s(a)\sif\s$data\shas\sreference\scount\s1\s(hence\sthe\n\s\s\s\s\s[string\strim\scommand])\n\s(b)\sif\sthe\scode\sis\sbytecompiled\s(i.e.\swithin\sa\n\s\s\s\s\sproc)\n\n(thanks\sto\sTobias\sHippler,\swhich\sreported\sthis\sto\sme\n\safter\splaying\swith\sa\sfresh\ssnapshot).
J foundin obsolete:\s8.5a4
J priority 5\sMedium
J resolution None
J status Open
J submitter uring
J subsystem 15.\sDict\sObject
J title missing\s"copy\son\swrite"\sin\s[dict\sfor..]\sloop
J type Bug
K 1379349fffffffffffffffffffffffffffffffff
U uring
Z 8cee8a4f5dff740a67a9ee22e4a7308e