Overview
| Artifact ID: | b0eac711a5d2921dba7e11b1a8f4f3597ebe3efcc672720abc7918a846b0adeb |
|---|---|
| Ticket: | 31fc36fe475584527a11610105c03a9f4dca3e0c
Crash opening server sockets in more than one thread on Windows |
| User & Date: | apnadkarni on 2023-10-21 05:49:29 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
With the thread package installed, http.test crashes with a NULL pointer exception. Call stack below - tsdPtr is NULL for whatever reason. Tested on core-8-branch [12946b5cac] and head of thread-2-8-branch [6088b58218]. I presume that is the correct thread branch for 8.7, as opposed to the thread trunk. Windows only. ``` tcl87.dll!Tcl_OpenTcpServerEx(Tcl_Interp * interp, const char * service, const char * myHost, unsigned int flags, int backlog, void(*)(void *, Tcl_Channel_ *, char *, int) acceptProc, void * acceptProcData) Line 2230 at d:\src\tcltk\core-8-branch\tcl\win\tclWinSock.c(2230) tcl87.dll!Tcl_SocketObjCmd(void * dummy1465, Tcl_Interp * interp, int objc, Tcl_Obj * const * objv) Line 1654 at d:\src\tcltk\core-8-branch\tcl\generic\tclIOCmd.c(1654) tcl87.dll!Dispatch(void * * data, Tcl_Interp * interp, int dummy4918) Line 4957 at d:\src\tcltk\core-8-branch\tcl\generic\tclBasic.c(4957) tcl87.dll!TclNRRunCallbacks(Tcl_Interp * interp, int result, NRE_callback * rootPtr) Line 4996 at d:\src\tcltk\core-8-branch\tcl\generic\tclBasic.c(4996) tcl87.dll!Tcl_EvalObjv(Tcl_Interp * interp, int objc, Tcl_Obj * const * objv, int flags) Line 4716 at d:\src\tcltk\core-8-branch\tcl\generic\tclBasic.c(4716) tcl87.dll!TclEvalEx(Tcl_Interp * interp, const char * script, int numBytes, int flags, int line, int * clNextOuter, const char * outerScript) Line 5873 at d:\src\tcltk\core-8-branch\tcl\generic\tclBasic.c(5873) tcl87.dll!Tcl_EvalEx(Tcl_Interp * interp, const char * script, int numBytes, int flags) Line 5537 at d:\src\tcltk\core-8-branch\tcl\generic\tclBasic.c(5537) thread289.dll!ThreadSendEval(Tcl_Interp * interp, void * clientData) Line 1697 at d:\src\tcltk\thread\generic\threadCmd.c(1697) thread289.dll!ThreadEventProc(Tcl_Event * evPtr, int mask) Line 3218 at d:\src\tcltk\thread\generic\threadCmd.c(3218) tcl87.dll!Tcl_ServiceEvent(int flags) Line 710 at d:\src\tcltk\core-8-branch\tcl\generic\tclNotify.c(710) tcl87.dll!Tcl_DoOneEvent(int flags) Line 1007 at d:\src\tcltk\core-8-branch\tcl\generic\tclNotify.c(1007) thread289.dll!ThreadWait(Tcl_Interp * interp) Line 2963 at d:\src\tcltk\thread\generic\threadCmd.c(2963) thread289.dll!ThreadWaitObjCmd(void * dummy, Tcl_Interp * interp, int objc, Tcl_Obj * const * objv) Line 1231 at d:\src\tcltk\thread\generic\threadCmd.c(1231) tcl87.dll!Dispatch(void * * data, Tcl_Interp * interp, int dummy4918) Line 4957 at d:\src\tcltk\core-8-branch\tcl\generic\tclBasic.c(4957) ```
- foundin changed to: "8.7"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "- New Builtin Commands"
- title changed to:
http.test crash on Windows with thread package installed
- type changed to: "Bug"