Merge lp://qastaging/~afrantzis/mir/fix-1335741-surface-destruction-after-teardown into lp://qastaging/mir
Status: | Rejected |
---|---|
Rejected by: | Alexandros Frantzis |
Proposed branch: | lp://qastaging/~afrantzis/mir/fix-1335741-surface-destruction-after-teardown |
Merge into: | lp://qastaging/mir |
Diff against target: |
50 lines (+9/-4) 1 file modified
tests/acceptance-tests/test_client_surface_events.cpp (+9/-4) |
To merge this branch: | bzr merge lp://qastaging/~afrantzis/mir/fix-1335741-surface-destruction-after-teardown |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Alan Griffiths | Needs Fixing | ||
Cemil Azizoglu (community) | Approve | ||
Review via email:
|
Commit message
tests: Don't keep surfaces alive and try to destroy them after the server has been torn down
The server is torn down during TearDown() but we keep a surface alive after that and try to destroy it when destroying the test fixture, leading to occasional crashes.
Description of the change
tests: Don't keep surfaces alive and try to destroy them after the server has been torn down
The server is torn down during TearDown() but we keep a surface alive after that and try to destroy it when destroying the test fixture, leading to occasional crashes.
It is debatable whether we should handle this case more gracefully in the server itself. For further investigation here is the address sanitizer backtrace of the problem:
Unmerged revisions
- 1732. By Alexandros Frantzis
-
tests: Don't keep surfaces alive and try to destroy them after the server has been torn down
Looks good (for now).