Strange Error in UDP_InterfaceFactoryProperty_finalize

3 posts / 0 new
Last post
Offline
Last seen: 6 years 6 months ago
Joined: 08/28/2013
Posts: 66
Strange Error in UDP_InterfaceFactoryProperty_finalize
AttachmentSize
Image icon freeerror.jpg131.18 KB

Hi,

I have an issue when "cleaning" all DDS entities. It is not happening every time, but i have a failure in freeing this structure

Sometimes it is happening in if (!REDA_StringSeq_finalize(&p->deny_interface)) sometimes in  if (!UDP_NatEntrySeq_finalize(&p->nat))

What is strange is that the pointer to the memory is valid.

Here an example (attached image).

Moreover, i can see in rti me 2.2.3

#ifndef RTI_CERT

free(buffer);

#endif

What is this define RTI_CERT ?

Regards

Rodolf




.

rip
rip's picture
Offline
Last seen: 15 hours 9 min ago
Joined: 04/06/2012
Posts: 322

Hi Rodolf,

I'll answer the RTI_CERT question, and leave the error issue to the Micro team.

RTI_CERT is the DO-178C Level A certifiable version of Micro ("Micro Cert".  Level A cert is the most stringent, and is the level required by systems where the loss of a subsystem will result in the loss of the aircraft/loss of life.  Certification entails 3d party inspection of every line of code). 

The Cert version is for use by customers who plan on using Micro in a flight avionics or other Safety Critical certified environment.  The Cert evidence is available for purchase, and will be available at the end of the year.

Offline
Last seen: 6 years 6 months ago
Joined: 08/28/2013
Posts: 66

Thanks for the explanation. In my case, micro rti will be used in a critical environment, so i will inform about this "new release".

Concerning my free error, i see that the value just before clean are not correct (see new attachment).
In fact, it seems that the structure is partially cleaned somewhere else.
Moreover, the pointers have changed of value between init and finalize.
Searching in code, i do not find where this can happen.

Does RTI members have a clue what could happen ?

Regards,

Rodolf

File Attachments: