Overview
| Artifact ID: | 87dbac1e8c70d62ff73ad048158c5e8a446bbd4d |
|---|---|
| Ticket: | 1437595fffffffffffffffffffffffffffffffff
WinSock cores/hangs on thread or app exit |
| User & Date: | vasiljevic on 2006-02-23 18:19:44 |
Changes
- assignee changed to: "vasiljevic"
- cmimetype changed to: "text/plain"
- comment changed to:
There is a sequence problem in the way how the win socket/pipe subsystem is teared down. The generic code which handles the finalization invokes thread exit handlers first, then finalizes IO subsystem. Unfortunately, the finalization of the IO subsystem may access data which is gargabe-collected by the therad exit handler. In such cases, the application will either hang or core. The attached patch works-arround this by moving the functionality of the thread-exit handler into a special TclpFinalizeSockets() call. This call is now part of the generic TclFinalizeIOSubsystem. This change is no-op for Unix. It affects Windows (win/) and old Mac-9 (mac/) code bases.
- foundin changed to: "obsolete: 8.4.12"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "vasiljevic"
- subsystem changed to: "27. Channel Types"
- title changed to: "WinSock cores/hangs on thread or app exit"
- type changed to: "Bug"