<i>get segfault when using a channel created with [chan create]</i> status still Open with 4 other changes
by
.
D 2008-03-07T03:23:34
J icomment \n\nFile\sAdded\s-\s269366:\sSTACK.txt\n\nLogged\sIn:\sYES\s\nuser_id=75003\nOriginator:\sNO\n\nUsing\sa\ssymbol\senabled\stclsh\sI\sgot\smyself\sa\sstacktrace\sfrom\sgdb\s...\sAttached\s...\n\nWhat\shappens\sis\sthat\sFlushChannel\s(#20)\sinvokes\sthe\sdriver\soutput\sfunction,\sone\s'ReflectOuptut'\s(#19),\swhich\sdelegates\sthe\swriting\sto\sthe\s'::vchan'\svia\s'InvokeTclMethod'\s(#18),\sthis\sthen\sends\sup\sin\sa\scall\sto\s'::vchan::write',\sand\sthen\sit\sseems\sto\scompile\sthis\sprocedure\s(ProcCompileProc\s@\s#10).\sAnd\swhen\sit\scompiles\sthe\s'return'\scommand\sof\s'vchan::write'\sit\scraps\sout\sin\s'TclMergeReturnOptions'\s(#5).\sThis\sfunction\swas\slast\schanged\sOct\s18,\s2007.\sThe\scaller,\s'TclCompileReturnCmd'\s(#6)\swas\showever\schanged\slast\squite\srecently,\sFeb\s28\s2008,\sto\sfix\sa\smemory\sleak.\sAs\sthe\scrash\shappens\son\sa\sTcl_Obj\swith\srefCount\s0\sand\sotherwise\slooking\salready\sfreed\sas\swell,\sI\swonder\sif\sthat\schange\scaused\sthe\sproblem.\n\nI\swill\snow\sget\sme\ssome\solder\srevisions\sof\sthe\shead\sand\ssee\sif\sI\scan\sbisect\sthe\sissue.\n\nFile\sAdded:\sSTACK.txt\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 1904907fffffffffffffffffffffffffffffffff
U andreas_kupries
Z ed0a3caee3dfa5a4ae78c482b13dc379