Problem Report 0051 Details

Help Show help | Quick Search | Click here to view your privileges

This page provides all information on Problem Report 0051.


Report 0051 Actions


    Problem Report Number 0051
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.PX.0024
    Raised 2007-11-17 01:37
    Updated 2007-11-22 01:26
    Published 2007-11-22 01:26
    Product Standard PSE52 Realtime Controller 1003.1-2003 System
    Certification Program POSIX Certified by IEEE and The Open Group
    Test Suite VSTH-PSE version 5.4.6
    Test Identification PTHR.os/cond/pthread_cond_timedwait.7
    PTHR.os/cond/pthread_cond_timedwait.9
    Problem Summary PTHR.os/cond/pthread_cond_timedwait test cases don't handle EPERM error
    Problem Text pthread_cond_timedwait tests 7 and 9 call pthread_cond_timedwait
    without locking the mutex.

    Our implementation returns EPERM as allowed by the standard, but the
    test cases expect only an EINVAL error so the tests report as Failed.
    Test Output ************************************************************************
    /tset/PTHR.os/cond/pthread_cond_timedwait/T.pthread_cond_timedwait 7
    Failed

    Test Description:
    If the implementation detects that the value specified by cond is
    invalid:

    a call to pthread_cond_timedwait(cond, mutex, abstime)
    shall fail and return EINVAL without modifying the state of the
    condition
    variable specified by cond or the mutex specified by mutex.
    Posix Ref: Component PTHREAD_COND_TIMEDWAIT Assertion 9945-1:1996
    11.4.4.3, 9945-1:1996 11.4.4.4-7(C)

    Test Information:
    pthread_cond_timedwait, expected 22, got 1


    ************************************************************************

    ************************************************************************
    /tset/PTHR.os/cond/pthread_cond_timedwait/T.pthread_cond_timedwait 9
    Failed

    Test Description:
    For POSIX96 and UNIX98 modes:
    If the implementation detects that the value specified by abstime
    is invalid:
    When abstime is invalid, then pthread_cond_timedwait(cond,
    mutex, abstime) fails and returns EINVAL without
    modifying the
    state of the condition variable specified by cond or the
    mutex
    specified by mutex.
    For other test modes:
    When abstime is invalid, then pthread_cond_timedwait(cond,
    mutex, abstime) fails and returns EINVAL without modifying the
    state of the condition variable specified by cond or the mutex
    specified by mutex.
    Posix Ref: Component PTHREAD_COND_TIMEDWAIT Assertion 9945-1:1996
    11.4.4.3, 9945-1:1996 11.4.4.4-9(C)

    Test Information:
    pthread_cond_timedwait, expected 22, got 1

    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date 2007-11-17 01:37
    Last Updated 2007-11-19 17:53
    Completed 2007-11-19 17:53
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a fault in the test suite. (The tests should lock
    the mutex.)

    Review Type SA Review
    Start Date 2007-11-19 17:53
    Last Updated 2007-11-22 00:52
    Completed 2007-11-22 00:52
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion This Problem report represents an agreed Test Suite (TSD)

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority