Valgrind : Leak Check / DRD : UTransportMockTest possible mem leak, and data race
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
Start by running bash lint/valgrind.sh build/Release/bin/UTransportMockTest and inspect the reported leak-check and DRD contexts. Trace those reports into UTransportMockTest and its related transport code; done means the Valgrind run no longer reports the possible leak or data race.
Written by the indexing model from the issue text.
Description
To reproduce locally:
bash lint/valgrind.sh build/Release/bin/UTransportMockTest
Tool: LEAK CHECK
------------------------
FAILURE DETECTED: ==156385== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
Tool: DRD
------------------------
FAILURE DETECTED: ==156681== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
==146334== LEAK SUMMARY:
==146334== definitely lost: 0 bytes in 0 blocks
==146334== indirectly lost: 0 bytes in 0 blocks
==146334== possibly lost: 868 bytes in 27 blocks
==146334== still reachable: 43,006 bytes in 548 blocks
==146334== suppressed: 0 bytes in 0 blocks
==146334==
==146334== For lists of detected and suppressed errors, rerun with: -s
==146334== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
- Dominant language
- C++
- Stars
- 29
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
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 eclipse-uprotocol/up-cpp
-
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
eclipse-uprotocol/up-cpp#327 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
eclipse-uprotocol/up-cpp#320 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
eclipse-uprotocol/up-cpp#319 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
eclipse-uprotocol/up-cpp#303 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
eclipse-uprotocol/up-cpp#302 ·
All issues in eclipse-uprotocol/up-cpp
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Qiskit/qiskit-aer#2466 ·
-
feature request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 2 days
-
status:needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
PX4/PX4-Autopilot#29006 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Segfault in pwStreamAddBuffer: createBuffer() returning nullptr is dereferenced (Screencopy.cpp:943)Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100