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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2292 Actions


    Problem Report Number 2292
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1173
    Raised 2003-12-05 01:08
    Updated 2003-12-09 18:27
    Published 2003-12-09 18:27
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSTH version 5.3.3
    Test Identification PTHR.os/cfuncs/strerror_r 1
    Specification Base Definitions Issue 6
    Location in Spec none, testcase problem
    Problem Summary Use of global variable in multiple threads
    Problem Text In Test 1 vsth_weave() is used to kick off 8 threads running t1_t1().
    t1_t1() mallocs and free storage for an element msgp of the global
    structure errtab. So, one thread mallocs and other threads may free it
    or overwrite it, etc. The behavior can be different on different systems
    depend on timings, no. of cpus, etc. Adding
    pthread_mutex_lock(&T1_mx)/pthread_mutex_unlock(&T1_mx) around the
    for loop in t1_t1() to serialize the "errtab" access corrects the problem.
    Test Output
    ************************************************************************
    /tset/PTHR.os/cfuncs/strerror_r/T.strerror_r 1 UNREPORTED

    Test Description:
    For UNIX03 and POSIX01 modes:
    The strerror_r(errnum, strerrbuf, buflen) function shall map the
    error
    number in errnum to a locale-dependent error message string and
    shall
    return
    the string in the buffer pointed to by strerrbuf, with length
    buflen,
    and
    return 0.

    Test Information:
    For UNIX03 and POSIX01 modes:
    The strerror_r(errnum, strerrbuf, buflen) function shall map the
    error
    number in errnum to a locale-dependent error message string and
    shall
    return
    the string in the buffer pointed to by strerrbuf, with length
    buflen,
    and
    return 0.


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

    Review Information

    Review Type TSMA Review
    Start Date 2003-12-05 01:08
    Last Updated 2003-12-05 17:56
    Completed 2003-12-05 17:56
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a fault in the test suite.

    Review Type SA Review
    Start Date 2003-12-05 17:56
    Last Updated 2003-12-09 18:27
    Completed 2003-12-09 18:27
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion A test suite deficiency is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority