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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1455 Actions


    Problem Report Number 1455
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0737
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-11-21 08:00
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.1.0
    Test Identification base/vfork 3
    Problem Summary TSD4U.00077 This test may fail on implementations where possible pid values fall outside the range of allowable semctl() val values.
    Problem Text
    This test may fail on implementations where possible pid values
    fall outside the range of allowable semctl() val values.

    This test is failing because it tries to set a semaphore equal to
    the pid of a child process created with vfork(). The maximum
    value that a semaphore can take on (for our platform) is 32767.
    But our pids can be much larger than that.

    For the particular run I made, the child pid was 131104, which
    caused the test's semctl() call to fail with an ERANGE error when
    trying to set the semaphore.
    Test Output
    400|2479 3 1 07:56:20|IC Start
    200|2479 3 07:56:20|TP Start
    520|2479 3 122421280 1 1|SPEC1170TESTSUITE CASE 3
    520|2479 3 122421280 1 2|A successful call to pid_t vfork(void) shall create a
    520|2479 3 122421280 1 3|child process with a unique process ID.
    520|2479 3 168558614 1 1|PREP: fork() a child to insulate us from damage
    520|2479 3 306577442 1 1|PREP: vfork() a child and have it loop forever
    520|2479 3 306577442 1 2| We don't expect the parent to be usable
    520|2479 3 306577442 1 3| since system may have it blocked until
    520|2479 3 306577442 1 4| child exits or execs
    520|2479 3 306577442 1 5|ERROR: avs_set_event: semctl failed, errno = 2(ERANGE - Result too large)
    520|2479 3 306577442 1 5|ERROR: avs_set_event: semctl failed, errno = 2(ERANGE - Result too large)
    520|2479 3 168558614 2 1|PREP: Issue ps to check process ids
    520|2479 3 168558614 2 2|PREP: Get ps results
    520|2479 3 168558614 2 3|TEST: Child process pid is unique
    520|2479 3 168558614 2 4|ERROR: Child process id not unique for pid = 0
    520|2479 3 168558614 2 5|CLEANUP: Kill child and wait for it
    520|2479 3 122421280 2 1|ERROR: TEST TERMINATED DUE TO SIGKILL SIGNAL (9)
    220|2479 3 1 07:56:29|FAIL
    410|2479 3 1 07:56:29|IC End

    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 version(s) 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