HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1081 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 1081.


Report 1081 Actions


    Problem Report Number 1081
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0537
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1998-04-20 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSRT version 5.0.1
    Test Identification rt.os/rtsignals/sigtimedwait 4
    Problem Summary TSD4R.00003 This tests may fail as they issue pthread_kill twice for a particular thread.
    Problem Text
    The problem is the same for both test case 4 for sigtimedwait and sigwaitinfo.

    The test #4 calls pthread_kill(thrds[0] ...) twice.

    Making it pthread_kill(thrds[0] ...) once works.

    1st:
    /* send the signal */
    >>>>> if ((err = pthread_kill(thrds[0], SIGRTMIN)) != 0) {
    in_rpt("pthread_kill() failed, errno = %d (%s)", err, errname(er r));
    xx_rpt(FAILURE);
    errors++;
    }


    2nd:
    for (i = 0; i < NUM_OF_THREADS; i++) {
    >>>>> if ((err = pthread_kill(thrds[i], SIGRTMIN)) != 0) {
    in_rpt("pthread_kill() failed, errno = %d (%s)", err, errname(err));
    xx_rpt(FAILURE);
    errors++;
    }
    }


    The solution is to change the for loop to have the variable i set to 1 initially.
    Test Output
    rt.os/rtsignals/sigtimedwait/T.sigtimedwait:

    400|137 4 1 14:25:22|IC Start
    200|137 4 14:25:22|TP Start
    520|137 4 00027228 1 1|pthread_kill() failed, errno = 3 (ESRCH)
    220|137 4 1 14:25:27|FAIL
    410|137 4 1 14:25:27|IC End

    rt.os/rtsignals/sigwaitinfo/T.sigwaitinfo:

    400|139 4 1 14:25:49|IC Start
    200|139 4 14:25:49|TP Start
    520|139 4 00027239 1 1|pthread_kill() failed, errno = 3 (ESRCH)
    220|139 4 1 14:25:54|FAIL
    410|139 4 1 14:25:54|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree this is a Test Suite Deficiency in the test suite version listed.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion
    This is an agreed Test Suite Deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority