Stress tests cause server to crash
Bug #1183327 reported by
Alexandros Frantzis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Alexandros Frantzis |
Bug Description
When running the stress tests from lp:~thomir/+junk/mir-stress/, the server crashes occasionally.
Related branches
lp://qastaging/~afrantzis/mir/fix-stress-test-crash-1183327
- Thomi Richards (community): Approve
- Kevin DuBois (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Alan Griffiths: Approve
-
Diff: 225 lines (+151/-3)6 files modifiedsrc/server/graphics/gbm/CMakeLists.txt (+1/-0)
src/server/graphics/gbm/drm_close_threadsafe.cpp (+33/-0)
src/server/graphics/gbm/drm_close_threadsafe.h (+35/-0)
src/server/graphics/gbm/gbm_display_helpers.cpp (+2/-1)
src/server/graphics/gbm/gbm_platform.cpp (+2/-2)
tests/unit-tests/graphics/gbm/test_gbm_platform.cpp (+78/-0)
Changed in mir: | |
milestone: | none → 0.0.4 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is caused by a race condition in drmClose(), which, unintuively, is not thread-safe. Working on a fix and tests.