Merge lp:~vanvugt/mir/fix-1527449-Plugin into lp:mir
Status: | Rejected |
---|---|
Rejected by: | Alan Griffiths |
Proposed branch: | lp:~vanvugt/mir/fix-1527449-Plugin |
Merge into: | lp:mir |
Diff against target: |
645 lines (+333/-43) 13 files modified
include/common/mir/plugin.h (+48/-0) src/client/default_connection_configuration.cpp (+13/-21) src/client/mir_connection.cpp (+1/-0) src/client/mir_connection.h (+3/-0) src/client/probing_client_platform_factory.cpp (+44/-5) src/client/probing_client_platform_factory.h (+11/-2) src/common/sharedlibrary/CMakeLists.txt (+1/-0) src/common/sharedlibrary/plugin.cpp (+50/-0) src/common/symbols.map (+6/-0) src/include/client/mir/client_platform.h (+2/-1) src/platforms/mesa/client/client_platform_factory.cpp (+7/-3) tests/mir_test_framework/CMakeLists.txt (+1/-0) tests/unit-tests/client/test_probing_client_platform_factory.cpp (+146/-11) |
To merge this branch: | bzr merge lp:~vanvugt/mir/fix-1527449-Plugin |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Mir CI Bot | continuous-integration | Approve | |
Kevin DuBois (community) | Approve | ||
Review via email: mp+283168@code.launchpad.net |
Commit message
Avoid leaking client platform modules, and particularly ensure unused
modules are not kept resident while the client is running (LP: #1527449)
This also fixes crashing clients (LP: #1526658) due to Mesa's dlsym calls landing on the wrong symbol versions. However that fix only works for future Mir releases and not retrospectively because of the dlopen leak in client_
Description of the change
This is the Plugin version of the fix, which works reliably but is less popular.
Alternative:
https:/
Unmerged revisions
- 3264. By Daniel van Vugt
-
Merge latest trunk and fix a conflict.
- 3263. By Daniel van Vugt
-
Merge latest trunk
- 3262. By Daniel van Vugt
-
Remove redundant platform initialization added recently that was tripping
the destruction check. - 3261. By Daniel van Vugt
-
Continue reverting back to Plugin
- 3260. By Daniel van Vugt
-
Start reverting back to the Plugin approach
- 3259. By Daniel van Vugt
-
Merge latest trunk
PASSED: Continuous integration, rev:3262 /mir-jenkins. ubuntu. com/job/ mir-ci/ 85/ /mir-jenkins. ubuntu. com/job/ generic- update- mp/85/console
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild: /mir-jenkins. ubuntu. com/job/ mir-ci/ 85/rebuild
https:/