Merge lp:~alan-griffiths/mir/fix-1376324 into lp:mir
Proposed by
Alan Griffiths
Status: | Merged |
---|---|
Approved by: | Alberto Aguirre |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1965 |
Proposed branch: | lp:~alan-griffiths/mir/fix-1376324 |
Merge into: | lp:mir |
Diff against target: |
278 lines (+148/-0) 13 files modified
src/include/server/mir/compositor/buffer_stream.h (+1/-0) src/server/compositor/buffer_bundle.h (+1/-0) src/server/compositor/buffer_queue.cpp (+6/-0) src/server/compositor/buffer_queue.h (+1/-0) src/server/compositor/buffer_stream_surfaces.cpp (+5/-0) src/server/compositor/buffer_stream_surfaces.h (+1/-0) src/server/scene/basic_surface.cpp (+3/-0) tests/include/mir_test_doubles/mock_buffer_bundle.h (+1/-0) tests/include/mir_test_doubles/mock_buffer_stream.h (+1/-0) tests/include/mir_test_doubles/stub_buffer_stream.h (+1/-0) tests/integration-tests/CMakeLists.txt (+1/-0) tests/integration-tests/surface_composition.cpp (+125/-0) tests/integration-tests/test_exchange_buffer.cpp (+1/-0) |
To merge this branch: | bzr merge lp:~alan-griffiths/mir/fix-1376324 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andreas Pokorny (community) | Approve | ||
Daniel van Vugt | Needs Information | ||
Alexandros Frantzis (community) | Approve | ||
Alberto Aguirre (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+236862@code.launchpad.net |
Commit message
scene, compositor: ensure a buffer requested by a surface is not delivered after the surface is deleted.
Description of the change
scene, compositor: ensure a buffer requested by a surface is not delivered after the surface is deleted.
I can find nothing in the Mir code that prevents a surface being rendered while the same surface is being deleted. If a pending buffer request from the client is honored after the deletion then we would have a stack trace like lp:1376324
To post a comment you must log in.
FAILED: Continuous integration, rev:1957 jenkins. qa.ubuntu. com/job/ mir-ci/ 1726/ jenkins. qa.ubuntu. com/job/ mir-android- utopic- i386-build/ 2003 jenkins. qa.ubuntu. com/job/ mir-clang- utopic- amd64-build/ 2010/console jenkins. qa.ubuntu. com/job/ mir-mediumtests -utopic- touch/1948/ console jenkins. qa.ubuntu. com/job/ mir-utopic- amd64-ci/ 64/console jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- utopic- armhf/885/ console
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- ci/1726/ rebuild
http://