<i>Script level application bug in refchan causes Tcl crash</i> status still Open with 3 other changes
by
.
D 2014-04-02T16:17:48.541
J icomment >\sThis\sis\spresumably\sso\sthat\sthe\scost\sof\sallocating\r\n>\sa\snew\seval\sarray\sdoesn't\shave\sto\sbe\spaid\seach\stime.\r\n\r\nI\sam\svery\ssure\sthat\sthis\sis\swhat\sis\swas\sthinking\sat\sthe\stime.\r\n\r\n>\scan\sonly\sbe\sInvokeTclMethod()\scall\soperating\son\seach\r\n>\sreflected\schannel\sat\sa\stime.\r\n\r\nYes.\sAlso\ssomething\sI\swas\sdefinitely\s_not_\sseeing\swhen\swriting\sthe\scode.\r\n\r\nSo,\spossible\ssolutions\s...\r\n\r\n(1)\sDynamically\s(de)allocate\sthe\sdamn\sarray\sin\seach\scall\sof\sInvokeTclMethod()\r\n(2)\sFlatly\sforbid\sthe\srecursive\sentry\sof\sInvokeTclMethod().\r\n\r\nIn\sterms\sof\simplementation\sboth\spossibilities\sseem\sto\sbe\sequivalent\sin\sdifficulty,\si.e.\swhile\snot\strivial,\sat\sleast\seasy.\r\n\r\nIn\slight\sof\sother\sdata\sstructures\sneeding\sto\sbe\spreserved\sfor\ssuch\scalls,\sas\sdemonstrated\sby\srelated\sbug\sreports\sI\scurrently\strend\stowards\spreferring\s(2).
J login aku
J mimetype text/plain
K 88aef05cda36aca8233aaeaa1d8b41cb4b188192
U aku
Z 7b5cfb3dc730bb124ee46978c39d6d0d