Overview
| Artifact ID: | ede06393709dc8543c5f545c400a9ff0241d1592 |
|---|---|
| Ticket: | 7393be0be6e7f91cbb2016fa777896e3895929e3
Tcl Thread library doesn't work in Debug build on Windows_x64 |
| User & Date: | christian.nassau on 2016-04-18 12:45:34 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "8.6.3"
- is_private changed to: "0"
- login: "christian.nassau"
- priority changed to: "5 Medium"
- private_contact changed to: "3b279cda57135cd36d2c32c66396637342913651"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "christian.nassau"
- subsystem changed to: "80. Thread Package"
- title changed to:
Tcl Thread library doesn't work in Debug build on Windows_x64
- type changed to: "Bug"