Skip to content
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

CycloneDDS hangs on exit in Windows #85

Closed
hidmic opened this issue Dec 17, 2019 · 5 comments
Closed

CycloneDDS hangs on exit in Windows #85

hidmic opened this issue Dec 17, 2019 · 5 comments

Comments

@hidmic
Copy link
Contributor

hidmic commented Dec 17, 2019

Bug report

Required Info:

  • Operating System:
    • Windows Server 2019
  • Installation type:
    • From source
  • Version or commit hash:
  • DDS implementation:
    • CycloneDDS
  • Client library (if applicable):
    • rclpy

Steps to reproduce issue

  1. Spin up node, in one terminal:
RMW_IMPLEMENTATION=rmw_cyclonedds_cpp ros2 run demo_nodes_cpp talker
  1. Try to list topics bypassing the daemon:
RMW_IMPLEMENTATION=rmw_cyclonedds_cpp ros2 topic list --no-daemon

Expected behavior

Discovered topics (zero or more) are printed on screen and ros2 topic exits.

Actual behavior

ros2 topic hangs and does not react to Ctrl+C anymore

Additional information

CycloneDDS trace for the hung process can be found here.

It may or may not be related to ros2/build_farmer#248 and ros2/rclpy#470.

@eboasson
Copy link
Collaborator

@hidmic apologies for my extreme tardiness in responding ... some of the stuff that showed up shortly before Christmas slipped off the radar over the holidays, I'm afraid.

The trace you quote here is related to this: ros2/ros2#787 (comment). I think I'll change the default behaviour on Windows to run with the "Internal/MultipleReceiveThreads" set to false, that should eliminate that hang.

@dirk-thomas
Copy link
Member

@eboasson What is the status on this ticket?

@eboasson
Copy link
Collaborator

I believe the root cause is the same as the problem that was causing all the Windows CI problems (the multicast quirks). The nightlies are almost green now (it seems to be just the wide-string interop between connext and cyclone), so I expect that this problem also no longer exists. I am ok with closing it, if @hidmic (as the creator of the issue) is ok with that, too.

@hidmic
Copy link
Contributor Author

hidmic commented Mar 12, 2020

I'd have to give it a shot a Windows VM first. Thanks for the update @eboasson.

@hidmic
Copy link
Contributor Author

hidmic commented Mar 13, 2020

Alright, no more hangs on Windows as expected. Thanks @eboasson !

@hidmic hidmic closed this as completed Mar 13, 2020
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

No branches or pull requests

3 participants