Artifacts Associated With Ticket 7393be0be6
Ticket change [ede0639370] (rid 146334) by christian.nassau on 2016-04-18 12:45:34:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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 } - foundin initialized to: "8.6.3"
- is_private initialized to: "0"
- login: "christian.nassau"
- priority initialized to: "5 Medium"
- private_contact initialized to: "3b279cda57135cd36d2c32c66396637342913651"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "christian.nassau"
- subsystem initialized to: "80. Thread Package"
- title initialized to:
Tcl Thread library doesn't work in Debug build on Windows_x64
- type initialized to: "Bug"
Ticket change [72709f5850] (rid 146944) by jan.nijtmans on 2016-06-14 10:14:51:
- icomment:
Point 2) is now fixed in all open branches. So at least the non-debug version should be OK now on x64. Thanks!
- login: "jan.nijtmans"
- mimetype: "text/plain"
- icomment:
Ticket change [29127da551] (rid 192640) by jan.nijtmans on 2021-03-18 20:55:14:
- assignee changed to: "jan.nijtmans"
- icomment: "Let me check, but I think this one can be closed"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [0ca47ecb27] (rid 259757) by serhiy.storchaka on 2026-10-21 10:03:40:
- 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.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment:
Ticket change [3c1c221a54] (rid 260045) by serhiy.storchaka on 2026-10-22 17:19:32:
- closedate changed to: "2461334.9192134026"
- closer changed to: "serhiy.storchaka"
- login: "serhiy.storchaka"