Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: efd6b4196a03dd23efa458e69ef29f69b923c7ed
Ticket: 717848ffffffffffffffffffffffffffffffffff
Notifier lock in sub-process on windows
User & Date: andreas_kupries on 2003-04-08 22:20:28
Changes

  1. assignee changed to: "davygrvy"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    When running the attached "main.tcl" script the sub 
    process started by it ("sub.tcl") will cease processing 
    any type of event [x].
    
    Deactivation of the "fileevent readable" command 
    in "sub.tcl" causes the problem to disappear.
    
    [x] The problem was initially caught in the testsuite for 
    the pop3 module/package in tcllib. The command [info 
    hostname] was called in the 'accept' command of a 
    listening socket locked up and did not return. Trying to 
    defer the offending code via [after] failed. The after was 
    executed, but did not trigger anymore (despite the fact 
    the application was in an eventloop). Executing [info 
    hostname] before the 'fileevent readable' causes the 
    lockup to disappear too.
    
    Theories:
    * [info hostname] is ok before [fileevent], caches the 
    result and therefore fine afterward.
    * [fileevent readable] messes up the notifier so bad that 
    not even "after" events are processed anymore.
    
    
  4. foundin changed to: "obsolete: 8.4.2"
  5. priority changed to: "8"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "andreas_kupries"
  9. subsystem changed to: "01. Notifier"
  10. title changed to: "Notifier lock in sub-process on windows"
  11. type changed to: "Bug"