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

History Of Ticket 1774689fffffffff

Artifacts Associated With Ticket 1774689fffffffff

  1. Ticket change [6e4b9876f2] (rid 100123) by dgp on 2007-08-15 13:27:28:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      Need thread-enabled Tcl to demo this.
      On FC 6 with the Tcl HEAD, about every
      other run:
      
      $ make test TESTFLAGS="-file async.test"
      ...
      async.test
      
      
      ==== async-4.3 async interrupting loop-less bytecode sequence FAILED
      ==== Contents of test case:
      
          hang3 $hm
      
      ---- Result was:
      Async event not delivered
      ---- Result should have been (exact matching):
      test pattern
      ==== async-4.3 FAILED
      
      
      
      
    4. foundin initialized to: "obsolete: 8.5a7"
    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: "04. Async Events"
    11. title initialized to: "async-4.3 sometimes fails"
    12. type initialized to: "Bug"
  2. Ticket change [3e56cb6bbc] (rid 121245) by dkf on 2007-08-22 04:17:49:

    1. assignee changed to: "dgp"
    2. priority changed to: "7 High"
  3. Ticket change [1e85947b90] (rid 90990) by dgp on 2007-08-22 04:21:05:

    1. assignee changed to: "nobody"
    2. icomment:
      Logged In: YES 
      user_id=80530
      Originator: YES
      
      
      Async Events has no maintainer ?!
      
      
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  4. Ticket change [40c01e6825] (rid 116070) by dgp on 2008-03-01 00:43:46:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: YES
      
      
      Just saw this again.
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [d1b9a32619] (rid 113406) by dgp on 2008-08-08 23:33:21:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: YES
      
      
      Testing 8.5.4, I now see this
      test *crashing* !! on thread-enabled Tcl.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "9 Immediate"
    5. username: "dgp"
  6. Ticket change [8942ae1de6] (rid 131998) by dgp on 2008-08-08 23:38:59:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: YES
      
      
      Grrr... doesn't crash every time.
      Sometimes merely fails.
      Sometimes passes.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [f01c02c164] (rid 109126) by dgp on 2008-08-08 23:41:18:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: YES
      
      
      Back to prio-7 since it's not
      repeatable.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "7 High"
    5. username: "dgp"
  8. Ticket change [f99145ed7d] (rid 91730) by dkf on 2008-12-22 18:38:34:

    1. assignee changed to: "mistachkin"
  9. Ticket change [744bd8ac07] (rid 105182) by mistachkin on 2009-10-03 00:58:15:

    1. icomment:
      This may be caused by a subtle (and rare) race condition in the test itself.
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  10. Ticket change [4696e57055] (rid 99546) by mistachkin on 2009-10-18 12:25:05:

    1. icomment:
      To see this test fail reliably, simply change the line in proc hang3
      from: [string repeat {;incr i;} 1500000] to: [string repeat {;incr i;} 150]
      
      The test itself assumes that the constructed script will be pending long enough for the async event to be delivered.  This is not correct.
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  11. Ticket change [4127634ad3] (rid 116139) by mistachkin on 2009-10-18 14:11:25:

    1. icomment:
      Changing the integer constant to 150 causes a segfault on my system.
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  12. Ticket change [d3a9acb95a] (rid 123325) by mistachkin on 2009-10-18 14:44:04:

    1. icomment:
      There are actually two distinct bugs here.  The test failure and the segfault.  Further research reveals that the "testasync marklater" sub-command creates and uses a child thread and shares data without using thread-safe mechanisms.  This change was introduced in 2003 (revision 1.73).  The bug appears to exist only in 8.5 and HEAD.  Previously, the code assumed that only one thread was accessing the data stored in firstHandler.
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  13. Ticket change [6840ed53d2] (rid 103035) by ferrieux on 2011-08-19 06:04:43:

    1. closedate changed to: "2011-08-18T23:04:43"
    2. closer changed to: "ferrieux"
    3. icomment:
      No need to keep two threads. Marking this one as Dup of 2981154.
      
      
    4. login: "ferrieux"
    5. mimetype: "text/plain"
    6. resolution changed to: "Duplicate"
    7. status changed to: "Closed"
    8. username: "ferrieux"
  14. Ticket change [bbd417e6e5] (rid 129555) by ferrieux on 2011-08-19 21:09:06:

    1. icomment:
      Reopening: segfault fixed in 2981154; failure remains.
      
      Again, this failure is a mundane one: it simply indicates that the finite stretch of bytecodes that we meant to interrupt somehow managed to outpace a thread with a Tcl_Sleep(1). Maybe we should just pour an [after 1] in the stretch of [incr].
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. resolution changed to: "None"
    5. status changed to: "Open"
    6. username: "ferrieux"
  15. Ticket change [eddac10732] (rid 103971) by ferrieux on 2011-08-19 21:24:12:

    1. icomment:
      Fixed in HEAD, by adding an [after 10] to the sequence to interrupt.
      
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  16. Ticket change [3ca5b78a93] (rid 120947) by ferrieux on 2011-08-19 21:24:13:

    1. closedate changed to: "2011-08-19T14:24:13"
    2. closer changed to: "ferrieux"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"
  17. Ticket change [29fba542a3] (rid 118479) by dgp on 2011-08-19 21:36:08:

    1. icomment:
      
      Can the fix be applied to 8.5.11 as well?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  18. Ticket change [ad3daa0c48] (rid 101438) by ferrieux on 2011-08-19 22:22:25:

    1. icomment:
      Backported.
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"