|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1424 Details Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 1424.
Report 1424 Actions
Problem Report Number 1424 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0706 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1996-02-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/setrlimit 7 Problem Summary TSD4U.00109 This test may fail on implementations that do not support any signal generating a core file. Problem Text
This test may fail on implementations that do not support
any signal generating a core file.
We feel that the method used by fsetrlimit7.c to create a core dump is
non-portable and not specified anywhere in the spec.
The basic methodology is to use the kill() syscall with an
implementation-defined signal that will create a core dump. We get to
specify the signal used and the name of the core file. That's fine
but on our implementation, the only way to get a core dump is through
an actual abend or program check.
The requirement that some special signal be implemented to create a
core dump, and that that signal, when passed to the kill() syscall
must create a dump of the process, is not specified anywhere in
SPEC/1170. There is no portable way to test this assertion.Test Output
10|1 /tset/CAPIbase/fsetrlimit/fsetrlimit7 16:04:52|TC Start, scenario r
15|1 1.10 1|TCM Start
400|1 7 1 16:04:53|IC Start
200|1 1 16:04:53|TP Start
520|1 1 2359326 1 1|SPEC1170TESTSUITE CASE 7
520|1 1 2359326 1 2|If the implementation does not inhibit enforcement o
520|1 1 2359326 1 3|limits for the resource RLIMIT_CORE:
520|1 1 2359326 1 4|When the writing of a core file for the calling
520|1 1 2359326 1 5|process exceeds the limit set by a call to int
520|1 1 2359326 1 6|setrlimit(int resource, const struct rlimit *rlp) fo
520|1 1 2359326 1 7|resource RLIMIT_CORE the writing of the core file
520|1 1 2359326 1 8|shall terminate at the limit.
520|1 1 78905373 1 1|PREP: Obtain the current soft and hard limits for
520|1 1 78905373 1 2| RLIMIT_CORE
520|1 1 78905373 1 3|PREP: Obtain the configuration parameter
520|1 1 78905373 1 4| VSU_SIGNAL_GENERATING_CORE
520|1 1 74514454 1 1|PREP: Child: Set the new limits for the process
520|1 1 78905373 2 1|TEST: The core file generated is limited by the lim
520|1 1 78905373 2 2| set for RLIMIT_CORE
520|1 1 78905373 2 3|ERROR: Core file was not generated
220|1 1 1 16:05:08|FAIL
410|1 7 1 16:05:08|IC End
80|1 0 16:05:09|TC End
900|16:05:09|TCC EndReview 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:
- View Report 1424
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority