Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4fa2aa850eef0db396bc86baa595faeddac7b7aa
Ticket: 9d19af7adb1b539f1330a7adfb121d05d76071ca
iocmd.tf-24.17.bug3522560 error
User & Date: dgp on 2014-07-24 17:06:38
Changes

  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"