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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1236 Actions


    Problem Report Number 1236
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0438
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.0.2
    Test Identification Base/makecontext 2
    Problem Summary PG4U.00027 The test should not be verifying the that makecontext sets errno to ENOMEM.
    Problem Text
    Test2: Expects ENOMEM set for insufficient stack space
    yet makecontext() is defined as a void. Is it normal to
    have a void function set an errno when it does not return
    a -1?
    Test Output
    TEST CASE: makecontext

    TEST PURPOSE #2
    ENOMEM in errno on a call to void
    makecontext(uncontext_t *ucp, (void *func)(), int
    argc, ...) when ucp does not have enough stack left to
    complete the operation.
    PREP: Generate a new context with one word stack
    TEST: makecontext sets ENOMEM in errno
    ERROR: makecontext failed, errno = 0(0 - No error)
    2 FAIL

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We recommend this request be refused.

    Although we agree this behavior seems unusual the makecontext
    spec states

    The makecontext() and swapcontext() functions will
    fail if:

    [ENOMEM] The ucp argument does not have
    enough stack left to complete the
    operation.

    The test is verifying behavior mandated by the spec.

    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