RMW API calls hang in service request callback
@asorbini is already working on this.
Since Jun 22, 2023.
Assessment
This issue has not been assessed yet.
Description
System Info
- OS
- Ubuntu 22.04
- ROS version and installation type
- rolling/source
- RTI Connext DDS version and installation type
- Pro 6.0.1/apt
- RMW version or commit hash
- rolling
Bug Description
When a service callback is registered with rcl_service_set_on_new_request_callback, if rmw_take is called within that callback, a deadlock occurs and the program hangs.
Expected Behavior
Either the API allows this behavior and it works, or it is explicitly disallowed and returns an error code.
How to Reproduce
Run the test in https://github.com/ros2/rcl/pull/1081
Workarounds
https://github.com/ros2/rmw_connextdds/pull/123 fixes the problem from what I can tell, but I'm not 100% sure it's a good idea
- Dominant language
- C++
- Stars
- 68
- Forks
- 42
- Avg merge
- 9d 15h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ros2/rmw_connextdds
-
🧑🌾 `ros2topic.pytest.missing_result` hangs in `test_cli[rmw_connextdds]` on aarch64 with `DISCParticipant` deserialize errorsPossibly taken @oliviadorenczrti claimed this 9 days ago. Open
ros2/rmw_connextdds#269 · 2 assignees ·
-
🧑🌾 `test_messages_c__rmw_connextdds` randomly hangs on Windows (missing_result)Possibly taken @fgallegosalido claimed this 17 days ago. Open
ros2/rmw_connextdds#268 · 1 assignee ·
-
Intermittent transform lookup failure after time reset in Connext nightly buildsPossibly taken @fgallegosalido claimed this 23 days ago. Open
ros2/rmw_connextdds#266 · 1 assignee ·
-
:farmer: Intermittent Windows failures in type description service and parameter events tests with Connext DDSMay be free again @fgallegosalido claimed this 36 days ago, and no pull request is open. Open
ros2/rmw_connextdds#263 · 1 comment · 1 assignee ·
-
`ros2 param list` does not workMay be free again @fgallegosalido claimed this 563 days ago, and no pull request is open. Openbug
ros2/rmw_connextdds#191 · 5 comments · 2 assignees ·
All issues in ros2/rmw_connextdds
Similar issues
-
arch-based bug niri
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
noctalia-dev/noctalia#5552 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
EchoTools/nevr-runtime#2912 ·
Maintainers usually reply within 1 day
-
area/docdb kind/failing-test priority/medium status/awaiting-triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
yugabyte/yugabyte-db#39462 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
meshtastic/firmware#12519 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day