Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[help] Has anyone tried to call this library in C#? #5428

Closed
1 task done
BruceQiu1996 opened this issue Nov 27, 2024 · 1 comment
Closed
1 task done

[help] Has anyone tried to call this library in C#? #5428

BruceQiu1996 opened this issue Nov 27, 2024 · 1 comment
Labels
triage Issue pending classification

Comments

@BruceQiu1996
Copy link

Is there an already existing issue for this?

  • I have searched the existing issues

Expected behavior

Our company has done some host computer programs in C#, but we need to use fastdds to communicate with some other programs。So our C++ team encapsulates a DLL and exposes the publish and subscribe interfaces for us to call.

Current behavior

We have found that after using it for a long time or occasionally, the program crashes.I saw some memory errors in the Windows logs, probably because unsafe memory was accessed, as shown in the figure

Steps to reproduce

Just c# call c++ dll for fastdds

Fast DDS version/commit

2.12.1

Platform/Architecture

Windows 10 Visual Studio 2019

Transport layer

Default configuration, UDPv4 & SHM

Additional context

企业微信截图_17327038257120

XML configuration file

No response

Relevant log output

No response

Network traffic capture

No response

@BruceQiu1996 BruceQiu1996 added the triage Issue pending classification label Nov 27, 2024
@cferreiragonz
Copy link
Contributor

Hi @BruceQiu1996, thanks for using Fast DDS!

I am moving this issue to the corresponding discussion forum since Fast DDS 2.12 is no longer a maintained version and the issue might be related with the custom C# wrapper you are using.

If you are interested in a more detailed analysis you may also consider reaching out to commercials support for premium support options.

@eProsima eProsima locked and limited conversation to collaborators Nov 27, 2024
@cferreiragonz cferreiragonz converted this issue into discussion #5430 Nov 27, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
triage Issue pending classification
Projects
None yet
Development

No branches or pull requests

2 participants