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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2067 Actions


    Problem Report Number 2067
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1038
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1998-03-20 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.2
    Test Identification PTHR.os/all/pthread_attr_setguardsize 1
    Problem Summary TSD5TH.00035 This failure is caused because the incorrect type is being used as a parameter for the pthread_attr_setguardsize() call in t1_f1. The code looks like this L58 void t1_f1( int val, int *errors, int *fa...
    Problem Text




    This failure is caused because the incorrect type is being used as
    a parameter for the pthread_attr_setguardsize() call in t1_f1.

    The code looks like this

    L58 void t1_f1( int val, int *errors, int *fails )

    L111 void
    t1_f1( int val, int *errors, int *fails )
    {
    int rval;
    int getv;
    pthread_attr_t attr;

    L125 rval = pthread_attr_setguardsize( &attr, val );

    L133 rval = pthread_attr_getguardsize( &attr, &getv );

    L136 if (getv != val)

    The XPG5 XSH spec on page 596 states that the guardsize argument is
    a size_t. In the code above getv and val have been declared to be an int.

    Test Output
    *** TCM/API Message: system 0: Abandoning testset: caught unexpected signal 11 (
    SIGSEGV) ***

    Test Results:

    ************************************************************************
    /tset/PTHR.os/all/pthread_attr_setguardsize/T.pthread_attr_setguardsize
    1 UNREPORTED

    Test Description:
    A call to pthread_attr_setguardsize(attr, guardsize) sets the
    value of the guardsize attribute in the attributes object specified by
    attr to guardsize and returns 0 if successful.
    XCAE ref: Component PTHREAD_ATTR_SETGUARDSIZE Assertion 1(A)

    Test Information:
    A call to pthread_attr_setguardsize(attr, guardsize)
    sets the value of the guardsize attribute in the
    object specified by attr to guardsize and returns 0
    if successful.
    XCAE ref: Component PTHREAD_ATTR_SETGUARDSIZE
    Assertion 1(A)
    Saved guardsize, expected 98304, got 0

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

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree with the applicant and recommend that a TSD be granted but
    only for those systems (usually 64bit) where sizeof(size_t) != sizeof(int).


    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