|
2001-04-17
| ||
| 10:42 | • Ticket [218953ffff] "exec" of more than 2 pipes crashes in 4000 to 140... artifact: 601295fcaf user: dgp | |
|
2000-10-26
| ||
| 08:32 | • Closed ticket [218953ffff]. artifact: 61ef253091 user: welch | |
| 01:08 | • New ticket [218953ffff]. artifact: 0c683c0731 user: nobody | |
"exec" of more than 2 pipes crashes in 4000 to 14000 cycles
Closed / Fixed218953ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:08:33
OriginalBugID: 3082 Bug
Version: 8.1
SubmitDate: '1999-10-11'
LastModified: '1999-11-02'
Severity: CRIT
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Other
OSVersion: UNIX System V Release 4 of NCR version 3.02
Machine: NA
FixedDate: '1999-11-02'
FixedInVersion: 8.2.2
ClosedDate: '2000-10-25'
Name:
Roy Glasser
Comments:
1. Using UNIX System V Release 4 of NCR v3.02
2. They have complied and made available Tcl/Tk 8.1ba2
3. Script given here dies as described.
4. PLEASE:
a. Is this reproducible by you?
b. Is there a reasonable workaround (without intermediate files)?
ReproducibleScript:
#! /usr/gnu/bin/wish8.1
wm geometry . +500+0
frame .meter -bg red
pack .meter
set Cnt 0
proc MT {} {
global Val Cnt
incr Cnt 1
puts "Cnt=$Cnt"
set Val [exec who | wc -l | wc -l | wc -l ]
}
proc Loop {} {
set i 1 ; while $i<2 {
MT
for {set u 1} {$u<20} {incr u 1} {
after 1
update
}
}
}
# ----------
Loop
# NOTE: Dies in 4000 to 14,000 iterations when
# more than two pipe symbols.
# MESG: Error in startup script: couldn't execute
# "who": not enough memory while executing
# "exec who | wc -l | wc -l | wc -l "
ObservedBehavior:
Crashes on "exec" line with "out of memory".
DesiredBehavior:
Should see output of exec command.
A exec mem leak was fixed recently that might solve this
problem. It is in the current 8.3 CVS sources.
-- 10/15/1999 hobbs
There are no know mem leaks with 8.2.2 at the Tcl level
(according to purify), including in exec.test.
-- 11/02/1999 hobbs
welch Closed ticket [218953ffff].
[History diff]2000-10-26 08:32:15
dgp Ticket [218953ffff]: 4 changes
[History diff]2001-04-17 10:42:41
Log in (anonymous is fine) to add a comment.