Skip to content
Tcl Source Code Artifact [c2a9f75ce1]
Login

Artifact [c2a9f75ce1]

Artifact c2a9f75ce1c5c17dea52cd0196577708542fc1eb:

Ticket change [c2a9f75ce1] - New ticket [218115ffffffffff|218115ffff] <i>Error in Tcl deletion callbacks (C++/CORBA)</i>. by nobody on 2000-10-26 00:53:18.
D 2000-10-26T00:53:18
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1906\sBug\nVersion:\s8.1b3\nSubmitDate:\s'1999-04-19'\nLastModified:\s'1999-11-30'\nSeverity:\sSER\nStatus:\sClosed\nSubmitter:\spat\nChangedBy:\shobbs\nOS:\sWindows\sNT\nOSVersion:\s4.0\sSP3\nMachine:\sX86\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-11-30'\n\n\nName:\sMatthew\sD.\sSpencer\n\nComments:\nI'm\sreally\sat\sa\sloss\sas\sfar\sas\show\sto\strack\sdown\sthis\sbug.\sOur\n\s\s\s\sapplication\sis\squite\slarge,\sso\sunfortunately\sa\scode\ssnippet\sis\snot\n\s\s\s\savailable.\sHowever,\sI\scan\sattempt\sto\srecreate\sthe\sproblem\sin\sa\ssmaller\n\s\s\s\sapplication.\sHas\sanyone\selse\shad\sstrange\sbehavior\swith\sdeletion\n\s\s\s\scallbacks\sin\sa\sC++/CORBA\s(VisiBroker)\sproject?\n\nReproducibleScript:\nI\shave\sbeen\shaving\sstrange\sresults\susing\sTcl\sdeletion\scallbacks\swithin\n\s\s\s\sour\sC++/CORBA\sprojects.\sI\shave\sa\snumber\sof\sdata\sitems\sassociated\swith\n\s\s\s\sthe\sTcl\sinterpreter\s(Tcl_SetAssocData)\swhich\srequire\sdeletion\scallbacks\n\s\s\s\sto\sfree\sup\sthe\smemory\sassociated\swith\sthem.\sWhen\sI\sprovide\sa\sdeletion\n\s\s\s\scall\sback\s(as\sopposed\sto\sa\sNULL\spointer\sfor\sthe\scallback)\sin\n\s\s\s\sTcl_SetAssocData,\sat\sexit\stime\sthe\sTcl\sapplication\shangs.\sHowever,\swhen\n\s\s\s\sI\sdebug\sthe\sapplication\sand\sset\sbreakpoints\sat\sthe\sdeletion\scallback\n\s\s\s\smethods,\sthe\sapplication\shangs\sbefore\seven\sreaching\sthe\sdeletion\n\s\s\s\scallbacks.\n\nDesiredBehavior:\nI\sexpect\sthere\sto\sbe\sno\sdifference\sbetween\sdata\sassociated\swith\sa\n\s\s\s\sdeletion\scallback\sand\sthose\swithout.\sIt\sseems\sas\sif\sinternally\sthey\sare\n\s\s\s\sbeing\shandled\sdifferently,\sthough\smy\scallback\sis\snever\sexecuted.\n\n\n\nIt\sis\spossible\sthat\sthe\suser\sisn't\scalling\sTcl_DeleteInterp,\nwhich\sis\snecessary\sto\scall\sthe\sdeletion\scallbacks\sfor\sAssocData.\nIf\sthe\suser\swants\smore\sgeneric\sresource\scleanup,\sthey\sshould\nlook\sat\sTcl_CreateExitHandler\sand\sTcl_DeleteExitHandler.\s\n--\s11/30/1999\shobbs
J foundin obsolete:\s8.1b3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Error\sin\sTcl\sdeletion\scallbacks\s(C++/CORBA)
J type Bug
K 218115ffffffffffffffffffffffffffffffffff
U nobody
Z d6c185921c9b58fdac6b2671da1437f8