NodeStrategy init Hanging
Open
Nobody has claimed this yet.
more-information-needed
- Dominant language
- Python
- Stars
- 262
- Forks
- 228
- Avg merge
- 23h 15m
- Merged PRs (30d)
- 12
Description
Hangs within this method. Issue: #ros2/ros2/issues/1093
can recreate with command:
ros2 topic list (hangs with constant increase of memory allocation until manually killed)
and directly recreate with:
/root/wsdev/src/jtbot/src/topicList.py
lv = ListVerb()
v.main(args=None)
Environment:
ros-foxy-desktop/focal,now 0.9.2-1focal.20210226.004308 amd64 [installed]
Docker ubuntu 20.04
python3.8/focal-updates,focal-security,now 3.8.5-1~20.04.2 amd64 [installed,automatic]
Contributor guide
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.
Research direction
Start in ros2cli/ros2cli/node/strategy.py at line 25 and reproduce the hang with ros2 topic list. Compare that behavior with the direct ListVerb invocation shown in topicList.py, then trace the initialization path to identify why memory usage continually increases. Done means the command completes without hanging or unbounded memory growth.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100