Merge lp:~alan-griffiths/mir/fix-fd-leak-thomi-reported into lp:~mir-team/mir/trunk
Status: | Merged |
---|---|
Approved by: | Alexandros Frantzis |
Approved revision: | no longer in the source branch. |
Merged at revision: | 727 |
Proposed branch: | lp:~alan-griffiths/mir/fix-fd-leak-thomi-reported |
Merge into: | lp:~mir-team/mir/trunk |
Diff against target: |
21 lines (+5/-0) 1 file modified
src/client/mir_surface.cpp (+5/-0) |
To merge this branch: | bzr merge lp:~alan-griffiths/mir/fix-fd-leak-thomi-reported |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexandros Frantzis (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+168012@code.launchpad.net |
Commit message
client: close surface fds when finished with surface
Description of the change
client: close surface fds when finished with surface
"The mir_stress binary is now built as part of the regular trunk build process. However, the client API seems to be leaking FDs again.
"My plan is to make the stress tests run as part of every merge proposal, which will make regressions such as this impossible to land in the future. However, there's a bit of infrastructure we need to wrangle until that can happen, and I'm on holiday for the next few weeks.
"It would be great if someone familiar with the client API could run the mir-stress tests (run "mir_stress -n 10"), fix the FD leak, and possibly keep an eye on the situation until we manage to get this automated." - thomi
A better command is:
valgrind --track-fds=yes bin/mir_stress -n 10
PASSED: Continuous integration, rev:726 jenkins. qa.ubuntu. com/job/ mir-ci/ 688/ jenkins. qa.ubuntu. com/job/ mir-android- raring- i386-build/ 848 jenkins. qa.ubuntu. com/job/ mir-clang- raring- amd64-build/ 730 jenkins. qa.ubuntu. com/job/ mir-raring- amd64-ci/ 173 jenkins. qa.ubuntu. com/job/ mir-raring- amd64-ci/ 173/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ mir-ci/ 688/rebuild
http://