bugCERTI - Bugs: bug #23873, Crash On Update Attribute Values

 
 

bug #23873: Crash On Update Attribute Values

Submitter:  Carle <patricecarle>
Submitted:  Thu 17 Jul 2008 03:34:22 PM UTC
   
 
Category:  CERTI Severity:  * 3 - Normal
Item Group:  Software error Status:  Ready For Test
Privacy:  Public Assigned to:  gotthardp
Open/Closed:  Closed Release:  * CVS
Reproducibility:  Every Time Fixed Release:  * 3.3.1
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 19 Sep 2008 01:24:17 PM UTC, comment #2: 

Will be in 3.3.1

Eric NOULARD <erk>
Group administrator
Thu 18 Sep 2008 02:42:33 PM UTC, comment #1: 

Fixed.

Petr Gotthard <gotthardp>
Group Member
Thu 17 Jul 2008 03:34:22 PM UTC, original submission:  


I try the new version 3.3.0 (Head CVS for correct interaction bug)
with genesis tests
Th first test, for common usage (interaction, resgister/update/destroy object) crrash on updateAttributesValues
2 federates are used in the test one sender one recever
The sender create one object, the receicver discover it and the sender try to update attributes on the object, the sender crash and also the rtig.
he crash in:
EventRetractionHandle
RTI::RTIambassador::
updateAttributeValues(ObjectHandle theObject,
                      const AttributeHandleValuePairSet& theAttributes,
                      const FedTime& theTime,
                      const char *theTag)
    throw (ObjectNotKnown,
           AttributeNotDefined,
           AttributeNotOwned,
           InvalidFederationTime,
           FederateNotExecutionMember,
           ConcurrentAccessAttempted,
           SaveInProgress,
           RestoreInProgress,
           RTIinternalError)
{
    G.Out(pdGendoc,"enter RTIambassador::updateAttributeValues with time");
    Message req, rep ;

    req.type = Message::UPDATE_ATTRIBUTE_VALUES ;
    req.setObject(theObject);
    req.setFedTime(theTime);
    if ( theTag == NULL)
       {
       throw RTIinternalError ("Calling updateAttributeValues with Tag NULL");
       }
    req.setTag(theTag);
    req.setAHVPS(theAttributes);
    req.setBoolean(true);

 crash  here --->  privateRefs->executeService(&req, &rep);

Whith the 3.2.8 version the same federate code was ok.


Carle <patricecarle>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gotthardp (Posted a comment)
  • -email is unavailable- added by erk (Updated the item)
  • -email is unavailable- added by patricecarle (Submitted the item)
  •  

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-09-21 erk Open/ClosedOpen Closed
    2008-09-19 erk Assigned tobussenotjl gotthardp
        Fixed ReleaseUnknown 3.3.1
    2008-09-18 gotthardp StatusIn Progress Ready For Test
    2008-09-03 erk StatusNone In Progress
        Assigned toNone bussenotjl

    Back to the top

    Powered by Savane 3.13-54b4.
    Corresponding source code