certi-devel
[Top][All Lists]
Advanced

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

[certi-dev] Re: CERTI-Devel Digest, Vol 28, Issue 5


From: Christian Stenzel
Subject: [certi-dev] Re: CERTI-Devel Digest, Vol 28, Issue 5
Date: Mon, 21 Apr 2008 17:32:40 +0200
User-agent: IceDove 1.5.0.14pre (X11/20080305)

Hi Petr,

More modifications might be necessary: the behaviour might depend
whether the values are transported as "reliable" or not. The unreliable
transport (UDP) will never transport more than slightly less than 65535,
so large values should be transported via TCP regardless reliable or
not. I'm not sure if this behaviour is implemented.
Thanks for the hint, but I use TCP sockets (reliable instead of best effort).

@Erk
Do you send this as a SINGLE value?
or do you send UAV with a 9 000 000 attribute
whose value is a single double value?
We send this as a single value. The computation of the matrix
takes a lot of time, so we would like to compute it in a seperate federate and
send the result to subscribing federates.

There are obviously more bytes than 270000 =>
300x300=90000[doubles]*8 = 720000[bytes].

Sry about my mistake.

I tried to set the values to an appropriate size but this ended also in
a segmentation violation.

A segmentation violation within rtig occurs directly after the startup
of a federate.

The federate log says:

>>HLALOG - 1208791271.143065 - Federate - /home/stenzel/certi/libRTI/RTIambassador.cc> exit RTIambassador::RTIambassador
>>Create Federation execution TwoLevelController.
>>Speicherzugriffsfehler -> segmentation violation
>>address@hidden:~$ HLALOG - 1208791271.145187 - - /home/stenzel/certi/RTIA/FederationManagement.cc> enter FederationManagement::FederationManagement >>HLALOG - 1208791271.145241 - - /home/stenzel/certi/RTIA/FederationManagement.cc> exit FederationManagement::FederationManagement
>>RTIA:: RTIA has thrown NetworkError exception.
>>RTIA:: Reason: Connection closed by client.
>>
>>RTIA: Statistics (processed messages)
>>List of federate initiated services
>>--------------------------------------------------
>>
>>List of RTI initiated services
>>--------------------------------------------------
>>
>> Number of Federate messages : 0
>> Number of RTIG messages : 0
>>HLALOG - 1208791271.146293 - - /home/stenzel/certi/RTIA/FederationManagement.cc> enter ~FederationManagement
RTIA: Federation destroyed
>>HLALOG - 1208791271.146322 - - /home/stenzel/certi/RTIA/FederationManagement.cc> exit ~FederationManagement >>HLALOG - 1208791271.146353 - - /home/stenzel/certi/RTIA/Communications.cc> enter Communications::~Communications

The NetworkError exception: Connection closed by client
is thrown when invoking the method SocketUN::receive in SocketUN.cc.
nReceived seems to be zero.

Moreover I firmly convinced that we should get rid of most
of the other constant.

Patches are welcomed :=)
[may be more welcomed after the heterogeneous merge-i
I will see what I can do here.

Thanks for your help
Chr









reply via email to

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