Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6c9e8f97836306186caf611181b9106f0ce5e783
Ticket: 3069278fffffffffffffffffffffffffffffffff
breakage on head Windows triggered by install-tzdata
User & Date: andreas_kupries on 2010-09-18 02:30:09
Changes

  1. icomment:
    After rewriting the DString functions to have Debug variants (like we have for Tcl_Bj machinery) I got a good trace of DString actions. The attached log is actually a reduced form which looks only actions on the DString which crashed with high guard error in DStringFree.
    
    Investigating the locations recorded it seems that the crash is in
    "TclpObjRemoveDirectory" lines 1007-1014, with "TraverseWinTree" (*)
    the main suspect doing the mem smash. The DString is the native
    representation of some path.
    
    Call sequence
        TclpObjRemoveDirectory
        -->    DoRemoveDirectory (1)
            -->    TraverseWinTree
    
        The "DoRemoveJustDirectory" called by (1) seems to only read
        this DString (sees it only as a TCHAR* pointer).
    
    Regardless, this seems to be the area to look into. 
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"