<i>get segfault when using a channel created with [chan create]</i> status still Open with 4 other changes
by
.
D 2008-03-07T06:03:28
J icomment Logged\sIn:\sYES\s\nuser_id=80530\nOriginator:\sNO\n\n\nApparently\sseveral\sof\sus\stesting\nwith\sthe\sdemo\sscript\sare\sseeing\ndifferent\sfailures.\s\sThe\sone\sI\ssee\nhappens\sbecause\sTcl_GetReturnOptions()\nis\scalled\safter\sTcl_FinalizeThread().\n\nThe\s"fix"\s(workaround?)\sis\sto\sadd\n\s\s\s\skeys[i]\s=\sNULL;\nat\sthe\sright\splace\sin\sthe\sReleaseKeys()\nroutine,\sso\sthat\sin\sthis\sscenario,\sthe\nGetKeys()\scan\sre-initialize.\s\sThis\sstops\nthe\scrash,\sbut\sadds\sa\smemleak,\sso\sI\sdon't\nwant\sto\scommit\swithout\smore\sanalysis.\nThis\sis\slooking\slike\sa\sfinalization\sorder\ndependency\smess\sto\suntangle.\n\nAnother\sway\sout\swould\sbe\sto\sjust\stake\nthe\swhole\sGetKeys()\sbusiness\sout\s(perhaps\nconditioned\son\sTclInExit()\s?)\sand\sforce\nthe\sroutines\susing\sit\sto\screated\stheir\nkey\svalues\son\sdemand\sinstead\sof\spulling\nfrom\sa\sper-thread\scache.\n
J login dgp
J mimetype text/plain
J username dgp
K 1904907fffffffffffffffffffffffffffffffff
U dgp
Z 731e797497a05a9186206af6a0bf9ea0