Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-19
03:27 • Ticket [218928ffff] Failure of event-1.1 test on an Ultra 10 status still Cl... artifact: f0120e4f46 user: dgp
2000-10-26
08:32 • Closed ticket [218928ffff]. artifact: ac2216c2ca user: welch
01:08 • New ticket [218928ffff]. artifact: 8e18fd3ef0 user: nobody

Failure of event-1.1 test on an Ultra 10

Closed / Fixed218928ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:08:00
OriginalBugID: 2803 Bug
Version: 8.2
SubmitDate: '1999-09-16'
LastModified: '1999-10-21'
Severity: SER
Status: Released
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 2792
OS: Solaris
OSVersion: 2.6 Generic_105181-15
Machine: Other
FixedDate: '1999-10-21'
FixedInVersion: 8.2.2
ClosedDate: '2000-10-25'


Name:
Michael Karo

Comments:
I tried applying the patch which had been posted for AIX...
    
    Submitted by:  Nick Kisseberth
    OperatingSystem:  AIX
    OperatingSystemVersion:  4.3.2
    Synopsis:  Race condition in Tcl Notifier thread
    
    This seemed to fix the event test, but caused the io test to hang.

ReproducibleScript:
The event-1.1 test fails on a Sun Ultra 10 running Solaris 2.6 in the
    following scenarios:
    
    1) Compiling with /opt/SUNWspro/bin/cc:
        $ export CC=/opt/SUNWspro/bin/cc
        $ configure --enable-shared --enable-threads ; make ; make test
    
    2) Compiling with gcc:
        $ unset CC
        $ configure --enable-shared --enable-therads --enable-gcc ; make ;
    make test

ObservedBehavior:
event.test
    
    ==== 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:
    {0 0} {0 0} {0 0}
    ---- Result should have been:
    {0 0} {1 0} {2 0}
    ==== event-1.1 FAILED

DesiredBehavior:
See above.



Fixed are in 8.3b1 (or current CVS). 
-- 10/21/1999 hobbs
welch Closed ticket [218928ffff]. [History diff]2000-10-26 08:32:13
dgp Ticket [218928ffff]: 3 changes [History diff]2001-04-19 03:27:38
Log in (anonymous is fine) to add a comment.