Tcl Source Code

View Ticket
Login
Ticket UUID: 9d75181ee70af318830e99ede6ebb5df72a9b079
Title: command exec seems to start processes as suspended and then sleeps forever (win2k8)
Type: Bug Version: 8.5.17
Submitter: sebres Created on: 2014-12-09 10:36:01
Subsystem: 24. Channel Commands Assigned To: nobody
Priority: 7 High Severity: Critical
Status: Open Last Modified: 2018-01-10 20:43:08
Resolution: Remind Closed By: nobody
    Closed on: 2017-05-03 10:43:07
Description:
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.
User Comments: sebres added on 2018-01-10 20:43:08:
Reopened, because occurs again once (seems to be very rare now)...
Continue observing.

sebres added on 2017-05-03 10:43:07:
fixed in core-8-5-branch-fix-1997007 (and in fix-1997007 for 8.6/trunk)

sebres added on 2017-04-05 10:43:53:
Possible fix for it rebased as branch fix-1997007, see [3ce2af8196]

Attachments: