Skip to content
Tcl Source Code View Ticket
Login

View Ticket

"exec" command - limitation on number of invokations

Closed / Fixed217769ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 24 years ago
Descriptionplain2000-10-26 00:33:17
OriginalBugID: 6130 Bug
SubmitDate: '2000-08-14'
LastModified: '2000-09-07'
Severity: SER
Status: Released
Submitter: techsupp
ChangedBy: shawn
RelatedBugIDs: 2460
OS: Windows NT
OSVersion: Microsoft Windows NT 4.00.1381 (Service Pack 4 or 5)
Machine: x86 Family 6 (Model1 Stepping9) (Model 7 Stepping2) (Model 8 Ste
FixedDate: '2000-09-06'
ClosedDate: '2000-09-07'


Name:
Michael Bugaev

Extensions:
none

CustomShell:
none

ReproducibleScript:
executing following script from DOS window with command line: "tclsh83 this_script.tcl":

for {set i 0} {$i < 3000} {incr i} {
  catch {exec simple.exe} result
  puts "$i. $result"
}

where "simple.exe" was build using Visual C 6.0 as Win32 Console Application from the following source:

main()
{
  printf ("Hello, World\n");
  return 0;
}

ObservedBehavior:
On iteration #2025 there is no more output from script - it hangs; system is usable, tclsh83 doesn't comsume any resources (according to Task Manager), script can be finished only from Task Manager by "end process" command.

DesiredBehavior:
The loop should run until completion, the same way it happens with Tcl/Tk ver. 8.0.5. (On the same machine Tcl/Tk 8.3.2 was uninstalled, Tcl/Tk ver. 8.0.5 was installed, and the same script ran just fine, it ran fine with upper boundary up to 10000)



Dup of 2460 
 
-- 09/07/2000 shawn
welch Closed ticket [217769ffff]. [History diff]2000-10-26 07:35:07
jcwestmorelandplain2001-01-21 05:24:28
What was the resolution to this?

Thanks,
John
dgp Ticket [217769ffff]: 4 changes [History diff]2001-04-05 08:20:15
jerrygaddplain2002-10-08 20:00:23
Logged In: YES 
user_id=424490

Urgently require a fix for this problem also??????

Thanks,
Jerry
hobbsplain2002-10-09 00:59:47
Logged In: YES 
user_id=72656

The fix is to upgrade.  This was a problem just with 8.3.2.  
You can get binaries at http://www.activestate.com/Tcl.
Log in (anonymous is fine) to add a comment.