Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 29b6bef846cddcdce79c85d14b117750557f82fe
Ticket: 1072458fffffffffffffffffffffffffffffffff
unix process issue in 8.4.8?
User & Date: lvirden on 2004-11-24 13:38:48
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I don't know if this is a tcl bug, a test suite bug, or
    an incompatibility with Solaris 8.
    
    SPARC Solaris 8, Tcl 8.4.8.
    
    I configure with 
    ./configure  --prefix=/tmp/tcl --enable-shared
    --enable-symbols --enable-stubs --enable-threads
    
    When I run the test suite, I see a new error in
    addition to the 
    traditional failures the tcl test suite has on solaris:
    
    $ gmake test TESTFLAGS="-file unixInit.test"
    :
    blah blah blah
    :
    Tests began at Wed Nov 24 08:37:51 EST 2004
    unixInit.test
    
    ==== unixInit-1.1 TclpInitPlatform: ignore SIGPIPE FAILED
    ==== Contents of test case:
    
        set x {}
    
        # Watch out for a race condition here.  If tcltest
    is too slow to start
        # then we'll kill it before it has a chance to set
    up its signal handler.
       
        set f [open "|[list [interpreter]]" w+]
        puts $f "puts hi"
        flush $f
        gets $f
        exec kill -PIPE [pid $f]
        lappend x [catch {close $f}]
    
        set f [open "|[list [interpreter]]" w+]
        puts $f "puts hi"
        flush $f
        gets $f
        exec kill [pid $f]
        lappend x [catch {close $f}]
    
        set x
    
    ---- Result was:
    0 0
    ---- Result should have been (exact matching):
    0 1
    ==== unixInit-1.1 FAILED
    
    
    
    
  4. foundin changed to: "obsolete: 8.4.8"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "lvirden"
  9. subsystem changed to: "None"
  10. title changed to: "unix process issue in 8.4.8?"
  11. type changed to: "Bug"