<i>joinable threads die on Solaris 64-bit</i> status still Open with 4 other changes
by
.
D 2007-05-30T06:04:16
J icomment Logged\sIn:\sYES\s\nuser_id=72656\nOriginator:\sNO\n\nIf\sI\schange\sthat\ssection\sto\sactually\suse:\n\n#ifdef\sTCL_THREADS\n\s\s\s\sint\sresult;\n\s\s\s\sunsigned\slong\sretcode;\n\n\s\s\s\sresult\s=\spthread_join((pthread_t)\sthreadId,\s(void**)\s&retcode);\n\s\s\s\s*state\s=\s(int)\sretcode;\n\s\s\s\sreturn\s(result\s==\s0)\s?\sTCL_OK\s:\sTCL_ERROR;\n#else\n\nthen\sthe\stest\scases\swork.\s\sHowever,\sthen\sI\sget\sthe\sfollowing\sfailure:\n\n====\sthread-17.9\sthread::transfer\s-\spipe\s-\sclosable?\sFAILED\n....\n----\sTest\sgenerated\serror;\sReturn\scode\swas:\s1\n----\sReturn\scode\sshould\shave\sbeen\sone\sof:\s0\s2\n----\serrorInfo:\schild\skilled:\ssegmentation\sviolation\n\s\s\s\swhile\sexecuting\n"close\s\s$pipe"\n\s\s\s\sinvoked\sfrom\swithin\n"lappend\sres\s[close\s\s$pipe]"\n\s\s\s\s("uplevel"\sbody\sline\s17)\n\s\s\s\sinvoked\sfrom\swithin\n"uplevel\s1\s$script"\n----\serrorCode:\sCHILDKILLED\s14675\sSIGSEGV\s{segmentation\sviolation}\n====\sthread-17.9\sFAILED\n\nand\sthis\sI\sget\srepeatedly.\s\sAny\sthoughts??\n
J login hobbs
J mimetype text/plain
J username hobbs
K 1712723fffffffffffffffffffffffffffffffff
U hobbs
Z d786f48dfa250a15bdcb140596dab4f3