Skip to content
Tcl Source Code View Ticket
Login

View Ticket

exec leaks memory in 8.3.2 (UNIX)

Closed / Fixed219414ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 05:12:38
OriginalBugID: 6361 Bug
Version: 8.3.2
SubmitDate: '2000-10-16'
LastModified: '2000-10-25'
Severity: CRIT
Status: UnAssn
Submitter: techsupp
OS: All Unix
Machine: mult. PCs, Sparc WS etc.
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'


Name:
Till Immanuel Patzschke

Extensions:
Tk, BLT, GIPSY, RTlib

ReproducibleScript:
# leak memory (this works in 8.3.1)
while {1} {
  exec ls > /dev/null
}

ObservedBehavior:
Running the scripts above starts leaking memory, i.e. growing the tclsh process immediately. It happens in 8.3.2 and 8.2 BUT it doesn't happen in 8.3.1 !!!

DesiredBehavior:
No memory leakage like in 8.3.1.
dkf Ticket [219414ffff]: 1 change [History diff]2000-11-15 22:11:43
dkfplain2001-01-09 22:46:33
Leak confirmed.
hobbsplain2001-03-28 09:00:14
Logged In: YES 
user_id=72656

This known problem is corrected in 8.4a2 (and will be 
corrected for 8.3.3).
dgp Ticket [219414ffff]: 3 changes [History diff]2001-03-28 23:48:30
dgp Ticket [219414ffff]: 3 changes [History diff]2001-04-05 08:20:11
Log in (anonymous is fine) to add a comment.