Skip to content
Tcl Source Code View Ticket
Login

View Ticket

command exec seems to start processes as suspended and then sleeps forever (win2k8)

Pending9d75181ee70af318830e99ede6ebb5df72a9b079Created 12 years agoUpdated 49 days ago
Descriptionplain2014-12-09 10:36:01
platform: windows 2008 x64 (24 core mashine with 64GB of memory)
tcl: 8.5.17 x86 threaded.

Occurs in huge tcl-application at a customer of me very sporadically.

It runs with 10 threads as windows service on-load, starts again and again multiple processes. The processes will be started within tcl interpreter from script through "exec ${process} {*}$args 2>@1".

Sporadically (half hour up to 2 hours) some child process suspends itself (or tcl/windows does?) directly after start (still no work done) - that occurs 10 times until all threads "fall asleep".
I can see in task manager the process is really suspended. The calling thread wait for end of child process forever, also if I resume it in task manager - the child process does its work and ends successful, but calling thread doesn't wake up with and still "sleeps" further;

All the programs are different: perl.exe, java.exe, and also tclsh, but all are console applications.

Unfortunately I can't reproduce it in my low-budget VM's, so possibly depends on a customer system configuartion, policies, antivirus etc.

Thanks in advance for each clue.

sebres.
sebres Ticket [9d75181ee7]: 3 changes [History diff]2014-12-09 10:37:23
sebres Ticket [9d75181ee7]: 3 changes [History diff]2014-12-09 10:37:46
sebresplain2017-04-05 10:43:53
Possible fix for it rebased as branch fix-1997007, see [3ce2af8196]
sebresplain2017-05-03 10:43:07
fixed in core-8-5-branch-fix-1997007 (and in fix-1997007 for 8.6/trunk)
sebresplain2018-01-10 20:43:08
Reopened, because occurs again once (seems to be very rare now)...
Continue observing.
serhiy.storchakawiki2026-10-14 13:47:01

The fix from fix-1997007 ([8bd13f07bd]) is in 8.6.7 and later. Have you seen this with 8.6.7 or later, or with 9.0? If not, this can be closed.

Log in (anonymous is fine) to add a comment.

Attachments: