|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2083 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 2083.
Report 2083 Actions
Problem Report Number 2083 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1054 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1998-05-05 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/pthread_cancel 9 Problem Summary TSD5TH.00051 The above failure is the result of improperly initialize the the first element of the queue. in SRC/common/vsthlib/vsth_cpi.c the following code is found: first.next = (struct qe *) NULL; first.last =... Problem Text
The above failure is the result of improperly initialize the
the first element of the queue. in SRC/common/vsthlib/vsth_cpi.c
the following code is found:
first.next = (struct qe *) NULL;
first.last = (struct qe *) NULL;
(void) insque((void *) &first, (void *) &second);
The XPG5 XSH spec on page 403 states the following:
"If the queue is to be used as a circular list, the application must
initialize the forward and backward pointer of the initial element of
the queue to the element's own address"
In this test "second" is the first element of the list and it is not
initialized.
Changing the two lines above to the following should fix the problem:
second.next = &second ;
second.last = &second ;Test Output
************************************************************************
/tset/PTHR.os/all/pthread_cancel/T.pthread_cancel 9 Unresolved
Test Information:
A cancellation point shall not occur in the
following XSH5 functions
.
yn
XCAE ref: Component PTHREAD_CANCEL
Assertion 9(A)
.
Testing insque()
unexpected signal 11 (SIGSEGV) received
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend that this test suite deficiency be fixed with the following patch as
it affects execution of subsequent test purposes within this test:
change:
insque((void *) &first, (void *) &second);
to:
insque((void *) &second, (void *) &first);
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
Problem Reporting System Options:
- View Report 2083
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority