<i>"Application Error" when closing tclsh83.exe (tcl8.3.1 with </i>.
by
.
D 2000-10-26T05:04:06
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s5312\sBug\nVersion:\s8.3\nSubmitDate:\s'2000-05-02'\nLastModified:\s'2000-05-17'\nSeverity:\sMED\nStatus:\sAssigned\nSubmitter:\stechsupp\nChangedBy:\shobbs\nRelatedBugIDs:\s5524\s5829\s5804\nOS:\sWindows\sNT\nOSVersion:\sWindows\sNT\s4.0\sWorkstation\nMachine:\sDell\sLatitude\sNotebook\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-25'\n\n\nName:\nMichael\sKraus\n\nReproducibleScript:\n-\sDownloaded\sSource\sDistribution\sof\sTcl\s8.3.1\sfrom\sdev.scriptics.com.\n-\sCompiled\son\sNT4.0\swith\sMS\sVisual\sStudio\s6.0\s(no\schanges\smade\sto\smakefile.vc\sexcept\spaths\sto\sVS\s6.0).\sThread\ssupport\sTURNED\sON!\sNo\swarnings\swere\sissued.\n-\sThen\sinstalled\susing\sthe\s"install"\starget\sof\smakefile.vc\n-\sTclsh83.exe\sruns\sfine\sbut\sthrows\san\sApplication\sError\s("The\sinstruction\sat\s0x77f6cadf\sreferenced\smemory\sat\s0x00000010...")\swhen\sclosed\sby\smeans\sof\sthe\swindow\smenu\s("Close"\sentry)\n-\sNote:\sWhen\sclosed\swith\sthe\s"exit"\scommand,\sno\serror\soccurs.\sWhen\scompiled\sWITHOUT\sthread\ssupport,\s"Close"\sfrom\sthe\smenu\sworks.\n\nObservedBehavior:\nTclsh83.exe\sthrows\san\s"Application\sError"\swhen\sterminated\swith\s"Close"\sfrom\sthe\swindow's\smenu.\sIt\sdoes\sthat\sONLY\swith\sactivated\sthread\ssupport.\n\nDesiredBehavior:\nTclsh83.exe\sshould\sterminate\sgracefully\swith\sand\swithout\sthread\ssupport,\swhen\sactivating\sthe\s"Close"\sentry\sof\sthe\smenu.\n\n\n\nNewsgroup\sresponse:\[email protected]\swrote:\n\n>Tclsh83.exe\sruns\sfine\sbut\sthrows\san\sApplication\sError\s("The\sinstruction\sat\s0x77f6cadf\sreferenced\smemory\sat\s0x00000010...")\n>\swhen\sclosed\sby\smeans\sof\sthe\swindow\smenu\s("Close"\sentry)\n\nConfirmed!\n\nIt\sthrows\sthe\sexception\son\sline\s151\sof\stclWinNotify.c\sin\nTcl_FinalizeNotifier().\s\sIt\slooks\slike\sthe\snotifier\sdata\scoming\sin\sto\sthe\nfunction\sis\sinvalid.\n\nThe\sdebugger\salso\ssays:\nThe\sthread\s0x6B0\shas\sexited\swith\scode\s-1073741510\s(0xC000013A).\nThe\sthread\s0x4B4\shas\sexited\swith\scode\s-1073741510\s(0xC000013A).\nThe\sthread\s0x660\shas\sexited\swith\scode\s-1073741510\s(0xC000013A).\nFirst-chance\sexception\sin\stclsh83d.exe\s(NTDLL.DLL):\s0xC0000005:\sAccess\nViolation.\n\nSo\sit\slooks\slike\sthe\sOS\smight\sbe\sterminating\srunning\sthreads\sfor\sus\sin\sreverse\norder.\s\sThis\sneeds\sa\smore\sthorough\sinvestigation.\s\sI'll\sassume\sright\snow\sthat\ntclAppInit.c\s(the\sapp,\snot\sthe\sdll)\smight\sneed\sa\scontrol-c\shandler\sprovided\sby\nWin32's\sSetConsoleCtrlHandler()\sfor\sa\scontrolled\sshut-down.\n\nJust\sguessing\s:)\n--\n*\sDavid\sGravereaux\s*\s\n--\s05/03/2000\shobbs\n\n
J foundin obsolete:\s8.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 49.\sThreading
J title "Application\sError"\swhen\sclosing\stclsh83.exe\s(tcl8.3.1\swith\s
J type Bug
K 219245ffffffffffffffffffffffffffffffffff
U nobody
Z 12cf510bea46b488f3a961dc4f9e41fb