Overview
| Artifact ID: | 4622d840a674e6981ca46a87c5da395fd10d67e1 |
|---|---|
| Ticket: | 650353ffffffffffffffffffffffffffffffffff
crash in SocketThreadExitHandler |
| User & Date: | nobody on 2002-12-08 06:58:10 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
This is a bug that started appearing very recently. During Tcl_Finalize, the socket exit handler is trying to fetch data from a thread local storage index (line 562). The actual fetch succeeds. However, the return value is NULL, the SocketThreadExitHandler immediately tries to dereference this pointer (line 564) without checking for NULL. Checking these pointers for NULL would be nice... However, I believe this is just a symptom of a bigger problem which needs to be uncovered. Based on the diagnostic messages I added to the thread local storage functions, I believe that the data for this particular thread local storage index is NEVER set to a non-NULL value. SocketThreadExitHandler(void * 0x00000000) line 562 + 10 bytes SocketExitHandler(void * 0x00000000) line 528 + 9 bytes Tcl_Finalize() line 840 + 12 bytes I'm wondering if this code has been recently changed. -- JJM
- foundin changed to: "obsolete: 8.4.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "None"
- title changed to: "crash in SocketThreadExitHandler"
- type changed to: "Bug"