|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2080 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 2080.
Report 2080 Actions
Problem Report Number 2080 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1051 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1998-04-15 08:00 Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSTH version 5.1.2 Test Identification PTHR.os/all/sigwait 2 Problem Summary TSD5TH.00048 The TSD5TH.00041 is incomplete for the full solution of detecting the delivery of signals for threads. Sigwait test 2 tests the following assertion: Signals generated for the process shall be delivere... Problem Text
The TSD5TH.00041 is incomplete for the full solution of detecting the
delivery of signals for threads.
Sigwait test 2 tests the following assertion:
Signals generated for the process shall be delivered to exactly one of
the threads waiting in a sigwait() call for the signal or not blocking
the signal.
When the sigwait() thread receives the signal, the test code is not recording
that the signal was received and the thread id for the thread which received
the signal. The signal handler is not executed for this condition.
Solution follows:
*** sigwait.c Tue Mar 31 11:21:47 1998
--- /tmp/sigwait.c.fix Mon Apr 6 10:02:25 1998
***************
*** 609,615 ****
{
vsth_surprise("sigwait", 0, rval, &T2_errors);
}
!
}
else
{
--- 609,618 ----
{
vsth_surprise("sigwait", 0, rval, &T2_errors);
}
! if (T2_sig == SIGALRM) {
! T2_tid = pthread_self();
! ++T2_nsigs;
! }
}
else
{Test Output
10|0 /tset/PTHR.os/all/sigwait/T.sigwait 15:26:23|TC Start, scenario ref 1-0,
IC s: {2}
15|0 3.1-lite 1|TCM Start
400|0 2 1 15:26:25|IC Start
200|0 2 15:26:25|TP Start
520|0 2 00025121 1 1|Signals generated for the process shall be delivered to
exa ctly
520|0 2 00025121 1 2|one of the threads waiting in a sigwait() call for the
sign al or
520|0 2 00025121 1 3|not blocking the signal.
520|0 2 00025121 1 4|Posix Ref: Component SIGWAIT
520|0 2 00025121 1 5|Assertion 9945-1:1996 3.3.8.2, 9945-1:1996 3.3.1.2-2(A)
520|0 2 00025121 4 1|The signal was not delivered
520|0 2 00025121 4 2|Unexpected thread received the signal
220|0 2 1 15:26:25|FAIL
410|0 2 1 15:26:25|IC End
80|0 0 15:26:26|TC End, scenario ref 1-0
900|15:26:26|TCC EndReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We note that this problem, first identified in req.5.TH.057, and
subject to TSD5TH.00041, was fixed incorrectly in the patch to
VSTH5.1.2E. We recommend that either:
a) the applicant use TSD5TH.00041 as the basis of any waiver request for
sigwait test 2 and that this request be refused.
or
b) the patch identified in this IR to patch1 of VSTH 5.1.2E
be approved as a formal patch to VSTH5.1.2E with patch 1.
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 2080
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority