.
D 2000-10-26T05:11:04
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s5539\sBug\nVersion:\s8.3.1\nSubmitDate:\s'2000-05-16'\nLastModified:\s'2000-10-25'\nSeverity:\sCRIT\nStatus:\sUnAssn\nSubmitter:\stechsupp\nOS:\sSolaris\nOSVersion:\sSolaris\s2.5.1\nMachine:\sA\sSun\sUltra\s2\sCreator\s2\sSeries\s1300,\s384\sMB\sof\sRAM,\s8\sGB\sof\shard\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-25'\n\n\nName:\nGeorge\sFievet\n\nExtensions:\nNo\sextensions\n\nCustomShell:\nNo\smodifications,\sno\spatches,\sno\sdefinitions\n\nComments:\nThe\sreason\swe\swere\sattempting\sthis\supgrade\sis\sthat\swe\swere\slooking\sfor\n\s\s\s\sincreased\sreliabiltiy\swith\sexec\scalls\sand\smulti-threaded\sprograms,\ssince\n\s\s\s\swe\shave\shad\ssome\strouble\swith\sthat\sin\sthe\spast.\n\nObservedBehavior:\nWe\shave\swritten\sa\sC++\sprogram\sthat\sholds\sup\sto\s25\sembedded\sTcl\sscripts\s(Tcl_CreateInterp).\s\sThese\sscripts\sare\sused\sto\sconnect\sto\sand\scommunicate\swith\sthe\sterminal\sinterface\son\stelephone\sswitches.\s\sWhen\sthese\sscripts\sfail\sto\sconnect,\sthey\sare\sdesigned\sto\swait\sa\scertain\samount\sof\stime\sand\sthen\stry\sagain.\s\sThis\sworked\sfind\sunder\sTcl\s8.3.0.\s\sWe\sdecided\sto\supgrade\sto\sTcl\s8.3.1.\s\sIn\sthis\scase,\swhenever\sa\sTcl\sscript\sattempts\sto\srestart\safter\san\sinitial\sfailure,\sthe\sprocess\scontaining\sthe\sscripts\sspawns\sa\schild\sand\sthat\schild\sfreezes.\s\sThis\shappened\sfor\seach\sof\sthe\sthreads\sin\sthe\sprocess.\n\nHere\sis\sthe\sps\slisting\sfor\sthis\sprocess\s(dsis).\s\sID\s16244\sis\sthe\soriginal.\norwell#\sps\s-ef\s|\sgrep\sdsis\s|\smore\n\s\s\s\sroot\s20759\s16244\s\s0\s16:25:55\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s20663\s16244\s\s0\s16:25:37\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s20894\s16244\s\s0\s16:26:13\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s21019\s16244\s\s0\s16:26:33\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s\s5371\s\s4435\s\s0\s17:14:25\spts/10\s\s\s0:00\sgrep\sdsis\n\s\s\s\sroot\s21098\s16244\s\s0\s16:26:49\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s21011\s16244\s\s0\s16:26:31\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s20753\s16244\s\s0\s16:25:53\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s20662\s16244\s\s0\s16:25:36\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s21081\s16244\s\s0\s16:26:44\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s16244\s\s\s\s\s1\s\s6\s16:04:54\s?\s\s\s\s\s\s\s\s4:30\sdsis\n\s\s\s\sroot\s20664\s16244\s\s0\s16:25:37\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s21090\s16244\s\s0\s16:26:47\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s21076\s16244\s\s0\s16:26:43\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s20898\s16244\s\s0\s16:26:13\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s20895\s16244\s\s0\s16:26:13\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s20744\s16244\s\s0\s16:25:52\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s20893\s16244\s\s0\s16:26:12\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s20755\s16244\s\s0\s16:25:54\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s20767\s16244\s\s0\s16:25:57\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s20655\s16244\s\s0\s16:25:35\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s20900\s16244\s\s0\s16:26:14\s?\s\s\s\s\s\s\s\s0:00\sdsis\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\s\s\s\sroot\s21079\s16244\s\s0\s16:26:44\s?\s\s\s\s\s\s\s\s0:00\sdsis\n\s\s\s\sroot\s21086\s16244\s\s0\s16:26:45\s?\s\s\s\s\s\s\s\s0:00\sdsis\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\nHere\sis\sthe\sstack\strace\sfor\sone\sof\sthe\sprocesses\sthat\sfroze.\norwell#\s/usr/proc/bin/pstack\s21086\n\s21086:\sdsis\n\sef4b6a64\ssigtimedwait\s(e5c06c2c,\s0,\s0)\n\sef4b6a64\s_libc_sigtimedwait\s(e5c06c2c,\s0,\s0,\sef67acc8,\s2,\se5c07e3c)\s+\s4\n\sef6587b8\s_panic\s\s\s(0,\sef514db4,\s1,\s0,\s0,\se5c06c3c)\s+\s158\n\sef657448\s_alloc_chunk\s(0,\s810000,\se5c06f94,\se5c07e4b,\s0,\sffffffff)\s+\s38\n\sef657050\s_alloc_stack\s(102000,\se5c06f94,\s0,\sef6736d0,\s0,\s0)\s+\sd8\n\sef65d84c\s_alloc_thread\s(1,\s100000,\se5c06fb4,\s1,\sef67b338,\sef67b368)\s+\sbc\n\sef659610\s_reaper_create\s(1c3e10,\sef676558,\se5c07e4a,\sef67aca8,\sef676558,\s1c3e10\n)\s+\s1c\n\sef65f9cc\s_ti_fork1\s(ef673880,\sef676938,\sef673650,\sef67ac88,\sef6736d0,\s0)\s+\s130\n\sef5f9740\sTclpCreateProcess\s(394350,\s3,\s5e0e18,\s1,\s8c,\s3)\s+\se8\n\sef5e3330\sTclCreatePipeline\s(394350,\s3,\s5e0e18,\s1,\s0,\se5c07224)\s+\s774\n\sef5e3600\sTcl_OpenCommandChannel\s(394350,\s5,\s5e0e18,\s0,\s26,\s50e090)\s+\s60\n\sef5d52cc\sTcl_ExecObjCmd\s(5,\s394350,\s5,\se5c07538,\sef5d5158,\se5c074a0)\s+\s174\n\sef5dfa24\sEvalObjv\s(394350,\s7,\se5c07538,\s49dbbf,\s24,\s0)\s+\s338\n\sef5e0068\sTcl_EvalEx\s(394350,\s49dbbf,\s0,\se5c076b0,\s24,\s0)\s+\s108\n\sef5dfd48\sTcl_EvalTokens\s(0,\se5c078e8,\s1,\se5c078d8,\se5c07860,\s0)\s+\sac\n\sef5e001c\sTcl_EvalEx\s(0,\s4994c8,\s0,\se5c078d8,\s4876,\s0)\s+\sbc\n\sef5d65d4\sTcl_EvalFile\s(394350,\s4e34dc,\s0,\s25,\s6c,\s4e34ee)\s+\s134\n\s00045100\s__0FTDSISCreateNewInterpPv\s(4df080,\s0,\se5c07e4a,\se5c07e4b,\s0,\se5c07e49\n)\s+\s5c0\n\sef662714\s_thread_start\s(4df080,\s0,\s0,\s0,\s0,\s0)\s+\s34\n\nDesiredBehavior:\nWe\sexpect\sthat\sthe\sthreads\swill\scontinue\sto\sbe\screated,\sfail\sto\sconnect,\sexit,\sand\sthen\stry\sagain\suntil\sthe\sfailure\slimit\sis\sreached.\s\sThis\sworked\sjust\sfine\sin\sTcl\s8.3.0\sand\s8.2.2.\s\sThe\sonly\schange\swas\sthe\supgrade\sto\s8.3.1.\n\n\n\n
J foundin obsolete:\s8.3.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Multi-threaded\sapp\sforks\sand\shangs\swhen\sthreads\sexit.
J type Bug
K 219346ffffffffffffffffffffffffffffffffff
U nobody
Z cad1ecd8552f4c3701f7b2f2bc4cc9b6