Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-01-15
02:54 • Closed ticket [1072458fff]: unix process issue in 8.4.8? plus 7 other change... artifact: a21ad05ffd user: dgp
2005-01-14
21:19 • Ticket [1072458fff]: 2 changes artifact: 4e641b01b7 user: dkf
2004-11-24
22:54 • Ticket [1072458fff]: 4 changes artifact: d36db8aabd user: dgp
13:38 • New ticket [1072458fff]. artifact: 29b6bef846 user: lvirden

unix process issue in 8.4.8?

Closed / Works For Me1072458fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-11-24 13:38:48
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
dgpplain2004-11-24 22:54:40
Logged In: YES 
user_id=80530


FWIW, "works for me" on Solaris 9.
dkf Ticket [1072458fff]: 2 changes [History diff]2005-01-14 21:19:52
dgpplain2005-01-15 02:54:31
Logged In: YES 
user_id=80530

hmmm... this has been 
re-assigned to me.

As I commented before,
I can't repoduce this.  Can
the original submitter
reproduce using either 
Tcl 8.4.9 or 8.5a2 ?
Log in (anonymous is fine) to add a comment.