|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1865 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 1865.
Report 1865 Actions
Problem Report Number 1865 Submitter's Classification Minor System Fault State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0552 Raised 1999-11-26 08:00 Updated 2003-03-13 08:00 Published null Product Standard Window System Application Interface V2 Certification Program The Open Brand certification program Test Suite VSW version 5.0.2 Test Identification Xt11/XtVaGetSubvalues 3 Problem Summary PG4W.00103 This IR requests a temporary waiver for a fault that causes a SIGSEGV. Problem Text
This crash reflects a bug in the X11R6.1 Xt library that
is fixed in R6.4. Our system is not quite R6.4 yet.
The Xt library calls the function _XtVaToArgList() with a NULL
widget id from XtVaGetSubvalues(). In R6.1 _XtVaToArgList()
has the code:
} else if (strcmp(attr, XtVaNestedList) == 0) {
if (widget != NULL || !fetched_resource_list) {
GetResources(widget, &resources, &num_resources);
fetched_resource_list = True;
}
which ends up calling GetResources() with a NULL widget id
which results in a segviol.
This code was replaced with the following in R6.4:
} else if (strcmp(attr, XtVaNestedList) == 0) {
if (widget != NULL) {
if (!fetched_resource_list) {
GetResources(widget, &resources, &num_resources);
fetched_resource_list = True;
}
}
which won't end up calling GetResources() with the NULL id.Test Output
520|897 3 00005925 1 1|VSW5TESTSUITE PURPOSE 3
520|897 3 00005925 1 2|Assertion XtVaGetSubvalues-3.(A)
520|897 3 00005925 1 3|On a call to void XtVaGetSubvalues(base, resources,
520|897 3 00005925 1 4|num_resources,...) when the name XtVaNestedList is
520|897 3 00005925 1 5|specified in place of a resource name in the variable
520|897 3 00005925 1 6|argument list it shall interpret the next argument as a
520|897 3 00005925 1 7|value specifying another varargs style variable argument
520|897 3 00005925 1 8|list and logically insert it in the original list at the
520|897 3 00005925 1 9|point of declaration.
520|897 3 00005937 1 1|PREP: Initialize toolkit, Open display and Create topLevel root widget
520|897 3 00005937 1 2|PREP: Create windows for widgets and map them
520|897 3 00005937 1 3|PREP: Initialize the base address
520|897 3 00005937 1 4|PREP: Set subvalues
520|897 3 00005937 1 5|PREP: Get subvalues
520|897 3 00005937 1 6|unexpected signal 11 (SIGSEGV) received
220|897 3 2 21:52:07|UNRESOLVEDReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We do not consider a system fault that causes a SIGSEGV to be minor.
Applications affected by this fault will usually terminate with a
core dump.
Since a simple fix for the problem is known, it could easily be
resolved by supplying a fixed Xt library as a patch for the O/S
release affected. There would be no need to upgrade fully to R6.4.
It is recommended that this request is refused.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1865
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority