Skip to content
Tcl Source Code History Of Ticket 1565466fffffffff
Login

History Of Ticket 1565466fffffffff

Artifacts Associated With Ticket 1565466fffffffff

  1. Ticket change [725a719723] (rid 100843) by dgp on 2006-09-26 02:59:33:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      When testing on Mac OS X
      (which builds --enable-threads
      by default), I sometimes see
      this failure:
      
      ==== thread-4.4 TclThreadSend preserve code FAILED
      ==== Contents of test case:
      
          threadReap
          set len [llength [testthread names]]
          set serverthread [testthread create]
          set x [catch {testthread send $serverthread {set
      errorInfo {}; break}} msg]
          threadReap
          list $len $x $msg $errorInfo
      
      ---- Result was:
      1 3 {} {invalid thread id
          while executing
      "testthread send -async $tid {testthread exit}"}
      ---- Result should have been (exact matching):
      1 3 {} {}
      ==== thread-4.4 FAILED
      
      
      I have a vague sense that when this
      test fails, I've had the machine
      busy with several processes.
      
      
      
    4. foundin initialized to: "obsolete: 8.5a5"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "49. Threading"
    11. title initialized to: "occasional thread-4.4 failure"
    12. type initialized to: "Bug"
  2. Ticket change [bec2978c57] (rid 102131) by dgp on 2006-09-26 09:59:52:

    1. assignee changed to: "vasiljevic"
  3. Ticket change [b97cf5bf20] (rid 129156) by mistachkin on 2006-10-16 07:01:43:

    1. icomment:
      Logged In: YES 
      user_id=113501
      
      
      I don't know if this is any help, but I'm seeing occasional
      failures in thread-4.5 (Windows):
      
      ==== thread-4.5 TclThreadSend preserve errorCode FAILED
      ==== Contents of test case:
      
          threadReap
          set ::tcltest::mainThread [testthread names]
          set serverthread [testthread create]
          set x [catch {testthread send $serverthread {error ERR
      INFO CODE}} msg]
          threadReap
          list $x $msg $errorCode
      
      ---- Result was:
      1 ERR NONE
      ---- Result should have been (exact matching):
      1 ERR CODE
      
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  4. Ticket change [38de080d6f] (rid 112288) by vasiljevic on 2007-06-30 21:53:07:

    1. closedate changed to: "2007-06-30T14:53:07"
    2. closer changed to: "vasiljevic"
    3. icomment:
      Logged In: YES 
      user_id=95086
      Originator: NO
      
      This part has been rewritten. I will close that
      ticket now. Please submit new one if the problem
      still persists with the newest code from CVS.
      
      
      
      
    4. login: "vasiljevic"
    5. mimetype: "text/plain"
    6. resolution changed to: "Out of Date"
    7. status changed to: "Closed"
    8. username: "vasiljevic"
  5. Ticket change [26888b4cb7] (rid 88363) by dgp on 2007-09-25 09:47:08:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: YES
      
      
      I still see this problem
      with the 8.5b1 release.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [308273bff4] (rid 93268) by dgp on 2007-09-25 09:48:01:

    1. resolution changed to: "Remind"
    2. status changed to: "Open"
  7. Ticket change [f33ea3da99] (rid 129674) by mistachkin on 2009-10-18 09:38:28:

    1. assignee changed to: "mistachkin"
    2. foundin changed to: "obsolete: 8.6b1.1"
    3. icomment:
      seeing this on HEAD, looking into it.
      
      
    4. login: "mistachkin"
    5. mimetype: "text/plain"
    6. username: "mistachkin"
  8. Ticket change [926dc991f1] (rid 120760) by mistachkin on 2009-10-18 10:54:28:

    1. icomment:
      I'm also seeing thread-4.3 and thread-4.5 occasionally fail on HEAD as well.  I believe these failures may be caused by a subtle race condition.
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  9. Ticket change [cf0b287189] (rid 112890) by mistachkin on 2009-10-18 12:32:43:

    1. icomment:
      These test failures are caused by the threadReap proc in tcltest.tcl.  It attempts to asynchronously send an exit "signal" to all the non-main threads.  If any of the threads exit while this is being done, the error information for the current thread will be overwritten with "invalid thread id", etc.  The tests themselves need to preserve whatever error information they are testing against (e.g. $::errorCode, $::errorInfo, etc) prior to their final call to threadReap.
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  10. Ticket change [cf10784fa8] (rid 112895) by mistachkin on 2009-10-18 18:22:57:

    1. closedate changed to: "2009-10-18T11:22:57"
    2. closer changed to: "mistachkin"
    3. icomment:
      
      
      allow_comments - 1
      
      Fixed in HEAD and backported to the 8.4 and 8.5 branches.
      
      
    4. login: "mistachkin"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "mistachkin"