Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Valgrind : Leak Check / DRD : UTransportMockTest possible mem leak, and data race

Open
#288 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
testing

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

quality

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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eclipse-uprotocol/up-cpp

All issues in eclipse-uprotocol/up-cpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.