Artifacts Associated With Ticket 219312ffffffffff
Ticket change [1b65ad3f1f] (rid 123141) by nobody on 2000-10-26 05:10:32:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 3657 Bug Version: 8.2.2 SubmitDate: '1999-11-23' LastModified: '1999-11-24' Severity: CRIT Status: UnAssn Submitter: techsupp ChangedBy: hobbs OS: BSD OSVersion: BSD/OS 4.0.1 patched through M401-021 FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: Peeter Pirn CustomShell: no patches applied ReproducibleScript: BSD/OS 4.0.1 patched up through patch M401-021. Download tcl8.2.2.tar.gz cd tcl8.2.2/unix ./configure --prefix=/usr/local/tcl8.2.2 --enable-threads make (goes OK w/o error) make test The following failures/problems occur: ==== event-1.1 Tcl_CreateFileHandler, reading FAILED ==== Contents of test case: testfilehandler close testfilehandler create 0 readable off testfilehandler clear 0 testfilehandler oneevent set result "" lappend result [testfilehandler counts 0] testfilehandler fillpartial 0 testfilehandler oneevent lappend result [testfilehandler counts 0] testfilehandler oneevent lappend result [testfilehandler counts 0] testfilehandler close set result ---- Result was: {1 0} {2 0} {3 0} ---- Result should have been: {0 0} {1 0} {2 0} ==== event-1.1 FAILED exec.test ==== exec-1.3 pipelining FAILED ==== Contents of test case: set a [exec $::tcltest::tcltest echo a b c d | $::tcltest::tcltest cat | $:: tcltest::tcltest wc] list [scan $a "%d %d %d" b c d] $b $c ==== Test generated error: error writing "stdout": broken pipe while executing "puts -nonewline [read $f]" ("foreach" body line 9) invoked from within "foreach name $argv { if {$name == "-"} { set f stdin } elseif {[catch {open $name r} f] != 0} { puts stderr $f continue } while {[e..." (file "cat" line 5) ---- Result should have been: 3 1 4 ==== exec-1.3 FAILED ==== exec-6.3 redirecting stderr through a pipeline FAILED ==== Contents of test case: exec $::tcltest::tcltest sh -c "echo foo bar 1>&2" |& $::tcltest::tcltest s h -c "echo second msg 1>&2 ; cat" |& $::tcltest::tcltest cat ==== Test generated error: second msg child killed: alarm clock while executing "exec >@stdout 2>@stderr /var/www/home/ppirn/download/tcl/tcl8.2.2/unix/tcltest echo foo bar >@stderr" ("eval" body line 1) invoked from within "eval exec >@stdout 2>@stderr [list [info nameofexecutable]] $newcmd" ("foreach" body line 3) invoked from within "foreach arg $cmd { if {$arg == ";"} { eval exec >@stdout 2>@stderr [list [info nameofexecutable]] $newcmd set newcmd {} continue } i..." (file "sh" line 10) child process exited abnormally ---- Result should have been: second msg foo bar ==== exec-6.3 FAILED ==== exec-9.3 commands returning errors FAILED ==== Contents of test case: list [catch {exec $::tcltest::tcltest sleep 1 | $::tcltest::tcltest exit 43 | $::tcltest::tcltest sleep 1} msg] $msg ---- Result was: 1 {child killed: alarm clock child killed: alarm clock child process exited abnormally} ---- Result should have been: 1 {child process exited abnormally} ==== exec-9.3 FAILED ==== exec-9.4 commands returning errors FAILED ==== Contents of test case: list [catch {exec $::tcltest::tcltest exit 43 | $::tcltest::tcltest echo "fo o bar"} msg] $msg ---- Result was: 1 {child killed: alarm clock child process exited abnormally} ---- Result should have been: 1 {foo bar child process exited abnormally} ==== exec-9.4 FAILED ==== exec-9.6 commands returning errors FAILED ==== Contents of test case: list [catch {exec $::tcltest::tcltest sh -c "echo error msg 1>&2"} msg] $msg ---- Result was: 1 {child killed: alarm clock} ---- Result should have been: 1 {error msg} ==== exec-9.6 FAILED ==== exec-9.7 commands returning errors FAILED ==== Contents of test case: list [catch {exec $::tcltest::tcltest sh -c "echo error msg 1>&2" | $::tclt est::tcltest sh -c "echo error msg 1>&2"} msg] $msg ---- Result was: 1 child\ killed:\ alarm\ clock\n\ \ \ \ while\ executing\n\"exec\ >@stdout\ 2>@s tderr\ /var/www/home/ppirn/download/tcl/tcl8.2.2/unix/tcltest\ echo\ error\ msg\ >@stderr\"\n\ \ \ \ (\"eval\"\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n\ "eval\ exec\ >@stdout\ 2>@stderr\ \[list\ \[info\ nameofexecutable\]\]\ \$newcmd \"\n\ \ \ \ (\"foreach\"\ body\ line\ 3)\n\ \ \ \ invoked\ from\ within\n\"forea ch\ arg\ \$cmd\ \{\n\tif\ \{\$arg\ ==\ \"\;\"\}\ \{\n\t\ \ \ \ eval\ exec\ >@std out\ 2>@stderr\ \[list\ \[info\ nameofexecutable\]\]\ \$newcmd\n\t\ \ \ \ set\ n ewcmd\ \{\}\n\t\ \ \ \ continue\n\t\}\n\ti...\"\n\ \ \ \ (file\ \"sh\"\ line\ 10 )\nerror\ msg ---- Result should have been: 1 {error msg error msg} ==== exec-9.7 FAILED ==== exec-11.2 commands in background FAILED ==== Contents of test case: list [catch {exec $::tcltest::tcltest echo a &b} msg] $msg ---- Result was: 1 {child killed: alarm clock} ---- Result should have been: 0 {a &b} ==== exec-11.2 FAILED ... Running http 1.0 tests in slave interp (test hangs here; test killed by sys admin) - foundin initialized to: "obsolete: 8.2.2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "85. tclconfig"
- title initialized to: "make test failure"
- type initialized to: "Bug"
Ticket change [ac33d84a81] (rid 101249) by dkf on 2000-12-12 22:30:29:
- icomment:
Why on earth are all those SIGALRMs being generated? Are you running with some kind of resource limitation turned on, or is there some kind of bizarre problem with signal control and exec? And can this be reproduced on the latest version of Tcl (which works just fine with Solaris...)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [34c7ca30f3] (rid 106805) by dkf on 2001-02-07 22:17:52:
- subsystem changed to: "60. NRE and coroutines"
Ticket change [e5e528dfe5] (rid 104207) by dgp on 2001-04-05 08:20:12:
- subsystem changed to: "27. Channel Types"
Ticket change [84513c3381] (rid 117537) by hobbs on 2002-03-23 06:53:10:
- closedate changed to: "2002-03-22T23:53:10"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 Some changes have been made for BSD/OS in 8.3.4, so this must be reverified.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- status changed to: "Closed"
- username: "hobbs"