Overview
| Artifact ID: | 6f7e4503fe88f2517fab82b53e3e328d0fdb2453 |
|---|---|
| Ticket: | 414d10346bef85d8b89e64eea146d6b336f77ea4
tcl 8.5.15/8.6.1(threaded build) hangs in exec on HP-UX |
| User & Date: | aku on 2013-10-28 17:44:41 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
In recent weeks the AS Tcl 8.5/6 builds on our HPUX boxing were failing, with the just-built tclsh hanging itself up when trying to set foo [exec uname -a] Inspection of the process list did not show the uname child, just the hanging tclsh. Concluded that it hangs either just before spawning the child, or after the child has terminated and is gone. Tcl 8.5/6 are built with threads (that should have been a hint, in hindsight). This problem is the reason why the recent AT CE releases (8.5.15.0, 8.6.1.0) do not have HPUX in their line up. Today I managed to claw enough cycles from having to do regular donuts to bisect the issue. The attached uname.tcl is my test script. Printing OK when GODD, and hanging after the UNAME= output when bad. Note that after killing the process with ^C it is still necessary to kill -9 it, ^C does not remove it entirely. The attached bitest.sh is the code to build Tcl from source, with my specific directory layout for such work, At the end it runs the uname.tcl Bisection results: % f bi log 1 BAD 2013-10-22 18:55:02 e077937cf04d43d2 -- head core-8-5-0-branch 2 GOOD 2007-12-19 21:32:06 39e99a2de45c6434 -- tag core-8-5-0 3 GOOD 2010-11-01 19:39:23 4150f5bace63c09e 4 GOOD 2012-06-05 15:40:56 7581260f8ea6e15f 5 GOOD 2013-01-30 18:58:37 e7ef315c2fb61d08 6 GOOD 2013-05-01 21:13:03 e7d7fe409abbf3f1 7 GOOD 2013-07-08 18:55:23 728fb2f25bda6df0 8 BAD 2013-09-19 14:06:46 3a3f75ac5a6d5f72 9 BAD 2013-08-15 19:55:26 f3fac8ede1a102da 10 GOOD 2013-07-29 09:29:16 334ab96e5ee173a0 11 BAD 2013-08-11 14:41:10 f04e2881d307a743 12 BAD 2013-08-05 21:58:21 0107005970cef5f6 13 BAD 2013-08-01 12:38:04 02909e227fb95f54 % f bi vlist 2013-08-01 12:38:04 02909e227fb95f54 BAD CURRENT 2013-07-29 09:29:16 334ab96e5ee173a0 GOOD That is http://core.tcl.tk/tcl/info/02909e227fb95f54 Glancing over it, it seems to be pthread-at-fork support going wrong somehow in combination with [exec]. See what I meant with 'compiled for threads should have been a hint' ?! Going back to donuts I plan to investigate a bit more over next week. I.e. getting a detailed look where it hangs because of this change. In the mean time this mail is a general alert to various maintainer about the issue, in case you have an HPUX box (11.00) and spare time as well, are the committer, or experience with threads (I hope). - is_private changed to: "0"
- login: "aku"
- priority changed to: "5 Medium"
- private_contact changed to: "69e6fa40fdd4770fd3a59354e647ca589c07115f"
- resolution changed to: "None"
- severity changed to: "Critical"
- status changed to: "Open"
- submitter changed to: "aku"
- subsystem changed to: "01. Notifier"
- title changed to:
tcl 8.5.15/8.6.1(threaded build) hangs in exec on HP-UX
- type changed to: "Bug"