Creating participant generates huge l... PreviousNext
Data Distribution Service (DDS) Forum > DDS Technical Forum >
Message/Author
Next message Jason Taylor  posted on Monday, October 18, 2010 - 09:25 pm
Hi All,

The following code generates a huge log file when creating a participant in windows, but it seems to work fine with linux:

#include "dds_dcps.h"
#include <iostream>

int main()
{
DDS_DomainParticipantFactory dpf(0);
DDS_DomainId_t domain("OpenSpliceV5.3.0OSS");
DDS_DomainParticipant dp(0);

dpf = DDS_DomainParticipantFactory_get_instance();
if (!dpf)
{
std::cout << "dpf not exists" << std::endl;
}

dp = DDS_DomainParticipantFactory_create_participant(dpf,
domain,
DDS_PARTICIPANT_QOS_DEFAULT,
0,
DDS_STATUS_MASK_ANY_V1_2);
if (!dp)
{
std::cout << "dp not exists" << std::endl;
}
while(true);
return 0;
}

Here is a brief sampling of the log file:
================================================================================ ========
Report : ERROR
Date : Mon Oct 18 16:05:43 2010
Description : os_condInit failed; os_result = 5.
Node : mp4053laptopjt
Process : C:\bugtrack\hri\trunk\tests\Switch\example\release\example.exe <4288>
Thread : 3132
Internals : V5.3.0OSS/c_condInit/c_sync.c/317/0/536903822
================================================================================ ========
Report : ERROR
Date : Mon Oct 18 16:05:43 2010
Description : os_condInit failed; os_result = 5.
Node : mp4053laptopjt
Process : C:\bugtrack\hri\trunk\tests\Switch\example\release\example.exe <4288>
Thread : 3132
Internals : V5.3.0OSS/c_condInit/c_sync.c/317/0/541704433
================================================================================ ========
Report : ERROR
Date : Mon Oct 18 16:05:43 2010
Description : os_condInit failed; os_result = 5.
Node : mp4053laptopjt
Process : C:\bugtrack\hri\trunk\tests\Switch\example\release\example.exe <4288>
Thread : 3132
Internals : V5.3.0OSS/c_condInit/c_sync.c/317/0/542128509
================================================================================ ========
Report : ERROR
Date : Mon Oct 18 16:05:43 2010
Description : os_condInit failed; os_result = 5.
Node : mp4053laptopjt
Process : C:\bugtrack\hri\trunk\tests\Switch\example\release\example.exe <4288>
Thread : 3132
Internals : V5.3.0OSS/c_condInit/c_sync.c/317/0/543051531
================================================================================ ========
Report : ERROR
Date : Mon Oct 18 16:05:43 2010
Description : c_mutex or c_cond operation failed.
Node : mp4053laptopjt
Process : C:\bugtrack\hri\trunk\tests\Switch\example\release\example.exe <4288>
Thread : 5296
Internals : V5.3.0OSS/c_sync/c_sync.c/28/0/542762668
================================================================================ ========

The log file continuously grows at a very quick pace (it will be over a gigabyte in less than a hour)

Does anyone know what would cause this?
Next message Jason Taylor  posted on Monday, October 18, 2010 - 09:27 pm
I should also mention that I am using OpenSplice DDS 5.3
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Post as "Anonymous"
Enable HTML code in message
Automatically activate URLs in message
Action: