I've encountered several problems while implementing OpenSplice DDS in my JAVA APP.
Explainations : The idl file i'm using between my apps is joined to this post IDL
While implementing the message Man in my DDS Publisher App, just after the FooDataWriterImpl call for the static native method jniWrite ()
public native static int jniWrite ( long uWriter, long copyCache, Object instance_data, long handle, DDS.Time_t source_timestamp);
My application just crash and throw into the console : free(): invalid pointer and sometimes with intelliJ debugger enabled : malloc() :corrupted top size.
I suspect that my modules FirstPayload and SecondPayload have the same named struct inside and this is why my problem appears.
To resolve that, i've just put only one module with both struct inside but named differently.
It works. But i would like to know why, using the same struct name in different modules can cause this problem. And if it's really the problem i'm facing.