Skip to content
Tcl Source Code History Of Ticket 7393be0be6
Login

History Of Ticket 7393be0be6

Artifacts Associated With Ticket 7393be0be6

  1. Ticket change [ede0639370] (rid 146334) by christian.nassau on 2016-04-18 12:45:34:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      There are two problems that prevent the Tcl Thread package from working in a Windows debug build:
      
      1) the pkgIndex.tcl always loads the release-version of thread27.dll
      there should be a check for tcl_platform(debug) and thread27g.dll should be loaded in the debug case
      
      2) the thread initialisation in TclWinThreadStart (file win/tclWinThrd.c) uses an illegal combination of flags in the line
          _controlfp(winThreadPtr->fpControl, fpmask);
      The flag "_MCW_PC" is not allowed on a 64-bit Windows system (see https://msdn.microsoft.com/en-us/library/e9b52ceh.aspx).
      Using "_MCW_PC" triggers an assertion on Windows 8.1 that aborts the process.
      
      On affected systems the assertion can be triggered using
         package require Thread
         thread::create -joinable { thread::wait }
      
    5. foundin initialized to: "8.6.3"
    6. is_private initialized to: "0"
    7. login: "christian.nassau"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "3b279cda57135cd36d2c32c66396637342913651"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "christian.nassau"
    14. subsystem initialized to: "80. Thread Package"
    15. title initialized to:
      Tcl Thread library doesn't work in Debug build on Windows_x64
      
    16. type initialized to: "Bug"
  2. Ticket change [72709f5850] (rid 146944) by jan.nijtmans on 2016-06-14 10:14:51:

    1. icomment:
      Point 2) is now fixed in all open branches. So at least the non-debug version should be OK now on x64. Thanks!
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/plain"
  3. Ticket change [29127da551] (rid 192640) by jan.nijtmans on 2021-03-18 20:55:14:

    1. assignee changed to: "jan.nijtmans"
    2. icomment: "Let me check, but I think this one can be closed"
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"
  4. Ticket change [0ca47ecb27] (rid 259757) by serhiy.storchaka on 2026-10-21 10:03:40:

    1. icomment:
      Point 2 was fixed in 8.6.6 by [5ed3db2343]: _MCW_PC is no longer passed to _controlfp() on Win64. Point 1 is also resolved: the Thread nmake build writes pkgIndex.tcl with the DLL name of the build being made, including the debug suffix.
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  5. Ticket change [3c1c221a54] (rid 260045) by serhiy.storchaka on 2026-10-22 17:19:32:

    1. closedate changed to: "2461334.9192134026"
    2. closer changed to: "serhiy.storchaka"
    3. login: "serhiy.storchaka"