certi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [certi-dev] Federation startup crash


From: Michael Raab
Subject: Re: [certi-dev] Federation startup crash
Date: Mon, 8 Nov 2010 14:11:54 +0100

Hi all,

small update from my side:

Digging deeper into this, that problem may be related to the one that Christoph Roth reported last time.
The crashing federate receives a reflectAttributeValues() message which causes an ObjectNotKnown Exception.
Looking into the code, CERTI looks for the appropriate object handle and throws the exception if it cannot be found.
Could this be an ordering problem? For what I can see the appropriate DISCOVER_OBJECT message is received before RAV message, but it goes immediatly to some queue.
When RAV arrives, DO message is probably not processed. Therefore the object referenced by RAV is not known. Just a guess!!!
Eric, could that be the problem?

Best regards,
Michael



Dipl.-Inf. Michael Raab

Fraunhofer-Institut für Fabrikbetrieb und -automatisierung IFF
Virtuell Interaktives Training
Sandtorstr. 22, 39106 Magdeburg, Germany                
Telefon +49 (0) 391/ 40 90 122
Telefax +49 (0) 391/ 40 90 115
address@hidden
http://www.iff.fraunhofer.de oder http://www.vdtc.de



Von:        Michael Raab <address@hidden>
An:        CERTI development discussions <address@hidden>
Datum:        11/08/2010 01:28 PM
Betreff:        [certi-dev] Federation startup crash
Gesendet von:        address@hidden




Hi all,

I have again problems with CERTI. This time the start up of my federation crashes. For testing purposes I have only two federates.
The start up procedures look like this:


FED1:

RTIAmb: calling createFederationExecution

RTIAmb: calling joinFederationExecution.

RTIAmb: calling enableTimeConstrained.

FedAmb: 0.000000 timeConstrainedEnabled callback received.

RTIAmb: 0.000000 calling enableTimeRegulation.

FedAmb: 60.000000 timeRegulationEnabled callback received.

RTIAmb: calling queryFederateTime.

RTIAmb: calling queryLookahead.

RTIAmb: calling queryFederateTime.

RTIAmb: calling publishObjectClass.

RTIAmb: calling registerObjectInstance.

RTIAmb: 60.000000 calling updateAttributeValues.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling subscribeObjectClassAttributes.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.


FED2:

RTIAmb: calling createFederationExecution

RTIAmb: calling joinFederationExecution.

RTIAmb: calling enableTimeConstrained.

FedAmb: 0.000000 timeConstrainedEnabled callback received.

RTIAmb: 0.000000 calling enableTimeRegulation.

FedAmb: 60.000000 timeRegulationEnabled callback received.

RTIAmb: calling queryFederateTime.

RTIAmb: calling queryLookahead.

RTIAmb: calling queryFederateTime.

RTIAmb: calling publishObjectClass.

RTIAmb: calling registerObjectInstance.

RTIAmb: 60.000000 calling updateAttributeValues.

RTIAmb: calling subscribeInteractionClass.

RTIAmb: calling subscribeInteractionClass.

RTIAmb: calling subscribeInteractionClass.

RTIAmb: calling publishObjectClass.

RTIAmb: calling registerObjectInstance.

RTIAmb: 60.000000 calling updateAttributeValues.

RTIAmb: calling publishObjectClass.

RTIAmb: calling registerObjectInstance.

RTIAmb: 60.000000 calling updateAttributeValues.

RTIAmb: calling publishObjectClass.

RTIAmb: calling registerObjectInstance.

RTIAmb: 60.000000 calling updateAttributeValues.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: calling publishInteractionClass.

RTIAmb: 60.000000 calling updateAttributeValues.

RTIAmb: 60.000000 calling updateAttributeValues.


They get started both in sync, each federate waits for my reaction (with a MessageBox :-)) after line 7 (queryFederateTime), to be sure that none of them advances time before the other has joined and configured. This worked well with DMSO RTI for several years.

After I permit advancement for both, Federate 1 throws an exception during the process of publishment of one of its interaction classes. But not always for the same interaction class :-(. Apparently the errors occurs during getParamterHandle() function call. The Exception message is: libRTI: Network Read Error waiting RTI reply.

Has someone an idea what may cause this behaviour?


FYI:  I'm using 3.3.3cvs


Thanks & Best regards,

Michael




Dipl.-Inf. Michael Raab

Fraunhofer-Institut für Fabrikbetrieb und -automatisierung IFF
Virtuell Interaktives Training
Sandtorstr. 22, 39106 Magdeburg, Germany                
Telefon +49 (0) 391/ 40 90 122
Telefax +49 (0) 391/ 40 90 115
address@hidden

http://www.iff.fraunhofer.de oder http://www.vdtc.de--
CERTI-Devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/certi-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]