|
From: Hubert T. <Hub...@cr...> - 2014-09-26 15:08:58
|
Hi,
My application works now.
Now, putting 'use_multicast=1", my application works well and after restarting a crashed publisher/subscriber, reconnection is done too.
After investigating the problem, I finally found that OpenDDS version (3.5.1) was not the issue.
In fact, I don't know yet what was wrong but after rebuilding all the modules, everything worked fine.
Maybe some kind of library mixing (at build time or at run time) was the problem...
Sorry for the inconvenience and thanks to all who work on OpenDDS.
Hubert
De : Hubert Talbot [mailto:Hub...@cr...]
Envoyé : 25 septembre 2014 16:15
À : ope...@li...
Objet : [opendds-main] (no subject)
Hi,
Problem report form follows...
With OpenDDS-3.5.0, it was possible to use 'use_multicast' option set to 1 in a way that a crashed publisher/subscriber was able to reconnect with other publishers/subscribers when restarted.
It seems that something has changed in OpenDDS-3.5.1 with 'use_multicast' option (please, see report form).
What can I do to have the same behaviour of 3.5.0 of 'use_multicast=1' option ?
Thanks
Hubert
REPORT FORM:
OpenDDS VERSION: 3.5.1
TAO VERSION: 2.2.7
HOST MACHINE and OPERATING SYSTEM: Win7 64
TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
COMPILER NAME AND VERSION (AND PATCHLEVEL):
CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a platform-
specific file, simply state which one]:
#define ACE_HAS_ICMP_SUPPORT 1
#define __ACE_INLINE__ 1
#include "ace/config-win32.h"
CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU (unless
this isn't used in this case, e.g., with Microsoft Visual C++):
CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles):
LEVEL OF URGENCY (LOW, MEDIUM, or HIGH): HIGH
AREA/CLASS/EXAMPLE AFFECTED:
[What example failed? What module failed to compile?]
DOES THE PROBLEM AFFECT:
COMPILATION?
If so, what do your $ACE_ROOT/ace/config.h and
$ACE_ROOT/include/makeinclude/platform_macros.GNU contain?
LINKING?
On Unix systems, did you run make realclean first?
EXECUTION?
OTHER (please specify)?
[Please indicate whether DDS, your application, or both are affected.]
SYNOPSIS:
'use_multicast=1' produces a different behaviour from version 3.5.0
to version 3.5.1 on my application.
DESCRIPTION:
Here is my rtps.ini file:
[common]
DCPSGlobalTransportConfig=$file
DCPSDebugLevel=0
[domain/11]
DiscoveryConfig=fast_rtps
[rtps_discovery/fast_rtps]
SedpMulticast=1
ResendPeriod=2
[transport/the_rtps_transport]
transport_type=rtps_udp
use_multicast=1
My application (multiple subscribers/publishers) has run well with
OpenDDS-3.5.0. Now, with OpenDDS-3.5.1, my subscribers receive a bunch
of topics every four seconds instead of receving each topic one at a
time.
When I set 'use_multicast' to 0, my application runs well.
However, when a subscriber/publisher crashes and when 'use_multicast=0',
reconnection is not done when restarting the crashed
publisher/subscriber, what was possible with 'use_multicast=1'
(OpenDDS-3.5.0).
REPEAT BY:
[What you did to get the error; include test program or session
transcript if at all possible. ]
SAMPLE FIX/WORKAROUND:
[If available ]
|