Skip to content
Tcl Source Code History Of Ticket 9d19af7adb
Login

History Of Ticket 9d19af7adb

Artifacts Associated With Ticket 9d19af7adb

  1. Ticket change [c00c862333] (rid 138444) by dgp on 2014-06-16 14:21:28:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      Occasionally when running the Tcl test suite, I see:
      
      ioCmd.test
      Test file error: tried to post events channel "rc158" is not interested in
          while executing
      "chan postevent $hi read"
          (procedure "POST" line 3)
          invoked from within
      "POST rc158"
          ("after" script)
      
      Examining ioCmd.test, it is clear that something can go
      wrong with test iocmd.tf-24.17.bug3522560
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "dgp"
    13. subsystem initialized to: "24. Channel Commands"
    14. title initialized to: "iocmd.tf-24.17.bug3522560 error"
    15. type initialized to: "Bug"
  2. Ticket change [4cbdb0b8f1] (rid 138445) by dgp on 2014-06-16 14:22:06:

    1. assignee changed to: "aku"
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [4fa2aa850e] (rid 138971) by dgp on 2014-07-24 17:06:38:

    1. icomment:
      Ok, I think I see the problem here.
      
      The "watch" handler needs to [after cancel]
      and existing stream of read timer events in
      the $::timer variable before it creates one.
      If it doesn't then we lose the handle to the
      existing one, and it continues on rescheduling
      itself, until it fails because the channel has gone
      away.
      
      The failure isn't reliable, because it's all a matter
      of timing.  Whether the watch handler is called
      more than once.  Whether when it is called a 2nd
      time $::timer holds something active, etc.
      
      Another fix might be for the watch handler to
      just notice whether $::timer is already set and
      if so let the existing stream of read event pings
      continue to play out.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  4. Ticket change [294153cd41] (rid 138972) by dgp on 2014-07-24 17:18:38:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2456863.22127947"
    3. closer changed to: "dgp"
    4. icomment: "fixed on trunk."
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"