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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 2243 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 2243.


Report 2243 Actions


    Problem Report Number 2243
    Submitter's Classification Minor System Fault
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1151
    Raised 2003-04-07 23:31
    Updated 2003-04-08 00:35
    Published 2003-04-08 00:35
    Product Standard Motif Toolkit
    Certification Program The Open Brand certification program
    Test Suite VSM version 4.1.4
    Test Identification widgets/XmForm 4
    Specification Motif Toolkit API
    Problem Summary TSD4M.00057 The same failures exist not only in out current product, but
    also in older products where the branding have been done successfully.
    With same product installed, the failures only happened on machines with
    very fast CPUs ...
    Problem Text Please refer to the following reasons,
    I. The same failures exist not only in out current product, but also in
    older products where the branding have been done successfully.

    II. With same product installed, The failures
    only happened on Intel machines with very fast CPUs, such as 1.8G and 2.0G
    Hz, but the tests can pass ok on machines with slower CPUs (450M & 330M
    Hz). Please see the attachment for an example of succesful execution. After
    some investigation and testing, we found that the root cause is the
    mis-synchronization between Xserver events handling and the test suite's own
    event process flow.

    III. According to our programmer's analysis, the mis-synchronization only
    happened under very restricted cirumstances, ie VSM testing, and should have
    slim chance of occuring for average software application. Below is more
    details of the analysis from our engineer,

    *********
    "For Manager widgets, vsm4 setup a for-loop to test their behaviors. In each
    loop, vsm4 creates pushbutton, arrowbutton, label and togglebutton(both
    widgets and gadgets) in a global array on the manager widgets with a
    different set of resources value from last loop. Then vsm4 sends events to
    the managed widgets/gadgets, such as Btn1, Key(Up, Down, Left, Right,
    Select), and so on to test if Manager widget behavior like specific
    description. At the end of one loop, vsm4 destroy all the widgets and
    gadgets. Then, the next loop reuse the global array components to do a new
    cycle of test, and so on and so forth.

    Bug cause:
    On a very high speed machine, the testcase processed faster than Xserver
    events handling. When testcase ended up one loop and run into next loop to
    create new widgets/gadgets, Xserver was still handling the destroy events
    queue. So, the events dispatch mechanism in testsuit was still synchronizing
    and handling the events. Then, they wrote on the same segment of memory. So,
    the memory violation caused the sigal 11 arose."
    Test Output There are four UNRESOLVED failures. The testcase category & purpose numbers
    are:

    Widgets/XmBulletinBoard
    Widgets/XmForm
    Widgets/XmBulletinBoardD
    Widgets/XmFormDialog

    520|1300 2 00009055 1 1|VSM4TESTSUITE PURPOSE 4
    520|1300 2 00009055 1 2|The XmBulletinBoard widget shall exhibit the
    behavior
    520|1300 2 00009055 1 3|defined in the Motif Toolkit API specification.
    520|1300 2 00009055 1 4|unexpected signal 11 (SIGSEGV) received
    220|1300 2 2 18:24:03|UNRESOLVED
    410|1300 4 1 18:24:03|IC End

    520|1345 2 00009540 1 1|VSM4TESTSUITE PURPOSE 4
    520|1345 2 00009540 1 2|The XmForm widget shall exhibit the behavior
    520|1345 2 00009540 1 3|defined in the Motif Toolkit API specification.
    520|1345 2 00009540 1 4|unexpected signal 11 (SIGSEGV) received
    220|1345 2 2 18:38:41|UNRESOLVED
    410|1345 4 1 18:38:41|IC End

    520|1459 2 00011639 1 1|VSM4TESTSUITE PURPOSE 4
    520|1459 2 00011639 1 2|The XmBulletinBoardDialog widget shall exhibit the
    behavior
    520|1459 2 00011639 1 3|defined in the Motif Toolkit API specification.
    520|1459 2 00011639 1 4|unexpected signal 11 (SIGSEGV) received
    220|1459 2 2 20:17:46|UNRESOLVED
    410|1459 4 1 20:17:46|IC End

    520|1477 2 00011846 1 1|VSM4TESTSUITE PURPOSE 4
    520|1477 2 00011846 1 2|The XmFormDialog widget shall exhibit the behavior
    520|1477 2 00011846 1 3|defined in the Motif Toolkit API specification.
    520|1477 2 00011846 1 4|unexpected signal 11 (SIGSEGV) received
    220|1477 2 2 20:28:31|UNRESOLVED
    410|1477 4 1 20:28:31|IC End

    Review Information

    Review Type SA Review
    Start Date 2003-04-07 23:31
    Last Updated 2003-04-08 00:33
    Completed 2003-04-08 00:33
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion This is an agreed Test Suite Deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority