Skip to content
Tcl Source Code Artifact [6f7e4503fe]
Login

Artifact [6f7e4503fe]

Artifact 6f7e4503fe88f2517fab82b53e3e328d0fdb2453:

Ticket change [6f7e4503fe] - New ticket [414d10346bef85d8|414d10346b] <i>tcl 8.5.15/8.6.1(threaded build) hangs in exec on HP-UX</i>. by aku on 2013-10-28 17:44:41.
D 2013-10-28T17:44:41.160
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment In\srecent\sweeks\sthe\sAS\sTcl\s8.5/6\sbuilds\son\sour\sHPUX\sboxing\swere\r\nfailing,\swith\sthe\sjust-built\stclsh\shanging\sitself\sup\swhen\strying\sto\r\n\r\n\s\s\s\sset\sfoo\s[exec\suname\s-a]\r\n\r\nInspection\sof\sthe\sprocess\slist\sdid\snot\sshow\sthe\suname\schild,\sjust\sthe\r\nhanging\stclsh.\sConcluded\sthat\sit\shangs\seither\sjust\sbefore\sspawning\sthe\r\nchild,\sor\safter\sthe\schild\shas\sterminated\sand\sis\sgone.\r\n\r\nTcl\s8.5/6\sare\sbuilt\swith\sthreads\s(that\sshould\shave\sbeen\sa\shint,\sin\shindsight).\r\n\r\nThis\sproblem\sis\sthe\sreason\swhy\sthe\srecent\sAT\sCE\sreleases\s(8.5.15.0,\r\n8.6.1.0)\sdo\snot\shave\sHPUX\sin\stheir\sline\sup.\r\n\r\nToday\sI\smanaged\sto\sclaw\senough\scycles\sfrom\shaving\sto\sdo\sregular\sdonuts\r\nto\sbisect\sthe\sissue.\r\n\r\nThe\sattached\suname.tcl\sis\smy\stest\sscript.\sPrinting\sOK\swhen\sGODD,\sand\r\nhanging\safter\sthe\sUNAME=\soutput\swhen\sbad.\r\nNote\sthat\safter\skilling\sthe\sprocess\swith\s^C\sit\sis\sstill\snecessary\sto\r\nkill\s-9\sit,\s^C\sdoes\snot\sremove\sit\sentirely.\r\n\r\nThe\sattached\sbitest.sh\sis\sthe\scode\sto\sbuild\sTcl\sfrom\ssource,\swith\smy\r\nspecific\sdirectory\slayout\sfor\ssuch\swork,\r\nAt\sthe\send\sit\sruns\sthe\suname.tcl\r\n\r\nBisection\sresults:\r\n\r\n%\sf\sbi\slog\r\n\s\s1\sBAD\s\s2013-10-22\s18:55:02\se077937cf04d43d2\s\s--\shead\score-8-5-0-branch\r\n\s\s2\sGOOD\s2007-12-19\s21:32:06\s39e99a2de45c6434\s\s--\stag\score-8-5-0\r\n\s\s3\sGOOD\s2010-11-01\s19:39:23\s4150f5bace63c09e\r\n\s\s4\sGOOD\s2012-06-05\s15:40:56\s7581260f8ea6e15f\r\n\s\s5\sGOOD\s2013-01-30\s18:58:37\se7ef315c2fb61d08\r\n\s\s6\sGOOD\s2013-05-01\s21:13:03\se7d7fe409abbf3f1\r\n\s\s7\sGOOD\s2013-07-08\s18:55:23\s728fb2f25bda6df0\r\n\s\s8\sBAD\s\s2013-09-19\s14:06:46\s3a3f75ac5a6d5f72\r\n\s\s9\sBAD\s\s2013-08-15\s19:55:26\sf3fac8ede1a102da\r\n\s10\sGOOD\s2013-07-29\s09:29:16\s334ab96e5ee173a0\r\n\s11\sBAD\s\s2013-08-11\s14:41:10\sf04e2881d307a743\r\n\s12\sBAD\s\s2013-08-05\s21:58:21\s0107005970cef5f6\r\n\s13\sBAD\s\s2013-08-01\s12:38:04\s02909e227fb95f54\r\n\r\n%\sf\sbi\svlist\r\n2013-08-01\s12:38:04\s02909e227fb95f54\sBAD\sCURRENT\r\n2013-07-29\s09:29:16\s334ab96e5ee173a0\sGOOD\r\n\r\nThat\sis\r\n\s\s\s\shttp://core.tcl.tk/tcl/info/02909e227fb95f54\r\n\r\nGlancing\sover\sit,\sit\sseems\sto\sbe\spthread-at-fork\ssupport\sgoing\swrong\r\nsomehow\sin\scombination\swith\s[exec].\r\nSee\swhat\sI\smeant\swith\s'compiled\sfor\sthreads\sshould\shave\sbeen\sa\shint'\s?!\r\n\r\nGoing\sback\sto\sdonuts\sI\splan\sto\sinvestigate\sa\sbit\smore\sover\snext\sweek.\r\nI.e.\sgetting\sa\sdetailed\slook\swhere\sit\shangs\sbecause\sof\sthis\schange.\r\n\r\nIn\sthe\smean\stime\sthis\smail\sis\sa\sgeneral\salert\sto\svarious\smaintainer\r\nabout\sthe\sissue,\sin\scase\syou\shave\san\sHPUX\sbox\s(11.00)\sand\sspare\stime\r\nas\swell,\sare\sthe\scommitter,\sor\sexperience\swith\sthreads\s(I\shope).
J is_private 0
J login aku
J priority 5\sMedium
J private_contact 69e6fa40fdd4770fd3a59354e647ca589c07115f
J resolution None
J severity Critical
J status Open
J submitter aku
J subsystem 01.\sNotifier
J title tcl\s8.5.15/8.6.1(threaded\sbuild)\shangs\sin\sexec\son\sHP-UX
J type Bug
K 414d10346bef85d8b89e64eea146d6b336f77ea4
U aku
Z 2824819c609b8500ca7b780679944074