Skip to content
Tcl Source Code Artifact [c4283bf070]
Login

Artifact [c4283bf070]

Artifact c4283bf070caa9a45df20dc85490f29a514212c7:

Ticket change [c4283bf070] - New ticket [218353ffffffffff|218353ffff] <i>crash in Tcl_DeleteInterp when using multiple interpreters</i>. by nobody on 2000-10-26 00:56:37.
D 2000-10-26T00:56:37
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s4114\sBug\nVersion:\s8.2.3\nSubmitDate:\s'2000-02-02'\nLastModified:\s'2000-04-12'\nSeverity:\sCRIT\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nRelatedBugIDs:\s5033\nOS:\sSolaris\nOSVersion:\sSolaris\s5.6\nMachine:\sSun\sUltra\s5-10\s512Mb\sRAM\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-04-12'\n\n\nName:\n\nNeil\sHampton\n\n\nExtensions:\n\nNone\n\n\nCustomShell:\n\nNone\n\n\nComments:\n\nI\shave\stried\sthis\son\s8.3b2\sas\swell.\n\n\s\s\s\sThe\ssame\shappens\son\sWindows/NT.\n\n\s\s\s\sDespite\sthe\sfunction\snames\sin\sthe\sstack\strace,\sthe\sapplication\sis\ssingle\n\n\s\s\s\sthreaded\s(it\suses\sa\scooperative\sthread\slike\smechanism).\n\n\nReproducibleScript:\n\nWe\shave\sembedded\sTCL\sinside\sa\stelephony\sapplication\sthat\sprocesses\stelephone\scalls\susing\smultiple\sinterpreters.\s\sSome\sscripts\scause\sthe\scrash,\sit\sseems\sto\sbe\slarger\sscripts\sin\sparticular.\n\nThis\sproblem\sdoes\snot\soccur\sin\sTCL\s8.0\n\n\nObservedBehavior:\n\nCrash\s-\sstack\strace:\n\n\nReading\ssymbolic\sinformation\sfor\slibsocket.so.1\n\nReading\ssymbolic\sinformation\sfor\slibnsl.so.1\n\nReading\ssymbolic\sinformation\sfor\slibdl.so.1\n\nReading\ssymbolic\sinformation\sfor\slibtcl8.2g.so\n\nReading\ssymbolic\sinformation\sfor\slibc.so.1\n\nReading\ssymbolic\sinformation\sfor\slibmp.so.2\n\nReading\ssymbolic\sinformation\sfor\slibm.so.1\n\nReading\ssymbolic\sinformation\sfor\slibc_psr.so.1\n\nprogram\sterminated\sby\ssignal\sSEGV\s(no\smapping\sat\sthe\sfault\saddress)\n\nCurrent\sfunction\sis\sTcl_GetStringFromObj\n\n\s\s749\s\s\s\s\s\s\sif\s(objPtr->typePtr->updateStringProc\s==\sNULL)\s{\n\n(dbx)\swhere\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\n\n=>[1]\sTcl_GetStringFromObj(objPtr\s=\s0x208b90,\slengthPtr\s=\s0xefff7c7c),\sline\s749\sin\s"tclObj.c"\n\n\s\s[2]\sTclReleaseLiteral(interp\s=\s0x1f4b30,\sobjPtr\s=\s0x208b90),\sline\s686\sin\s"tclLiteral.c"\n\n\s\s[3]\sTclDeleteLiteralTable(interp\s=\s0x1f4b30,\stablePtr\s=\s0x1f4bf4),\sline\s124\sin\s"tclLiteral.c"\n\n\s\s[4]\sDeleteInterpProc(interp\s=\s0x1f4b30),\sline\s1075\sin\s"tclBasic.c"\n\n\s\s[5]\sTcl_Release(clientData\s=\s0x1f4b30),\sline\s241\sin\s"tclPreserve.c"\n\n\s\s[6]\sCdrTclThreadScript(Thread\s=\s1,\sCall\s=\s0x1f4f28),\sline\s396\sin\s"cdr_tcl_interp.c"\n\n\s\s[7]\sRunThreadMain(Thread\s=\s0x1f54e4),\sline\s1071\sin\s"cdr_tcl_async.c"\n\n\s\s[8]\sNewThread(ThreadPtr\s=\s0x1f54e4),\sline\s935\sin\s"cdr_tcl_async.c"\n\n\nDesiredBehavior:\n\nNo\scrash.\n\n\n\n\nThe\sapplication\sshould\sbe\srecompiled\swhere\s-DTCL_MEM_DEBUG\sis\nadded\sto\sthe\score\scompile\sas\swell\sas\sthe\sextension.\s\sThis\swill\nlikely\sshow\sthat\san\sobject\sis\sbeing\sdecr'd\safter\sit\shas\salready\nbeen\sfreed.\s\sThis\swill\spoint\sout\sbetter\swhere\sthe\sproblem\slies.\nOtherwise,\sthe\srelated\sC\scode\sor\sTcl\sscript\sthat\striggered\sthis\nneeds\sto\sbe\sgiven.\s\n--\s03/30/2000\shobbs
J foundin final:\s8.2.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 10.\sObjects
J title crash\sin\sTcl_DeleteInterp\swhen\susing\smultiple\sinterpreters
J type Bug
K 218353ffffffffffffffffffffffffffffffffff
U nobody
Z c2e5278e82831b12d5561fc028bcf504