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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2001 Actions


    Problem Report Number 2001
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0587
    Raised 1996-09-19 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Transport Service XTI
    Certification Program The Open Brand certification program
    Test Suite VST version 4.1.4
    Test Identification XTI.os/clts/rcvudata 3,4,5,6,7,8,9
    Problem Summary PGT4R.016 Above assertions would result in "Unresolved" because it set free for static allocated area by using t_free() in assertion #2. In assertion #2, it set static data area(optbuf,addrbuf) to opt.buf and a...
    Problem Text
    Above assertions would result in "Unresolved" because it set free
    for static allocated area by using t_free() in assertion #2.

    In assertion #2, it set static data area(optbuf,addrbuf) to
    opt.buf and addr.buf of structure t_unitdata.
    So, when it uses t_free() for structure t_unitdata, it will set
    free for static area, and those would be reallocatable.

    Subsequently, each process for creating structure t_unitdata after
    assertion #2 would be caught a SIGSEGV signal by controlling as
    reallocatable area.

    We think there will be a same problem in assetion #6.

    The behavier of t_free() is specified in the "XTI Library
    Functions and Parameters" section of the CAE Specification;
    it is as follows.

    "The function t_free() will check the addr, opt and
    udata fields of the given structure (as appropriate)
    and free the buffers pointed to by the buf field of
    the netbuf structure. If buf is a null pointer,
    t_free() will not attempt to free memory. After all
    buffers are freed, t_free() will free the memory
    associated with the structure pointed to by ptr."

    So we think it should set dynamic allocated area for t_alloc(),
    or should set NULL to opt.buf and addr.buf before calling t_free().
    Test Output
    *** TCM/API Message: system 1: tet_msync() failed, syncptno = 0, other system did not sync or timed out ***
    *** TCM/API Message: system 1: system = 0, state = NOT-SYNCED ***
    *** TCM/API Message: system 1: tet_sync() failed, syncptno = 67108609, request timed out after waittime of 125 seconds ***
    *** TCM/API Message: system 1: system = 0, state = NOT-SYNCED ***

    ************************************************************************
    /tset/XTI.os/clts/rcvudata/T.rcvudata 3 Unresolved

    Test Description:
    If the implementation supports a connectionless transport service,
    which supports the concept of a TSDU:
    When the number of bytes in the current TSDU is greater than
    unitdata->udata.maxlen, then a successful call to t_rcvudata( fd,
    unitdata, flags ) receives data into unitdata->udata.buf on the
    transport endpoint, sets T_MORE in flags, does not consume the
    T_DATA event associated with this data on the transport endpoint,
    returns the number of bytes received in unitdata->udata.len, and
    returns a value of (int)0. Subsequent calls to t_rcvudata()
    returns zero for the length of address and options until the full
    data unit has been received.

    Test Information:
    unexpected signal 11 (SIGSEGV) received

    Test Information From Slave:
    getsv_s() failed to read instructions from master
    Sync to FINAL_SPNO failed in v_provs_s()
    ************************************************************************

    ************************************************************************
    /tset/XTI.os/clts/rcvudata/T.rcvudata 4 Unresolved

    Test Description:
    If the implementation supports a connectionless transport service:
    When the specified file descriptor does not refer to a transport
    endpoint, then t_rcvudata() returns (int)-1 and sets t_errno to
    TBADF.

    Test Information:
    unexpected signal 11 (SIGSEGV) received
    ************************************************************************
    *** TCM/API Message: system 1: tet_msync() failed, syncptno = 0, request timed out after waittime of 100 seconds ***
    *** TCM/API Message: system 1: system = 0, state = NOT-SYNCED ***
    *** TCM/API Message: system 1: tet_sync() failed, syncptno = 100663041, request timed out after waittime of 125 seconds ***
    *** TCM/API Message: system 1: system = 0, state = NOT-SYNCED ***

    ************************************************************************
    /tset/XTI.os/clts/rcvudata/T.rcvudata 5 Unresolved

    Test Description:
    If the implementation supports a connectionless transport service:
    When O_NONBLOCK is set on the file descriptor, and there is no
    data currently available, then t_rcvudata() returns (int)-1, sets
    t_errno to TNODATA and the state of the transport endpoint remains
    unchanged.

    Test Information:
    unexpected signal 11 (SIGSEGV) received

    Test Information From Slave:
    getsv_s() failed to read instructions from master
    Sync to FINAL_SPNO failed in v_provs_s()
    ************************************************************************
    *** TCM/API Message: system 1: tet_msync() failed, syncptno = 0, other system did not sync or timed out ***
    *** TCM/API Message: system 1: system = 0, state = NOT-SYNCED ***
    *** TCM/API Message: system 1: tet_sync() failed, syncptno = 117440257, request timed out after waittime of 125 seconds ***
    *** TCM/API Message: system 1: system = 0, state = NOT-SYNCED ***

    ************************************************************************
    /tset/XTI.os/clts/rcvudata/T.rcvudata 6 Unresolved

    Test Description:
    If the implementation supports a connectionless transport service:
    When the number of bytes allocated for incoming address or
    incoming options (maxlen) is greater than 0 but not sufficient to
    store the information, then t_rcvudata() returns (int)-1, sets
    t_errno to TBUFOVFLW, and sets the state of the endpoint as if the
    call had been successful.

    Test Information:
    unexpected signal 11 (SIGSEGV) received

    Test Information From Slave:
    getsv_s() failed to read instructions from master
    Sync to FINAL_SPNO failed in v_provs_s()
    ************************************************************************
    *** TCM/API Message: system 1: tet_msync() failed, syncptno = 0, other system did not sync or timed out ***
    *** TCM/API Message: system 1: system = 0, state = NOT-SYNCED ***
    *** TCM/API Message: system 1: tet_sync() failed, syncptno = 134217473, request timed out after waittime of 125 seconds ***
    *** TCM/API Message: system 1: system = 0, state = NOT-SYNCED ***

    ************************************************************************
    /tset/XTI.os/clts/rcvudata/T.rcvudata 7 Unresolved

    Test Description:
    If the implementation supports a connection-oriented transport
    service:
    When the transport endpoint refers to a connection-oriented
    transport provider, then t_rcvudata() returns -1 and sets t_errno
    to TNOTSUPPORT and the state of the transport endpoint remains
    unchanged.

    Test Information:
    unexpected signal 11 (SIGSEGV) received

    Test Information From Slave:
    getsv_s() failed to read instructions from master
    Sync to FINAL_SPNO failed in v_provs_s()
    ************************************************************************
    *** TCM/API Message: system 1: tet_msync() failed, syncptno = 0, other system did not sync or timed out ***
    *** TCM/API Message: system 1: system = 0, state = NOT-SYNCED ***
    *** TCM/API Message: system 1: tet_sync() failed, syncptno = 150994689, request timed out after waittime of 125 seconds ***
    *** TCM/API Message: system 1: system = 0, state = NOT-SYNCED ***

    ************************************************************************
    /tset/XTI.os/clts/rcvudata/T.rcvudata 8 Unresolved

    Test Description:
    If the implementation supports a connectionless transport service:
    When the current state of the transport endpoint is not T_IDLE,
    then t_rcvudata() returns (int)-1, sets t_errno to TOUTSTATE and
    the state of the transport endpoint remains unchanged.

    Test Information:
    unexpected signal 11 (SIGSEGV) received

    Test Information From Slave:
    getsv_s() failed to read instructions from master
    Sync to FINAL_SPNO failed in v_provs_s()
    ************************************************************************
    *** TCM/API Message: system 1: tet_msync() failed, syncptno = 0, request timed out after waittime of 100 seconds ***
    *** TCM/API Message: system 1: system = 0, state = NOT-SYNCED ***
    *** TCM/API Message: system 1: tet_sync() failed, syncptno = 167771905, request timed out after waittime of 125 seconds ***
    *** TCM/API Message: system 1: system = 0, state = NOT-SYNCED ***

    ************************************************************************
    /tset/XTI.os/clts/rcvudata/T.rcvudata 9 Unresolved

    Test Description:
    If the implementation supports a connection-oriented transport
    service:
    When a signal is received during execution of the function, then
    t_rcvudata() returns (int)-1, sets errno to EINTR, and t_errno to
    TSYSERR, and the state of the transport endpoint remains
    unchanged.

    Test Information:
    unexpected signal 11 (SIGSEGV) received

    Test Information From Slave:
    getsv_s() failed to read instructions from master
    Sync to FINAL_SPNO failed in v_provs_s()
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is agreed to be a test suite fault and it is recommended that a
    patch is issued rather than granting a TSD which would cover seven out
    of the nine tests for t_rcvudata().

    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