D 2008-03-07T15:47:44 J assignee nobody J cmimetype text/plain J comment Hi\sguys,\n\nWe're\susing\sActiveTcl\s8.5.1,\sbytecoded\swith\stbcload1.7.\sFrom\stime\sto\stime,\sthe\sapplication\scrashes\swith\sa\s"TclStackFree:\sincorrect\sfreePtr.\sCall\sout\sof\ssequence?",\sbut\sso\sfar\sthis\shappens\sonly\sin\sLinux.\n\nWe're\susing\sthreads\sand\ssockets\sactively\sand\susually\sthe\scrash\sappears\sjust\safter\sa\s"puts"\sin\sa\sfile\sor\safter\sa\ssocket\sis\sclosed.\n\nI\sdon't\seven\sknown\show\sto\sstart\sdebugging\sthe\sproblem.\n\nI've\sbeen\slooking\sinto\sTcl\ssourcecode\sand\sthe\sfirst\sthink\sthat\sI\ssee\sregarding\sthe\suse\sof\sTclStackFree\sis\sthat\sit's\sused\sin\sthe\sLinux\sversion\sof\sTclpCreateProcess,\sbut\snot\sin\sWindows.\sFollowing\sthis\slead\sI\sfinished\sin\sthe\sTcl_OpenCommandChannel,\sthe\sone\sused\sto\sprocess\sthe\stcl\sexec\scommand.\n\nAm\sI\sin\sdrunks\so\scould\sbe\sthat\ssome\serror\sor\swrongly\ssynched\scommand\sin\sthe\sTcl_OpenCommandChannel\scould\sbe\sproducing\sthis\sproblem?\n\nAny\shelp\sis\smore\sthan\swelcome.\n\nCheers,\nCarlos J foundin obsolete:\s8.5.1 J is_private 0 J priority 5\sMedium J resolution None J status Open J submitter ctasada J subsystem 69.\sOther J title TclStackFree:\sincorrect\sfreePtr.\sCall\sout\sof\ssequence? J type Bug K 1909647fffffffffffffffffffffffffffffffff U ctasada Z 4fec5e03be3ec64906d509bb351b7966