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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2223 Actions


    Problem Report Number 2223
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1138
    Raised 1998-08-11 08:00
    Updated 2003-03-13 08:00
    Published 1998-08-12 08:00
    Product Standard Motif Toolkit
    Certification Program The Open Brand certification program
    Test Suite VSM version 4.1.0
    Test Identification funcs/cplcopy,clpstcp,clpcpnam 1
    Problem Summary TSD4M.00045 The problem is the test suite passes an incorrect type to the XmClipboardCopyByName function, the data_id is passed as int and it should be long. see the copy_by_name function in clpcopy.c, clpstcp.c ...
    Problem Text
    The problem is the test suite passes an incorrect type to the
    XmClipboardCopyByName function, the data_id is passed as int and it
    should be long. see the copy_by_name function in clpcopy.c, clpstcp.c
    and clpcpnam.c

    static void
    copy_by_name(widget, data_id, private_id, reason)
    Widget widget;
    int *data_id, *private_id, *reason;
    {
    int status;
    char buf[32];

    if (*reason == XmCR_CLIPBOARD_DATA_REQUEST) {
    status = XmClipboardCopyByName(dsp, win, *data_id, <=== should be long
    str1, strlen(str1), *private_id);
    }
    }

    This is an agreed test suite deficiency , see SR #112
    Test Output
    TEST CASE: XmClipboardCopy

    TEST PURPOSE #1
    A call to int XmClipboardCopy(Display *display, Window
    window, long item_id, char *format_name, XtPointer
    buffer, unsigned long length, long private_id, long
    *data_id) shall copy length bytes of data from the
    buffer specified by buffer into the clipboard and
    return ClipboardSuccess.
    ERROR: ****************************************************************
    ERROR: A Toolkit error occured:
    ERROR: incorrect data type
    ERROR: resource name = ClipboardBadDataType
    ERROR: resource type = xmClipboardError
    ERROR: resource class = XmToolkitError
    ERROR: ****************************************************************
    unexpected signal 11 (SIGSEGV) received
    1 FAIL

    TEST CASE: XmClipboardCopyByName

    TEST PURPOSE #1
    A call to int XmClipboardCopyByName(Display *display,
    Window window, long data_id, XtPointer buffer,
    unsigned long length, long private_id) shall copy
    length bytes of data from the data item specified by
    data_id to the clipboard and return ClipboardSuccess.
    ERROR: ****************************************************************
    ERROR: A Toolkit error occured:
    ERROR: incorrect data type
    ERROR: resource name = ClipboardBadDataType
    ERROR: resource type = xmClipboardError
    ERROR: resource class = XmToolkitError
    ERROR: ****************************************************************
    unexpected signal 11 (SIGSEGV) received
    1 FAIL

    TEST CASE: XmClipboardStartCopy

    TEST PURPOSE #1
    A call to int XmClipboardStartCopy(Display *display,
    Window window, XmString clip_label, Time timestamp,
    Widget widget, XmCutPasteProc callback, long *item_id)
    shall set up storage and data structures to receive
    clipboard data and return ClipboardSuccess.
    ERROR: ****************************************************************
    ERROR: A Toolkit error occured:
    ERROR: incorrect data type
    ERROR: resource name = ClipboardBadDataType
    ERROR: resource type = xmClipboardError
    ERROR: resource class = XmToolkitError
    ERROR: ****************************************************************
    unexpected signal 11 (SIGSEGV) received
    1 FAIL

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    A test suite deficiency is recommended.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion
    A Test Suite Deficiency is granted

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority