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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1077 Actions


    Problem Report Number 1077
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0533
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1998-12-22 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSRT version 5.0.2
    Test Identification rt.os/procprim/execl 2
    Problem Summary TSD4R.00007 These tests fail if the address the memory segment mapped in the parent process happens to be a valid address in the child process.
    Problem Text
    This request applies to:

    rt.os/procprim/execl/T.execl 2 Failed
    rt.os/procprim/execle/T.execle 2 Failed
    rt.os/procprim/execlp/T.execlp 2 Failed
    rt.os/procprim/execv/T.execv 2 Failed
    rt.os/procprim/execve/T.execve 2 Failed
    rt.os/procprim/execvp/T.execvp 2 Failed

    In each of these test a process uses mmap(2) to map some memory into its
    address space. A child process is then fork(2)ed and a new process image
    created using one of the above exec functions. The expectation of the
    test is that mmap(2)ed memory is released in the child process due to the
    action of the exec(2). This is verified by reading from the mapped memory
    address and checking that the read caused a SIGSEGV or SIGBUS signal to
    be sent to the child process.

    These tests fail because the address the memory segment
    is mapped to in the parent process happens to be a valid address in the
    child process. This was verifed using adb. If the test address is set to
    0x0 the expected SIGSEGV is indeed seen.
    Test Output
    ************************************************************************
    /tset/rt.os/procprim/execl/T.execl 2 Failed

    Test Description:
    If _POSIX_MAPPED_FILES or _POSIX_SHARED_MEMORY_OBJECTS is defined:
    On a call to execl() memory mappings created in the process shall
    be
    unmapped before the address space is rebuilt for the new process
    image.

    Test Information:
    Memory mappings were not removed
    Memory mappings were not removed


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


    ************************************************************************
    /tset/rt.os/procprim/execle/T.execle 2 Failed

    Test Description:
    If _POSIX_MAPPED_FILES or _POSIX_SHARED_MEMORY_OBJECTS is defined:
    On a call to execle() memory mappings created in the process
    shall
    be unmapped before the address space is rebuilt for the new
    process
    image.

    Test Information:
    Memory mappings were not removed
    Memory mappings were not removed


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


    ************************************************************************
    /tset/rt.os/procprim/execle/T.execle 2 Failed

    Test Description:
    If _POSIX_MAPPED_FILES or _POSIX_SHARED_MEMORY_OBJECTS is defined:
    On a call to execle() memory mappings created in the process
    shall
    be unmapped before the address space is rebuilt for the new
    process
    image.

    Test Information:
    Memory mappings were not removed
    Memory mappings were not removed


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


    ************************************************************************
    /tset/rt.os/procprim/execv/T.execv 2 Failed

    Test Description:
    If _POSIX_MAPPED_FILES or _POSIX_SHARED_MEMORY_OBJECTS is defined:
    On a call to execv() memory mappings created in the process shall
    be
    unmapped before the address space is rebuilt for the new process
    image.

    Test Information:
    Memory mappings were not removed
    Memory mappings were not removed


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


    ************************************************************************
    /tset/rt.os/procprim/execve/T.execve 2 Failed

    Test Description:
    If _POSIX_MAPPED_FILES or _POSIX_SHARED_MEMORY_OBJECTS is defined:
    On a call to execve() memory mappings created in the process
    shall
    be unmapped before the address space is rebuilt for the new
    process
    image.

    Test Information:
    Memory mappings were not removed
    Memory mappings were not removed


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


    ************************************************************************
    /tset/rt.os/procprim/execvp/T.execvp 2 Failed

    Test Description:
    If _POSIX_MAPPED_FILES or _POSIX_SHARED_MEMORY_OBJECTS is defined:
    On a call to execvp() memory mappings created in the process
    shall
    be unmapped before the address space is rebuilt for the new
    process
    image.

    Test Information:
    Memory mappings were not removed
    Memory mappings were not removed


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

    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 Versions 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