Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 03d054e67e0c369842c1b60ddd02b2f7fad8131e
Ticket: 3545365fffffffffffffffffffffffffffffffff
Crash in io-29.33b (no implicit flush of nonblocking on exit
User & Date: ferrieux on 2012-07-18 20:02:29
Changes

  1. icomment:
    OK, to proceed and get a debugger stack, we need to work a bit ;)
    As you have seen, the test involves two subprocesses: $path(script) which does a big nonblocking write, and $path(script2) which just sits for two seconds. The test criterion is then, "is the life of the writer short or long".
    
    Here, the crash appears in the writer. So, you'll have to instrument it to be attachable by debugger:
    
     (1) arrange so that [interpreter] is the debug-compiled executable
     (2) add a long [after] at the beginning of the $path(script)
     (3) identify it in task manager and attach
    
    Then please come back with a stack trace ;)
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"