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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2424 Actions


    Problem Report Number 2424
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1254
    Raised 2004-09-09 06:09
    Updated 2004-09-13 14:10
    Published 2004-09-13 14:10
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSRT version 5.3.2
    Test Identification rt.os/mfiles/mmap 26
    Specification Base Definitions Issue 6
    Problem Summary mmap 26 assumes all virtual memory can be consumed in two shared memory
    segments
    Problem Text The problem with mmap 26 is that the test suite is assuming that it can
    consume all virtual memory available to a process by allocating two
    shared memory segments. Furthermore, it assumes that the relative sizes
    of those segments can be x/2*pagesize and (x-1)*pagesize for some value
    of x that we choose. This is not true unless the address space of the
    process is more than 25% filled before the test starts. (I.e. 25% full
    of program and data and 25% for x/2*pagesize will fill up half of the
    address space and then the final (x-1)*pagesize will fail because 50%
    of the address space is no longer available.)

    Since we also run into limits of file sizes when doing mmap()'s
    of shared memory segments (which uses tmpfs as a backing store), there
    is no value of x that we can choose that will exhaust a 64-bit
    process's virtual address space using using just those two mmap() calls
    when the x/2*pagesize and (x-1)*pagesize are used as the sizes for
    those two mappings.
    Test Output ****************************************************************************************************************
    /tset/rt.os/mfiles/mmap/T.mmap 26 Failed

    Test Description:
    If _POSIX_SHARED_MEMORY_OBJECTS is defined or the implementation
    supports the mmap() function as defined in XSH5 and XSH6 and the
    implementation supports MAP_FIXED:
    A call to mmap() for a shared memory object when MAP_FIXED is not
    specified and there is insufficient room in the address space to
    effect the mapping.

    Test Information:
    mmap failed but errno = 22 (EINVAL)


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

    Review Information

    Review Type TSMA Review
    Start Date 2004-09-09 06:09
    Last Updated 2004-09-09 19:49
    Completed 2004-09-09 19:49
    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-09-09 18:49
    Last Updated 2004-09-10 06:58
    Completed 2004-09-10 06:58
    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