D 2014-02-17T09:31:05.199 J assignee nobody J closer nobody J cmimetype text/plain J comment I\shave\ssome\sproblem\swith\sTcl_DeleteInterp()\sAPI\s(on\ssolaris).\sI\shave\sused\sthis\sTcl_DeleteInterp()\sin\smy\sapplication\sto\sdelete\sinterpreter.\sThe\sstrange\sthing\si\sfound\sis\sthe\sprocess\swhich\suses\sthis\sAPI\shangs\sabout\s20\sminutes.\sI\sattached\sthe\sprocess\swith\struss\scommand\sand\sfound\sthat\sthe\sprocess\scontinuously\sexecuting\sthe\sbelow\sfunctions\sfor\salmost\s20\smin\sfor\salmost\s13000(~)\stimes.\r\n\r\n15.6541\s\s0.0002\s->\slibtcl8.4:Tcl_DeleteInterp(0x41748,\s0x0,\s0x0,\s0x0)\r\n15.6580\s\s0.0039\s\s\s->\slibc:free(0x288f8,\s0x0,\s0x0,\s0x0)\r\n15.6583\s\s0.0003\s\s\s->\slibc:mutex_unlock(0xff0424e8,\s0x0,\s0x0,\s0x0)\r\n15.6584\s\s0.0001\s\s\s<-\slibc:free()\s=\s0\r\n15.6588\s\s0.0004\s\s\s->\slibc:free(0x474b0,\s0x0,\s0x0,\s0x0)*\r\n...\r\n...\r\nI\shave\salso\sattached\sthe\sprocess\swith\struss\scommand\swhen\screating\sthe\sTcl\sInterpreter,\sbut\sthere\swere\sonly\sabout\s800\stimes\smalloc()\sfunction\shas\sbeen\scalled\sfrom\sTcl_CreateInterp().\r\n\r\nCan\ssomeone\shelp\sme\son\sthis\swhy\sthe\sfunction\sTcl_DeleteInterp\scalling\sthese\sfunctions?\sI\shave\salso\schecked\sthe\simplementation\sdone\sfor\sTcl_DeleteInterp()\s,\sbut\sdidn't\sfind\sany\sclue.\r\n\r\nThanks J foundin 8.4.9.1 J is_private 0 J login sakthivp J priority 5\sMedium J private_contact 48983f525fd9076bac622c146a176422b55d1e18 J resolution None J severity Important J status Open J submitter sakthivp J subsystem 20.\s[interp] J title Problem\swith\sTcl_DeleteInterp()\sin\s8.4.9.1_Activetcl J type Bug K 21000b5d407f330efaf8e6207fe8d025b0633ebb U sakthivp Z 6ef5d3e513b714948cd98cc64db29643