Overview
| Artifact ID: | 23f645487c7db19f50e6d3e19549cf332e27e02a |
|---|---|
| Ticket: | 2538f373ffc78d6dba9c3d973c147a84fdd9bbd8
crash in Tcl_OpenTcpServer() on Windows |
| User & Date: | griffin on 2016-04-06 23:36:35 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Windows only: If Tcl_OpenTcpServer() is the very first Socket call, then the thread data is not set correctly resulting in a crash. Found in an embedded application. Not reproducible via tclsh. tclWinSock.c: 2064 ThreadSpecificData *tsdPtr = TclThreadDataKeyGet(&dataKey); 2065 2066 if (TclpHasSockets(interp) != TCL_OK) { 2067 return NULL; 2068 } The order above, KeyGet followed by HasSocket, is backwards. that's a week of my life I'll never get back :) - foundin changed to: "8.6.5"
- is_private changed to: "0"
- login: "griffin"
- priority changed to: "5 Medium"
- private_contact changed to: "b80f46c1123ce4c80dc91b0c46319f6a27235f6a"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "griffin"
- subsystem changed to: "37. File System"
- title changed to: "crash in Tcl_OpenTcpServer() on Windows"
- type changed to: "Bug"