Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fc9b0d9b9d7a08c591197224fa154926ad5efbb7
Ticket: 2843166fffffffffffffffffffffffffffffffff
replacing stdin with refchan causes segfault in interp
User & Date: afaupell on 2009-08-23 18:03:57
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    test script:
    
    proc stdin {args} {
        switch -exact -- [lindex $args 0] {
            initialize { return {initialize finalize watch read} }
            read {
                return read
            }
        }
    }
    close stdin
    chan create read stdin
    interp create
    puts hi
    
    
    causes segfault at interp create on AS build 8.5.7 on linux. commenting the chan create line fixes the problem.
    
    source built 8.5.6 on bsd and tclkit 8.5.2 on windows work fine.
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "afaupell"
  10. subsystem changed to: "20. [interp]"
  11. title changed to:
    replacing stdin with refchan causes segfault in interp
    
  12. type changed to: "Bug"