<i>get segfault when using a channel created with [chan create]</i> status still Open with 4 other changes
by
.
D 2008-03-07T06:59:30
J icomment Logged\sIn:\sYES\s\nuser_id=75003\nOriginator:\sNO\n\nI\sam\snow\sconvinced\sthat\sthreaded\sand\snon-threaded\sare\sseeing\stwo\sdifferent\sexpression\sof\sthe\ssame\sordering\sproblem.\sTcl_FinalizeThread\sis\srun,\sthis\sreleases\sthe\sdict\skeys\sfor\sthe\sreturn\soptions.\n\nIn\sthe\snon-threaded\scase\sthis\scrashed\swhen\sTcl\stried\sto\scompile\sthe\s'return'\scommand\sin\s'vchan::write'\sin\spreparation\sof\sits\sinvokation\sby\sthe\sReflectOutput.\sIn\sthe\sthreaded\scase\sthe\scompile\smanaged\sto\scomplete\ssuccessfully\sand\swe\smade\sto\sthe\sexecution\sstage,\si.e.\sthe\sprocedure\swas\sactually\sinvoked.\sAfter\sthat\sa\sscript\slevel\serror\s(expected\sreturn\sof\sint,\sgot\snothing)\scaused\sthe\sgeneration\sof\san\serror\smessage\sby\sthe\sreflection\scode\sand\smarshalling\sthat\serror\sthen\scrashed\son\sthe\ssame\smissing\sreturn\soption\skeys.\n\nDon's\s'fix'\sis\sa\sfix\sfor\snon-threaded\sas\swell,\sI\sjust\sdid\snot\ssee\sthat\simmediately\sbecause\smy\stclsh\spicked\sup\sthe\sold\slibrary.\s'make\sinstall'\swas\sneeded\safter\srecompile.\n\nI\sagree\sthat\sthis\sfix\sintroduces\sa\smem\sleak\sif\sTcl\sis\sused\sin\san\senvironment\swhere\sthe\s'OS'\shas\sno\strue\sprocesses\swhich\sare\sfully\scleaned\sup.\sExample:\sIOS.\n\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 1904907fffffffffffffffffffffffffffffffff
U andreas_kupries
Z a4cd6cda4fd3fe23443a4c48229a9ed4