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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2433 Actions


    Problem Report Number 2433
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1262
    Raised 2004-11-09 03:41
    Updated 2004-11-11 01:29
    Published 2004-11-11 01:29
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSART version 1.1.4
    Test Identification POSIX_art.os/synchobjects_rwlocks/pthread_rwlock_tryrdlock 6
    Specification Base Definitions Issue 6
    Problem Summary Test can cause system to crash because it does not declare memory
    variable as volatile
    Problem Text Running this assertion can hang the test system.

    It appears that the test is forever testing the same register without
    reloading it in the following loop:

    while (T6_writer_flag == 0)
    {
    ;
    }

    The compiler's memory model is that, unless told otherwise by
    'volatile' applied to a memory variable, it can assume that
    no entity other than the current thread will ever modify it.
    The compiler is not required to know anything about multithreading.

    The fix to the test is to declare T6_writer_flag with 'volatile'.
    Test Output No output, test hangs the system.

    Review Information

    Review Type TSMA Review
    Start Date 2004-11-09 03:41
    Last Updated 2004-11-09 18:57
    Completed 2004-11-09 18:57
    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 2004-11-09 18:57
    Last Updated 2004-11-10 00:50
    Completed 2004-11-10 00:50
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion This PR represents an agreed test suite deficiency

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority