On Wily/mesa-kms starting a server with a "test client" crashes the server
Bug #1489806 reported by
Alan Griffiths
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Alexandros Frantzis | ||
mir (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
$ sudo bin/mir_demo_server --display-config sidebyside --test-client bin/mir_
Expect: the server to start (and the client to connect then exit immediately)
Actual: server crashes
ERROR: /home/alan/
Dynamic exception type: boost::
std::exception:
Note this may be related to lp:1489689 which notes similar symptoms starting at the same time.
I see the problem with both trunk and 0.14 (not with mesa-x11, not with vivid)
Related branches
lp://staging/~afrantzis/mir/fix-1489806-test-client
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Kevin DuBois (community): Approve
- Andreas Pokorny (community): Approve
-
Diff: 15 lines (+3/-2)1 file modifiedexamples/server_example_test_client.cpp (+3/-2)
lp://staging/mir
- PS Jenkins bot (community): Approve (continuous-integration)
- Alan Griffiths: Approve
- Kevin DuBois (community): Approve
-
Diff: 1373 lines (+579/-161)23 files modified3rd_party/android-input/android/frameworks/base/services/input/MirLog.cpp (+157/-5)
include/test/mir_test_framework/display_server_test_fixture.h (+2/-0)
include/test/mir_test_framework/stub_client_connection_configuration.h (+35/-0)
include/test/mir_test_framework/testing_client_configuration.h (+43/-0)
include/test/mir_test_framework/testing_process_manager.h (+7/-8)
src/client/mir_client_library.cpp (+39/-17)
src/server/graphics/android/hwc_common_device.cpp (+15/-13)
src/server/options/program_option.cpp (+2/-1)
tests/acceptance-tests/test_client_authorization.cpp (+7/-0)
tests/acceptance-tests/test_client_focus_notification.cpp (+2/-9)
tests/acceptance-tests/test_client_input.cpp (+8/-15)
tests/acceptance-tests/test_client_library.cpp (+30/-17)
tests/acceptance-tests/test_focus_selection.cpp (+2/-9)
tests/acceptance-tests/test_server_shutdown.cpp (+2/-9)
tests/acceptance-tests/test_shell_control_of_surface_configuration.cpp (+2/-9)
tests/acceptance-tests/test_surfaceloop.cpp (+3/-10)
tests/acceptance-tests/test_surfaces_with_output_id.cpp (+2/-9)
tests/mir_test_framework/CMakeLists.txt (+1/-0)
tests/mir_test_framework/display_server_test_fixture.cpp (+9/-6)
tests/mir_test_framework/testing_client_options.cpp (+126/-0)
tests/mir_test_framework/testing_process_manager.cpp (+41/-1)
tests/unit-tests/graphics/android/test_hwc_device.cpp (+25/-1)
tests/unit-tests/logging/test_legacy_input_report.cpp (+19/-22)
Changed in mir: | |
status: | New → Confirmed |
Changed in mir: | |
assignee: | nobody → Alexandros Frantzis (afrantzis) |
status: | Confirmed → In Progress |
Changed in mir: | |
importance: | Undecided → Medium |
Changed in mir: | |
milestone: | none → 0.16.0 |
Changed in mir: | |
status: | In Progress → Fix Committed |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
More information:
--- src/platforms/ mesa/server/ kms/kms_ page_flipper. cpp 2015-07-23 02:39:20 +0000 mesa/server/ kms/kms_ page_flipper. cpp 2015-08-28 10:42:02 +0000
&pending_ page_flips[ crtc_id] );
+++ src/platforms/
@@ -65,7 +65,10 @@
if (ret)
pending_ page_flips. erase(crtc_ id);
+ {
+ printf("DEBUG cannot flip CRTC for connector %u (%d): %m\n", crtc_id, errno);
+ }
return (ret == 0);
}
~~~~
DEBUG cannot flip CRTC for connector 24 (13): Permission denied display_ server/ mir1/src/ common/ fatal/fatal. cpp(55) : Throw in function void mir::fatal_ error_except( const char*, ...) exception_ detail: :clone_ impl<boost: :exception_ detail: :error_ info_injector< std::runtime_ error> > :what: Failed to schedule page flip
DEBUG: Dying, outputs=1
DEBUG cannot flip CRTC for connector 20 (13): Permission denied
DEBUG: Dying, outputs=1
ERROR: /home/alan/
Dynamic exception type: boost::
std::exception: