Tcl Source Code

View Ticket
Login
Ticket UUID: 218400
Title: strange theading test failure after installing current CVS s
Type: Bug Created on: 2000-10-26 00:57:08
Submitter: nobody Assigned to: nobody
Subsystem: 49. Threading Severity:
Priority: 2 Last modified: 2001-04-06 02:38:34
Status: Closed Closed by: dgp
Resolution: Fixed Closed on: 2001-04-05 19:38:34
Version: obsolete: 8.3
Description:
OriginalBugID: 5253 Bug
Version: 8.3
SubmitDate: '2000-04-25'
LastModified: '2000-04-25'
Severity: LOW
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Windows 2000
FixedDate: '2000-10-25'
ClosedDate: '2000-04-25'


Name:
David Gravereaux

CVS:
April 24, 1pm HST

Comments:
I can't see, first off, why it's doing this.  I get this when I do the
    test
    case directly:
    
    % package require Thread 2.0
    2.0
    % thread::create
    592
    % thread::send 592 {break}
    invoked "break" outside of a loop

ReproducibleScript:
% source c:/progra~1/tcl/lib/thread/all.tcl

ObservedBehavior:
Tcl 8.3.1 tests running in interp:  C:/PROGRA~1/Tcl/bin/tclsh83.exe
Tests running in working dir:  c:/progra~1/tcl/lib/thread
Only sourcing test files that match:  *.test
Tests began at Mon Apr 24 13:43:14 Hawaiian Standard Time 2000
Mainthread is  1076
thread.test

==== thread-4.4 Thread_Send preserve code FAILED
==== Contents of test case:

    ThreadReap
    set len [llength [thread::names]]
    set serverthread [thread::create]
    set x [catch {thread::send $serverthread {break}} msg]
    ThreadReap
    list $len $x $msg $errorInfo

---- Result was:
1 3 {} {Can't find a usable init.tcl in the following directories:
    {}



This probably means that Tcl wasn't installed properly.

    while executing
"error $msg"
    (procedure "tclInit" line 40)
    invoked from within
"tclInit"}
---- Result should have been:
1 3 {} {}
==== thread-4.4 FAILED


Tests ended at Mon Apr 24 13:43:16 Hawaiian Standard Time 2000
all.tcl:        Total   25      Passed  24      Skipped 0       Failed  1
Sourced 1 Test Files.
Files with failing tests: thread.test
%

DesiredBehavior:
same as getting "all tests pass" from the development sandbox.



Repeated tests on NT in the threaded build can't reproduce this... 
-- 04/25/2000 hobbs