"shared-state-async discover" hangs
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
The issue points to src/async_command.cc, especially closeAFD at lines 265–279; begin by tracing what happens after shared-state-async-discover is called. Reproduce the hang on Debian across the listed build types and compare behavior with the debug printout workaround. Done means identifying and fixing the cause so shared-state-async discover completes and produces output.
Written by the indexing model from the issue text.
Description
Building and running shared-state-async on Debian results in a binary that hangs on shared-state-async discover and produces no output. The external script shared-state-async-discover does get called, so the hangup comes after that.
A workaround is to put a debug printout such as this anywhere in the body of the function closeAFD:
RS_DBG("Debug printout as a workaround");
This suggests to me that it is a memory management bug, and that the extra printout happens to change the memory layout in such a way that the bug no longer shows itself.
The problem appears in Debug, Coverage as well as Release builds, and the workaround works in all three cases.
- Dominant language
- Lua
- Stars
- 338
- Forks
- 113
- Avg merge
- 8d 3h
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from libremesh/lime-packages
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
libremesh/lime-packages#1302 ·
-
drop dependencies of lime-debug and shared-state on iputils-pingPossibly taken @jay23606 claimed this 7 days ago. Openeasy to solve good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
libremesh/lime-packages#1279 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
libremesh/lime-packages#1304 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
libremesh/lime-packages#1303 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 49/100
libremesh/lime-packages#1295 · 1 comment ·
All issues in libremesh/lime-packages
Similar issues
-
severity: low
Difficulty 1/5 Under an hour Newbie friendliness 72/100
luainkernel/lunatik#2727 ·
Maintainers usually reply within 1 day
-
[Fix Package]: gladPossibly taken @luadebug claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
xmake-io/xmake-repo#11342 ·
Maintainers usually reply within 1 day
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
MalloyTheDev/aseprite-mcp#279 ·
Maintainers usually reply within 1 day
-
Scan progress and ETC undercount retransmissions since 7.99x (stuck at 99.99% with --max-retries 0)Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
zigbeefordomoticz/wiki#391 ·
Maintainers usually reply within 1 day