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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 2116 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 2116.


Report 2116 Actions


    Problem Report Number 2116
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1081
    Raised 1999-12-09 08:00
    Updated 2003-03-13 08:00
    Published 1999-12-15 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSTH version 5.1.42
    Test Identification PTHR.os/all/pthread_mutex_getprioceiling 1
    Problem Summary TSD5TH.00074 The "got" value reported varies from platform to platform and run to run. The test fails because the mutex under test is never initialized properly. It becomes successful if it is set up with: lechoco...
    Problem Text

    The "got" value reported varies from platform to platform and run to run.

    The test fails because the mutex under test is never initialized properly.
    It becomes successful if it is set up with:

    lechoco$ diff pthread_mutex_getprioceiling.c pthread_mutex_getprioceiling.c.orig
    150,156d149
    < rval = pthread_mutexattr_setprotocol( &ma, PTHREAD_PRIO_PROTECT );
    < if ( rval != 0 )
    < {
    < vsth_surprise("pthread_mutexattr_setprotocol", 0, rval, errors);
    < return;
    < }
    <

    Test Output

    /tset/PTHR.os/all/pthread_mutex_getprioceiling/T.pthread_mutex_getprioceiling 08:06:42|TC Start, scenario ref 1576-0
    400|1554 1 1 08:06:42|IC Start
    200|1554 1 08:06:42|TP Start
    520|1554 1 000270013 1 1|If _POSIX_THREAD_PRIO_PROTECT is defined:
    520|1554 1 000270013 1 2|a call to pthread_mutex_getprioceiling(mutex,prioceili
    ng) stores
    520|1554 1 000270013 1 3|the current value of the priority ceiling in the location referenced
    520|1554 1 000270013 1 4|by prioceiling and returns 0 if successful.
    520|1554 1 000270013 1 5|Posix Ref: Component PTHREAD_MUTEX_GETPRIOCEILING
    520|1554 1 000270013 1 6|Assertion 9945-1:1996 13.6.2.2-1(C)
    520|1554 1 000270013 1 7|Priority ceiling, expected 0, got 152
    220|1554 1 1 08:06:42|FAIL

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is recommended to be a test suite deficiency.

    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