D 2010-08-02T14:52:44 J assignee nobody J cmimetype text/plain J comment \nWhen\sthe\sTcl_EncodingFreeProc\sof\nan\sencoding\sis\scalled\sby\sFreeEncoding()\nthe\sencodingMutex\sis\sheld.\s\sThis\smeans\sthat\nif\sthe\sclient\ssupplied\sTcl_EncodingFreeProc\ncalls\sany\sroutine\sthat\stries\sto\sgrab\sthat\smutex,\nwe\srisk\sa\sdeadlock.\n\nI\ssuppose\sthe\sbest\sfix\swould\sbe\sa\stotal\srewrite\nof\sthe\ssteaming\spile\sof\sWTF\sthat\sis\sencoding\nlifetime\smanagement,\sbut\sshort\sof\sthat,\sperhaps\na\swarning\sin\sthe\sdocs?\n J foundin None J is_private 0 J priority 5\sMedium J resolution None J status Open J submitter dgp J subsystem None J title Encoding\sfreeProc\sdeadlock\srisk J type Bug K 3038316fffffffffffffffffffffffffffffffff U dgp Z 6d1814c4df1943f473ead40295da6c1f