Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 249904a7f5550c094da740412cb8b6f25fb7ec3f
Ticket: f23d040b9b1a0894a70b5bb45632c7d5f33ccdeb
application hangs in TclInitNotifier using TCL 8.5.19 on windows
User & Date: markf78 on 2016-07-30 16:19:59
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    I am seeing an intermittent issue in void 
    TclInitNotifier(void) where execution is stuck in the following loop: 
    
    for (tsdPtr = firstNotifierPtr; tsdPtr && tsdPtr->threadId != threadId; 
                tsdPtr = tsdPtr->nextPtr) { 
            /* Empty loop body. */ 
        } 
    
    Here's pseudocode that illustrates how to reproduce the problem: 
    
    
    for (i=1 to N) 
    { 
    Tcl_CreateInterp 
    Tcl_SetVar(m_interp, "tcl_library", m_tclLibrary, 0); 
    Tcl_Init 
    approx 100 Tcl_SetVar commands (different variable names) 
    Tcl_EvalFile 
    Tcl_DeleteInterp 
    } 
    
    for some number N between 1-7 
    
    Stack trace: 
    
            tcl85g.dll!TclInitNotifier()  Line 120         
             tcl85g.dll!TclInitSubsystems()  Line 982 
             tcl85g.dll!Tcl_CreateInterp()  Line 408         
    
    My build parameters: 
    
    cd win 
    nmake -f makefile.vc OPTS=msvcrt MSVCDIR=IDE TMP_DIR=$(Platform)\$(Configuration) OUT_DIR=$(Platform)\$(Configuration) 
    
    Let me know what other information is needed to help resolve this problem. 
    Thank you very much.
    
  5. foundin changed to: "8.5.19"
  6. is_private changed to: "0"
  7. login: "markf78"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "c0c4e0a1572c9da806bf9406bd1f834de289c187"
  10. resolution changed to: "None"
  11. severity changed to: "Severe"
  12. status changed to: "Open"
  13. submitter changed to: "markf78"
  14. subsystem changed to: "20. [interp]"
  15. title changed to: "bug in TclInitNotifier using TCL 8.5.19 on windows"
  16. type changed to: "Bug"