HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1864 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 1864.


Report 1864 Actions


    Problem Report Number 1864
    Submitter's Classification Minor System Fault
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0551
    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/XtVaGetSubresources 4
    Problem Summary PG4W.00102 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 XtVaGetSubresources(). 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|849 4 00004768 1 1|VSW5TESTSUITE PURPOSE 4
    520|849 4 00004768 1 2|Assertion XtVaGetSubresources-4.(A)
    520|849 4 00004768 1 3|On a call to void XtVaGetSubresources(w, base, name, class,
    520|849 4 00004768 1 4|resources, num_resources,...) when the name XtVaNestedList
    520|849 4 00004768 1 5|is specified in place of a resource name in the variable
    520|849 4 00004768 1 6|argument list it shall interpret the next argument as a
    520|849 4 00004768 1 7|value specifying another varargs style variable argument
    520|849 4 00004768 1 8|list and logically insert it in the original list at the
    520|849 4 00004768 1 9|point of declaration.
    520|849 4 00004785 1 1|PREP: Initialize toolkit, Open display and Create topLevel root widget
    520|849 4 00004785 1 2|PREP: Create windows for widgets and map them
    520|849 4 00004785 1 3|PREP: Initialize the base address
    520|849 4 00004785 1 4|PREP: Update subpart resource list
    520|849 4 00004785 1 5|PREP: Create nested list
    520|849 4 00004785 1 6|PREP: Get subvalues
    520|849 4 00004785 1 7|unexpected signal 11 (SIGSEGV) received
    220|849 4 2 21:44:17|UNRESOLVED

    Review 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:

     

    Back   


Contact the Certification Authority