Mir test code (and possibly production code) leaks fds
Bug #1353961 reported by
Alexandros Frantzis
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Mir development team | ||
mir (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Steps to reproduce: valgrind --tool=none --track-fds=yes mir_(unit|
Expected result: No fds are leaked
Actual result: A lot of fds are leaked
As with memory errors it's important to reach a state where we don't leak any fds in our tests. This will helps us catch fd leak regressions in production code. When we reach the zero leak state we can enable --track-fds=yes in CI.
See, for example, https:/
Related branches
lp:~afrantzis/mir/fix-1353461-prompt-session-fd-leaks
- PS Jenkins bot (community): Approve (continuous-integration)
- Daniel van Vugt: Approve
- Alan Griffiths: Approve
-
Diff: 73 lines (+12/-7)2 files modifiedsrc/server/frontend/session_mediator.cpp (+2/-0)
tests/acceptance-tests/test_prompt_session_client_api.cpp (+10/-7)
tags: | added: testsfail |
Changed in mir: | |
status: | New → Triaged |
Changed in mir: | |
milestone: | none → 0.7.0 |
Changed in mir: | |
milestone: | 0.7.0 → 0.8.0 |
Changed in mir: | |
milestone: | 0.8.0 → 0.7.0 |
Changed in mir: | |
assignee: | nobody → Alexandros Frantzis (afrantzis) |
Changed in mir (Ubuntu): | |
importance: | Undecided → High |
status: | New → Fix Released |
To post a comment you must log in.
this was fixed in mir0.7 according to changelog