Skip to content

Segfault when no network interfaces. <1.10.x> [8138] #1137

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

Merged
merged 1 commit into from
Apr 13, 2020

Conversation

adolfomarver
Copy link
Contributor

FastRTPS 1.10.0 crash by segfault when no network interfaces are detected in the machine.

@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Mac Build Status
  • Windows Build Status

@MiguelCompany MiguelCompany merged commit db40643 into 1.10.x Apr 13, 2020
@MiguelCompany MiguelCompany deleted the hotfix/segfault-when-no-net-interfaces branch April 13, 2020 09:12
MiguelCompany pushed a commit that referenced this pull request Apr 13, 2020
MiguelCompany added a commit that referenced this pull request Apr 13, 2020
* Make SHM default transport (#1109)

* Refs #8071. Make SHM default transport.

Signed-off-by: AdolfoMartinez <[email protected]>

* Refs #8071 has_shm_transport wasn't updated.

Co-Authored-By: Miguel Company <[email protected]>
Signed-off-by: AdolfoMartinez <[email protected]>

* Removed unnecessary shared pointer

Signed-off-by: AdolfoMartinez <[email protected]>

* Refs #8071. Disable LivelinessAssertion tests.

Signed-off-by: AdolfoMartinez <[email protected]>

* Refs #8071. Remove OverflowPolicy user config & set SHM default max_message_size = 65500.

Signed-off-by: AdolfoMartinez <[email protected]>

* Refs #8101. Fix SHM Port open_mode error.

Signed-off-by: AdolfoMartinez <[email protected]>

* Refs #8071. Separate get/set for max_message_size & segment_size.

Signed-off-by: AdolfoMartinez <[email protected]>

* Refs #8071. Built-in SHM segment_size depeding on participant attributes.

Signed-off-by: AdolfoMartinez <[email protected]>

* Refs #8071. No wait on SHM send when segment overflow.

Signed-off-by: AdolfoMartinez <[email protected]>

* Refs #8071. HelloWorldExampleSharedMem domain_id changed to 0.

Signed-off-by: AdolfoMartinez <[email protected]>

* Refs #8071. Suggestions.

Co-Authored-By: Miguel Company <[email protected]>

* Refs #8071. OverflowPolicy related code removed.

Signed-off-by: AdolfoMartinez <[email protected]>

* Refs #8071. Fixing XML parsing.

Signed-off-by: Miguel Company <[email protected]>

* Apply suggestions from code review

* Refs #8071. Fix clang warnings.

Signed-off-by: AdolfoMartinez <[email protected]>

* Refs #8071. Fix SHM.Test300KFragmentation test.

Signed-off-by: AdolfoMartinez <[email protected]>

Co-authored-by: Miguel Company <[email protected]>

* SHM fault tolerance (#1126)

* Refs #8101. SHM fault tolerance.

Signed-off-by: AdolfoMartinez <[email protected]>

* Refs #8101. Suggestions applied.

Signed-off-by: AdolfoMartinez <[email protected]>

* Refs #8101. Refactor & fix dead_listener_port_recover test.

Signed-off-by: AdolfoMartinez <[email protected]>

* Refs #8101. Fix warnings on Windows.

Signed-off-by: AdolfoMartinez <[email protected]>

* Refs #8101. Fix warnings on MAC.

Signed-off-by: AdolfoMartinez <[email protected]>

* Refs #8133. Disable SHM transport as built-in. (#1135)

Signed-off-by: AdolfoMartinez <[email protected]>

* Fixed segfault when no network interfaces. (#1137)

Signed-off-by: AdolfoMartinez <[email protected]>

* Ignore plength for PID_SENTINEL (#1138).

Signed-off-by: Miguel Company <[email protected]>

Co-authored-by: AdolfoMartinez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants