Tcl Source Code

View Ticket
Login
Ticket UUID: 1251399
Title: finalization order issues
Type: Bug Version: obsolete: 8.5a4
Submitter: dgp Created on: 2005-08-03 21:58:09
Subsystem: 02. Event Loops Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2005-08-04 05:25:26
Resolution: Fixed Closed By: dgp
    Closed on: 2005-08-03 22:25:26
Description:
TclFinalizeCompExecEnv() finalizes
Tcl_Obj things then moves on to
TclFinalizeCompilation and 
TclFinalizeExecution.

Object finalization gets done
before TclFinalizeFilesystem()
which needs the ability to free
the Tcl_Obj holding the path
of the current working directory.

TclFinalizeSyncronization() is
called before TclFinalizePreserve()
which locks a mutex.

Attached patch against HEAD
corrects these issues.
User Comments: dgp added on 2005-08-04 05:25:25:
Logged In: YES 
user_id=80530

patches committed.

dgp added on 2005-08-04 05:13:51:

File Added - 144334: final-84.patch

dgp added on 2005-08-04 05:13:49:
Logged In: YES 
user_id=80530


here's the corresponding patch
for 8.4.11.

dgp added on 2005-08-04 04:58:10:

File Added - 144331: final.patch

Attachments: