|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1414 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 1414.
Report 1414 Actions
Problem Report Number 1414 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0696 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1996-03-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/sigaction 27 Problem Summary TSD4U.00119 This test may fail because it assumes that the SIGSEGV signal will create a core file. Problem Text
This test may fail because it assumes that the SIGSEGV signal will
create a core file.
Per the <signal.h> section of the specificaton, page 795, the
default action for SIGSEGV is (iii), which is:
"Abnormal termination of the process.
Additionally, implementation-dependent abnormal termination
actions, such as creation of a core file, may occur"
The key word is MAY, creation of a core file is NOT REQUIRED by
the specification.
Our implementation does not generate a core file as a result of
a SIGSEGV signal, and therefore correctly puts CLD_KILLED (102) into
si_code, rather than CLD_DUMPED (103).
(Note that this TSD is independent of the ERROR: si_status incorrect
problem also observed in the above journal file.)Test Output
SPEC1170TESTSUITE CASE 27
After a call to int sigaction(int sig, const struct
sigaction *act, struct sigaction *oact) with
SA_SIGINFO set in the sa_flags member of the sigaction
structure pointed to by act and sig equal to SIGCHLD,
on entry to the signal catching function specified by
the sa_handler member when the child terminated
abnormally the si_code member of the structure pointed
to by the siginfo argument shall contain CLD_DUMPED,
the si_pid member shall contain the child process ID,
the si_status member shall contain the child's
signal, the si_uid member shall contain the
real user ID of the process that sent the signal and a
core file shall be present.
PREP: Set up action for SIGCHLD
PREP: fork() a child that dumps itself
PREP: generate SIGSEGV from child
TEST: signal = SIGCHLD
TEST: si_code = CLD_DUMPED
ERROR: si_code incorrect. Expected 103,Received 102
TEST: si_status = SIGSEGV
ERROR: si_status incorrect. Expected SIGSEGV,Received Unknown signal (124)
TEST: Core file is present
ERROR: Core file was not generated
FAIL
IC 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 1414
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority