Skip to content
Tcl Source Code History Of Ticket 651139ffffffffff
Login

History Of Ticket 651139ffffffffff

Artifacts Associated With Ticket 651139ffffffffff

  1. Ticket change [1594dbfb95] (rid 124592) by nobody on 2002-12-09 22:27:55:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      While trying to get setup to duplicate that other 
      bug (#649209), I discovered a severe logic error in 
      the TclFinalizeThreadData function.  This bug is 
      somewhat specific to Windows and definitely 
      specific to non-threaded builds.  This is the kind 
      of bug that could potentially be responsible for 
      more than one open bug.
      
      TclpMasterLock is called unconditionally on 
      tclThread.c:409, however the accompanying 
      TclpMasterUnlock is only called if TCL_THREADS is 
      defined.  Of course, this is totally fatal to the 
      process, because once the critical section has been 
      acquired by one thread, it is forever orphaned and 
      according to the Win32 API docs, the results of a 
      thread dying while holding a critical section 
      are "undefined".  Additionally, TclpMasterUnlock is 
      not defined when TCL_THREADS is not defined.  It 
      should always be declared, regardless of the 
      TCL_THREADS define.  
      
      Fortunately, a cursory search of the Tcl source code 
      turned up no other instances of this particular logic 
      error.
      
      I can create a patch for this bug if you want, but it 
      would involve some work, since my local Tcl 
      source is not quite in sync with CVS.
      
      JJM
      
      
    4. foundin initialized to: "obsolete: 8.4.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "49. Threading"
    10. title initialized to: "logic error in tclThread.c"
    11. type initialized to: "Bug"
  2. Ticket change [218d71fe4c] (rid 130604) by andreas_kupries on 2002-12-10 05:31:08:

    1. assignee changed to: "hobbs"
    2. icomment:
      Logged In: YES 
      user_id=75003
      
      Also for David G. possibly.
      
      
    3. login: "andreas_kupries"
    4. mimetype: "text/plain"
    5. username: "andreas_kupries"
  3. Ticket change [6dd1aecabd] (rid 128770) by hobbs on 2002-12-10 07:32:21:

    1. closedate changed to: "2002-12-10T00:32:21"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      This required also that TclpMasterUnlock was not conditional 
      to TCL_THREADS in tclWinThrd.c.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "hobbs"
  4. Ticket change [614b987e34] (rid 92216) by hobbs on 2002-12-10 11:16:05:

    1. closedate changed to: "2002-12-10T04:16:05"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      patch against 8.3.5 for reference attached.  patch commited 
      for 8.3.5+ / 8.4.1+.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. username: "hobbs"
  5. Add attachment "tclmasterunlock-651139.diff" [02c8fa6a6b] (rid 119710) by hobbs on 2002-12-10 11:16:06.

  6. Ticket change [0359cbde33] (rid 119814) by hobbs on 2002-12-10 11:16:06:

    1. icomment:
      
      
      File Added - 37243: tclmasterunlock-651139.diff
      
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"