.
D 2000-10-26T01:08:42
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s3350\sBug\nVersion:\s8.2.1\nSubmitDate:\s'1999-11-05'\nLastModified:\s'1999-12-03'\nSeverity:\sSER\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sOther\nOSVersion:\sDynix-ptx/4.0\nFixedDate:\s'1999-12-03'\nFixedInVersion:\s8.2.3\nClosedDate:\s'2000-10-25'\n\n\nName:\nJackson\sMcCann\n\nReproducibleScript:\nThe\sfault\soccurs\swith\sa\sshared\slibrary\sthat\shas\sbeen\screated\susing\sswig.\nThe\slibrary\sworks\scorrectly\swith\s8.0.5\sbut\sfails\sin\s8.2.1\sand\s8.2.\s\sThe\nlibrary\swraps\sseveral\sfunctions\sfor\sthe\sBEA\sTuxedo\sproduct.\s\sThe\slibrary\nworks\sas\sexpected\suntil\sthe\spoint\swhere\sexit\sis\scalled.\n\s\s\s\s\nThe\sbehaviour\sis\sconsistent.\n\s\s\s\s\n\s\s\s\s/users/mccannj/tcl/bin/tclsh8.2\n\s\s\s\s%\sload\s/users/mccannj/swig_test/tuxedo_wrap.so\n\s\s\s\s%\sTuxedo::Tpbegin\s0\n\s\s\s\s1\n\s\s\s\s%\sexit\n\s\s\s\sMemory\sfault(coredump)\n\nObservedBehavior:\ndebug\s-c\score\s/users/mccannj/tcl/bin/tclsh8.2\n\s\s\s\sCore\simage\sof\stclsh8.2\s(process\sp1)\screated\n\s\s\s\sCORE\sFILE\n\s\s\s\sCORE\sFILE\sprog\sname:\stclsh8.2\n\s\s\s\sCORE\sFILE\sargs:\s/users/mccannj/tcl/bin/tclsh8.2\s\n\s\s\s\sSignal:\ssigsegvFault\saddress:\s0xbfc871f0\n\s\s\s\sError:\sInvalid\stext\saddress\s0xbfc871f0\n\s\s\s\sdebug>\sstack\n\s\s\s\sStack\sTrace\sfor\sp1,\sProgram\stclsh8.2\n\s\s\s\s[7]\s_init()[0xbff03848]\n\s\s\s\s[6]\sTcl_ExitObjCmd(dummy=0,interp=0x805073c,objc=1,objv=0x80526a0)\n\s\s\s\s[tclCmdAH.c@674]\n\s\s\s\s[5]\sTclExecuteByteCode(interp=0x805073c,codePtr=0x807b798)\n\s\s\s\s[tclExecute.c@843]\n\s\s\s\s[4]\sTcl_EvalObjEx(interp=0x805073c,objPtr=0x80588fc,flags=0)\n\s\s\s\s[tclBasic.c@2698]\n\s\s\s\s[3]\sTcl_RecordAndEvalObj(interp=0x805073c,cmdPtr=0x80588fc,flags=0)\n\s\s\s\s[tclHistory.c@142]\n\s\s\s\s[2]\sTcl_Main(argc=1,argv=0x80477fc,appInitProc=0x8049aa0)\n\s\s\s\s[tclMain.c@236]\n\s\s\s\s[1]\smain(argc=1,argv=0x80477fc,0x8047804)[tclAppInit.c@83]\n\s\s\s\s[0]\s_start()[0x8049a59]\n\s\s\s\sdebug>\sset\s%frame\s6\n\s\s\s\s6\n\s\s\s\sdebug>\ssymbols\n\s\s\s\sSymbols\sfor\sp1,\sProgram\stclsh8.2\n\s\s\s\sName\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sLocation\s\s\s\s\s\s\s\s\sLine\n\s\s\s\sdummy\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_ExitObjCmd\s\s\s\s661\n\s\s\s\sinterp\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_ExitObjCmd\s\s\s\s661\n\s\s\s\sobjc\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_ExitObjCmd\s\s\s\s661\n\s\s\s\sobjv\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_ExitObjCmd\s\s\s\s661\n\s\s\s\svalue\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_ExitObjCmd\s\s\s\s661\n\s\s\s\sdebug>\sp\sdummy\n\s\s\s\s0x0\n\s\s\s\sdebug>\sp\sinterp\n\s\s\s\s0x805073c\n\s\s\s\sdebug>\sp\s*interp\n\s\s\s\s{\n\s\s\s\s\s\s\s\sresult=\n\s\s\s\s\s\s\s\sfreeProc=0x0\n\s\s\s\s\s\s\s\serrorLine=1\n\s\s\s\s}\n\s\s\s\sdebug>\sp\sobjc\n\s\s\s\s1\n\s\s\s\sdebug>\sp\sobjv\n\s\s\s\s0x80526a0\n\s\s\s\sdebug>\sp\s*objv\n\s\s\s\s0x8074058\n\s\s\s\sdebug>\sp\s**objv\n\s\s\s\s{\n\s\s\s\s\s\s\s\srefCount=3\n\s\s\s\s\s\s\s\sbytes="exit"\n\s\s\s\s\s\s\s\slength=4\n\s\s\s\s\s\s\s\stypePtr=0xbff89314\n\s\s\s\s\s\s\s\sinternalRep={\n\s\s\s\s\s\s\s\s\s\s\s\slongValue=134756576\n\s\s\s\s\s\s\s\s\s\s\s\sdoubleValue=6.65786e-316\n\s\s\s\s\s\s\s\s\s\s\s\sotherValuePtr=0x80838e0\n\s\s\s\s\s\s\s\s\s\s\s\stwoPtrValue={\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sptr1=0x80838e0\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sptr2=0x0\n\s\s\s\s\s\s\s\s\s\s\s\s}\n\s\s\s\s\s\s\s\s}\n\s\s\s\s}\n\s\s\s\sdebug>\sp\svalue\n\s\s\s\s0\n\s\s\s\sdebug>\sset\s%frame\s7\n\s\s\s\s7\n\s\s\s\sdebug>\ssymbols\n\s\s\s\sSymbols\sfor\sp1,\sProgram\stclsh8.2\n\s\s\s\sName\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sLocation\s\s\s\s\s\s\s\s\sLine\n\s\s\s\sdebug\n\nDesiredBehavior:\nNo\score\sdump.\n\n\n\nThis\sis\slikely\sdue\sto\sthe\schange\sin\sunloading,\swhere\sa\sDLL\sis\nunloaded\sbefore\sTcl\sexits.\s\sIf\sexit\shandlers\swere\snot\sspecifically\ncreated,\sTcl\scan\swant\sto\smake\scalls\sto\scertain\sdestructor\sfuncs\nthat\sare\sno\slonger\savailabe\sbecause\sthe\sDLL\sis\salready\sunloaded.\s\n--\s11/08/1999\shobbs\n8.2.3\sno\slonger\sunloads\sDLLs\son\sexit\s(not\sthe\sbest\ssolution,\nbut\sworks),\sand\s8.3\sshould\shave\sa\smechanism\swhereby\susers\sof\nDLLs\sthat\sbehave\spoorly\son\sexit\scan\sspecify\ssome\ssort\sof\n-nounload\sto\sthe\sload\scommand.\s\n--\s12/03/1999\shobbs
J foundin obsolete:\s8.2.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title tclsh8.2\score\sdumps\son\sexit
J type Bug
K 218966ffffffffffffffffffffffffffffffffff
U nobody
Z 7648055de435827f6eab4ea1a95087d1