Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4622d840a674e6981ca46a87c5da395fd10d67e1
Ticket: 650353ffffffffffffffffffffffffffffffffff
crash in SocketThreadExitHandler
User & Date: nobody on 2002-12-08 06:58:10
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. 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
    
    
  4. foundin changed to: "obsolete: 8.4.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "None"
  10. title changed to: "crash in SocketThreadExitHandler"
  11. type changed to: "Bug"