Artifacts Associated With Ticket 9d19af7adb1b539f
Ticket change [c00c862333] (rid 138444) by dgp on 2014-06-16 14:21:28:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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 - foundin initialized to: "trunk"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "24. Channel Commands"
- title initialized to: "iocmd.tf-24.17.bug3522560 error"
- type initialized to: "Bug"
Ticket change [4cbdb0b8f1] (rid 138445) by dgp on 2014-06-16 14:22:06:
- assignee changed to: "aku"
- login: "dgp"
- mimetype: "text/plain"
Ticket change [4fa2aa850e] (rid 138971) by dgp on 2014-07-24 17:06:38:
- 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.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [294153cd41] (rid 138972) by dgp on 2014-07-24 17:18:38:
- assignee changed to: "dgp"
- closedate changed to: "2456863.22127947"
- closer changed to: "dgp"
- icomment: "fixed on trunk."
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"