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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1675 Actions


    Problem Report Number 1675
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0479
    Raised 2001-10-02 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.1.2
    Test Identification CAPI.os/ioprim/close 12
    Linked Problem Reports PIN4U.00014, (in, old, system)
    Problem Summary PG4U.00182 A SIGHUP is received only by the session leader and not by the other process in the same process group.
    Problem Text
    Just as in PIN4U.00014, the test fails through a timeout waiting
    for a SIGHUP from the master side to the slave side.

    From PIN4U.00014:

    The test suite provider has, understandably, taken the standpoint that
    this means that everytime a close occurs a SIGHUP signal is sent. We
    are sure that this could not have been meant. If this were so then
    every application that runs detached with a psuedo-terminal as the
    controlling terminal would be terminated when the forking process
    dissasociated itself from its children.
    Test Output
    ************************************************************************
    /tset/CAPI.os/ioprim/close/T.close 12 Failed

    Test Description:
    Base Required Conformance
    A successful call to int close(int fildes) when fildes refers to the
    master side of a pseudo-terminal, and this is the last close, shall
    cause a SIGHUP signal to be sent to the process group, if any, for
    which the slave side of the pseudo-terminal is the controlling
    terminal.

    Test Information:
    PREP: Open master side of pseudo terminal
    PREP: Create session
    PREP: Close master side (in session leader)
    PREP: Open slave side as controlling terminal
    PREP: Create child process in session
    PREP: Capture SIGHUP signals in child
    TEST: Await a SIGHUP in the child
    PREP: Capture SIGHUP signals in session leader
    TEST: Await a SIGHUP in session leader
    INFO: SIGHUP received in session leader
    PREP: Wait for child to terminate
    TEST: Close of master sends SIGHUP to slave side session
    ERROR: SIGHUP was sent to 1 processes in group, expected 2

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

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This failure is not for the same reason as in PIN4U.00014. The error
    reported by the test in PIN4U.00014 was "Processes in session timed
    out awaiting SIGHUP". No SIGHUP was received because the close() was
    not the last close of the master side of the pty. In VSU5.1.2
    the test was changed so that the close() is the last close.
    The new test output shows that a SIGHUP was received by one process
    (the session leader) but not by the other process. It appears
    that this implementation only sends the SIGHUP to the process group
    leader, not to the whole process group as per the specification.

    It is recommended that this request is refused.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority