Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2b013ec376cbc54926e3794d2bc0dd40019b35ca
Ticket: 3069278fffffffffffffffffffffffffffffffff
breakage on head Windows triggered by install-tzdata
User & Date: hobbs on 2010-09-17 18:04:10
Changes

  1. assignee changed to: "nijtmans"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Previously recorded at 3065455, we have found that there is a general issue newly introduced on head on Windows, I suspect related to the -DUNICODE work.
    
    You can trigger this bug with install-tzdata, but only when you use a prefix path of sufficient length.  This one in particular worked for me:
    
    prefix= C:/Tcl-test/we-want-a-long-path/and-this-makes-it-longer/dont-you-know-longer-still/yes-this-will-be-long-enough
    exec_prefix= C:/Tcl-test/we-want-a-long-path/and-this-makes-it-longer/dont-you-know-longer-still/yes-this-will-be-long-enough
    bindir= ${exec_prefix}/bin
    libdir= C:/Tcl-test/we-want-a-long-path/and-this-makes-it-longer/dont-you-know-longer-still/yes-this-will-be-long-enough/lib
    
    aka --prefix=C:/Tcl-test/we-want-a-long-path/and-this-makes-it-longer/dont-you-know-longer-still/yes-this-will-be-long-enough when building.
    
    So what's happening here?  I believe something in the switch from regular to -DUNICODE mode is now overflowing some aspect of a dstring (they have static space of 200b, and must grow otherwise).  Or perhaps a buffer overrun where 1b was appended where 1*sizeof(WCHAR) is needed now.  In any case, the crash symptoms indicate dstring related smashing, which is of course used all over Windows file handling.  The -DUNICODE will have distinctly affected this behavior as well.
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "8"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "hobbs"
  10. subsystem changed to: "37. File System"
  11. title changed to:
    breakage on head Windows triggered by install-tzdata
    
  12. type changed to: "Bug"