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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1093 Actions


    Problem Report Number 1093
    Submitter's Classification Minor System Fault
    State Resolved
    Resolution Minor System Fault (MSF)
    Problem Resolution ID MSF.X.0042
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1997-10-09 08:00
    Expiry Date 1998-10-09
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.1.1
    Test Identification base/sigaltstack 1
    Problem Summary MSF4U.00011 This test may fail on implementations because of an insufficient SIGSTKSZ size on the IUT.
    Problem Text
    This interpretation request concerns the test cases sigaltstack #1
    and sigstack #1 .

    Our implementation does not define an alternate stack size (symbol SIGSTKSZ
    in the header file sys/signal.h) sufficiently large to accommodate the
    processing required by the VSU4 test suite, in the context of the signal
    handlers for the test cases #1 of both sigaltstack and sigstack.

    Both test cases run successfully if the allocated memory area for the stack
    is increased.

    The Single UNIX Specification states the requirement as being
    "... the number of bytes that would be used to cover the usual case when
    manually allocating an alternate stack area."

    Although an application could lose some portability due to this reduced
    implementation default value, it is thought that this fault has limited
    impact. Additionally, as there is an easy work-around addressing the issue,
    we believe that this system fault is an MSF waiver candidate.

    The implementation default value for SIGSTKSZ cannot be adjusted immediately,
    but a defect report has been opened and either a fix will be made available
    or an interpretation for Grey Area in SUS requested or both.

    This would be the only MSF interpretation required by our branding application.
    Test Output
    10|6670 /tset/CAPIbase/fsigaltsta/fsigaltsta1 11:50:59|TC Start, scenario ref 10
    7-1972
    15|6670 1.10 7|TCM Start
    400|6670 1 1 11:50:59|IC Start
    200|6670 1 11:50:59|TP Start
    520|6670 1 28000 1 1|SPEC1170TESTSUITE CASE 1
    520|6670 1 28000 1 2|A successful call to int sigaltstack(const stack_t
    520|6670 1 28000 1 3|*ss, stack_t *oss) when ss is non-null and the
    520|6670 1 28000 1 4|ss_flags member of the structure pointed to by ss is
    520|6670 1 28000 1 5|not set to SS_DISABLE shall establish the stack
    520|6670 1 28000 1 6|described by the structure pointed to by ss as the
    520|6670 1 28000 1 7|alternate stack for processing signals and return 0.
    520|6670 1 27746 1 1|PREP: Call sigaltstack(ss, NULL)
    520|6670 1 27746 1 2|TEST: sigaltstack() returns 0
    520|6670 1 27746 1 3|PREP: Call sigaction() with SA_ONSTACK set
    520|6670 1 27746 1 4|PREP: Send self SIGTERM
    520|6670 1 27746 1 5|TEST: Ensure sig_hdlr was entered
    520|6670 1 27746 1 6|TEST: Verify alternate stack used
    520|6670 1 27746 1 7|TEST: Verify we are back to main stack
    520|6670 1 28000 2 1|ERROR: TEST TERMINATED DUE TO SIGSEGV SIGNAL (11)
    220|6670 1 1 11:50:59|FAIL
    410|6670 1 1 11:50:59|IC End
    .
    .
    .
    10|6694 /tset/CAPIbase/fsigstack/fsigstack1 11:54:27|TC Start, scenario ref 107-
    1988
    15|6694 1.10 8|TCM Start
    400|6694 1 1 11:54:27|IC Start
    200|6694 1 11:54:27|TP Start
    520|6694 1 24066 1 1|SPEC1170TESTSUITE CASE 1
    520|6694 1 24066 1 2|A successful call to int sigstack(struct sigstack *ss
    520|6694 1 24066 1 3|, struct sigstack *oss) when ss and oss are not null
    520|6694 1 24066 1 4|pointers shall cause the system to use the area of its
    520|6694 1 24066 1 5|address space specified by ss->ss_sp for processing
    520|6694 1 24066 1 6|signals received by the process, place the current
    520|6694 1 24066 1 7|signal stack context in the structure pointed to by
    520|6694 1 24066 1 8|oss, and return 0.
    520|6694 1 22532 1 1|PREP: Call sigstack(ss, oss)
    520|6694 1 22532 1 2|TEST: sigstack() returns 0
    520|6694 1 22532 1 3|PREP: Call sigstack() to return a known state
    520|6694 1 22532 1 4|TEST: oss = ss
    520|6694 1 22532 1 5|PREP: Call sigaction() with SA_ONSTACK set
    520|6694 1 22532 1 6|PREP: Send self SIGTERM
    520|6694 1 22532 1 7|TEST: Verify alternate stack used
    520|6694 1 22532 1 8|TEST: Verify we are back to main stack
    520|6694 1 24066 2 1|ERROR: TEST TERMINATED DUE TO SIGSEGV SIGNAL (11)
    220|6694 1 1 11:54:27|FAIL
    410|6694 1 1 11:54:27|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    A temporary waiver for a minor system fault is recommended.

    The the scope of this problem is limited and a workaround is
    available to the application by increasing the initial size of the
    stack.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Minor System Fault (MSF)
    Review Conclusion
    A Temporary Waiver is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority