#2976 unix process issue in 8.4.8?

obsolete: 8.4.8
closed-works-for-me
5
2005-01-14
2004-11-24
No

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

Discussion

  • Don Porter

    Don Porter - 2004-11-24

    Logged In: YES
    user_id=80530

    FWIW, "works for me" on Solaris 9.

     
  • Donal K. Fellows

    • labels: --> 38. Init - Library - Autoload
    • assigned_to: nobody --> dgp
     
  • Don Porter

    Don Porter - 2005-01-14

    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 ?

     
  • Don Porter

    Don Porter - 2005-01-14
    • status: open --> closed-works-for-me
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks