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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1462 Actions


    Problem Report Number 1462
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0744
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-11-13 08:00
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.1.0
    Test Identification base/mmap 12
    Problem Summary TSD4U.00069 This test may fail on implementaitons because the variable i is not declared as volatile and may be optimized out of existence.
    Problem Text
    This test may fail on implementaitons because the variable i is not
    declared as a volatile and may be optimized out.

    The variable i needs to be declared as volatile. Otherwise it is
    optimized out of existence by the compiler as it is a dead variable
    and the test is attempting to use side effects of its access for the
    purposes of the test.
    Test Output
    400|1 12 1 15:58:33|IC Start
    200|1 1 15:58:33|TP Start
    520|1 1 29615 1 1|SPEC1170TESTSUITE CASE 12
    520|1 1 29615 1 2|References to mapped pages beyond the page containing
    520|1 1 29615 1 3|the last byte of a file mapped by a call to void
    520|1 1 29615 1 4|*mmap(void *addr, size_t len, int prot, int flags, int
    520|1 1 29615 1 5|fildes, off_t off) shall result in the delivery of a
    520|1 1 29615 1 6|SIGBUS or a SIGSEGV signal.
    520|1 1 29688 1 1|PREP: Obtain the system page size by call to
    520|1 1 29688 1 2| sysconf(_SC_PAGESIZE)
    520|1 1 29688 1 3|PREP: Establish signal handlers for SIGSEGV and SIGBUS
    520|1 1 29688 1 4|PREP: Allocate memory for buffer
    520|1 1 29688 1 5|PREP: Open a file and initialize it
    520|1 1 29626 1 1|TEST: mmap() with MAP_SHARED returns location where
    520|1 1 29626 1 2| file is mapped
    520|1 1 29626 1 3|TEST: SIGBUS or SIGSEGV on reference to full page beyond
    520|1 1 29626 1 4| current end
    520|1 1 29626 1 5|ERROR: Neither SIGBUS nor SIGSEGV received
    220|1 1 1 15:58:36|FAIL
    410|1 12 1 15:58:36|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree this is a test suite deficiency in the test
    suite version(s) listed.

    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