Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-06-01
06:21 • Closed ticket [550534ffff]: pkg_mkIndex might leak an interpreter plus 8 oth... artifact: 49f3850e11 user: dgp
2002-05-08
11:53 • Ticket [550534ffff]: 5 changes artifact: 19f6552ed9 user: dgp
2002-04-30
08:39 • New ticket [550534ffff]. artifact: bb75f5c02d user: nobody

pkg_mkIndex might leak an interpreter

Closed / Fixed550534ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-04-30 08:39:41
Hello,
I needed to have a look at package.tcl (8.3.4.1) in
order to understand the workings of pkg_mkIndex.

Now, on line 253 the 'catch' of an 'eval' of a slave
interpreter is started. If the 'catch' triggers (lines
356-359) the slave is not deleted, whereas if
everything is well (lines 361-383) it is.

To me this looks like a leak.

Best regards
Helmut
dgpplain2002-05-08 11:53:20
Logged In: YES 
user_id=80530

I haven't yet looked over this report, but I'm dropping
the priority because [pkg_mkIndex] should only be used
by short one-liner scripts in a 'make install' target
for example.  Since there's little use in calling this
command in a long running process, there's little harm
in a leak.  Yes, should fix it eventually...
dgpplain2002-06-01 06:21:12
Logged In: YES 
user_id=80530

looked at this.  report is correct, and fix is simple.
thanks for the report.  committed to Tcl 8.4a5.
Log in (anonymous is fine) to add a comment.