bugCERTI - Bugs: bug #22292, Reentrance management issue

 
 

bug #22292: Reentrance management issue

Submitted by:  r.cuisinier <rcuisinier>
Submitted on:  Tue 12 Feb 2008 09:43:35 AM UTC  
 
Category: CERTISeverity: 3 - Normal
Item Group: Software errorStatus: Ready For Test
Privacy: PublicAssigned to: Pierre Siron <siron>
Open/Closed: ClosedRelease: CVS
Reproducibility: Every TimeFixed Release: 3.2.6

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 14 Feb 2008 09:28:04 AM UTC, comment #2:

Here follows a copy from a private message
from Raphaël:

The RTI services which are called in a reentrant fashion
in our Federate are:

  1. inside receiveInteraction callback

* getInteractionClassName

  1. inside reflectattributevalues callback

* getObjectClass
* getObjectClassName
* getAttributeName

We cannot patch or avoid the reentrant problem on the federate side. The former RTI ambassador services are used to get
informations in order to realize automatic mapping
between:

  • an HLA object instance and its attribute

<==> a Delta3D framework actor with its properties.

  • an HLA interaction

<==> a framework message

If we want to make Delta3D work with CERTI we need
the reentrant feature (at least on the specified services).

Eric NOULARD <erk>
Project Administrator
Wed 13 Feb 2008 08:46:44 AM UTC, comment #1:

I agree,
It seems weird to forbid RTI re-entrance.

I add CC for Pierre and Martin
since I want to:

1) Have an idea if HLA 1.3 norm forbids reentrance or not
2) Why CERTI has been handling this like that
(there may be good reason I don't knowà

Eric NOULARD <erk>
Project Administrator
Tue 12 Feb 2008 09:43:35 AM UTC, original submission:

When calling a service like getObjectClass from a reflectAttributeValues, an exception is raised (concurrentAccess).
Typically the call tree, causing the error, is :
tick=>reflectAttributeValues=>getObjectClass.
In this case, the call is considered by CERTI as reentrant (local variable is_reentrant is set to true) and thus getObjectClass call is forbidden. This doesn't happen with other RTI and I think this is allowed by HLA.

r.cuisinier <rcuisinier>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by siron (Updated the item)
  • -unavailable- added by erk
  • -unavailable- added by erk (Posted a comment)
  • -unavailable- added by erk (Comments wanted)
  • -unavailable- added by erk (Comments wanted)
  • -unavailable- added by rcuisinier (Submitted the item)
  • -unavailable- added by rcuisinier
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 30 Apr 2008 11:44:15 AM UTCerkDependencies-=>bugs #23113 is dependent
    Sat 22 Mar 2008 03:48:52 PM UTCerkOpen/ClosedOpen=>Closed
      Fixed ReleaseUnknown=>3.2.6
    Mon 18 Feb 2008 01:39:56 PM UTCsironStatusIn Progress=>Ready For Test
    Thu 14 Feb 2008 09:28:04 AM UTCerkStatusNone=>In Progress
      Assigned toNone=>siron
      Carbon-Copy-=>Added patricecarle
    Wed 13 Feb 2008 08:46:44 AM UTCerkRelease3.2.6=>CVS
      Fixed Release3.2.6=>Unknown
      Carbon-Copy-=>Added siron
      Carbon-Copy-=>Added adele
    Tue 12 Feb 2008 09:43:35 AM UTCrcuisinierCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1