Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0a31b3947261eec3d312c8abc11cf949160c1951
Ticket: 2884203fffffffffffffffffffffffffffffffff
Crash in filesystem-9.5 test on Windows
User & Date: patthoyts on 2009-10-22 21:09:40
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    We are getting a crash in filesystem-9.5, 9.6 and 9.7 on Windows XP and Windows 7 with core-8-5-branch.
    I bisected the commits and this fault was introduced by the commit on 2009-08-20 by dgp:
     "* generic/tclPathObj.c: [Bug 2806250] Prevent the storage of strings ..."
    The relevant part of the call stack looks like this:
    MSVCRTD!memcpy
    tcl85tg!Tcl_DuplicateObj
    tcl85tg!AppendPath
    tcl85tg!Tcl_FSGetNormalizedPath
    tcl85tg!TclpMatchInDirectory
    tcl85tg!Tcl_FSMatchInDirectory
    tcl85tg!DoGlob
    tcl85tg!DoGlob
    tcl85tg!TclGlob
    The crash occurs because in Tcl_DuplicateObj the objPtr->length is -1
    I've checked on Windows XP and Windows 7 each time using MSVC6 to compile.
    
  4. foundin changed to: "obsolete: 8.5.7"
  5. is_private changed to: "0"
  6. priority changed to: "9 Immediate"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "patthoyts"
  10. subsystem changed to: "37. File System"
  11. title changed to: "Crash in filesystem-9.5 test on Windows"
  12. type changed to: "Bug"