[regression] mir_proving_server crashes with std::exception::what: add_options() must be called before the_options()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Daniel van Vugt | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[regression] mir_proving_server (from lp:mir) crashes with:
$ sudo bin/mir_
MIR_CLIENT_
MIR_SERVER_
LD_LIBRARY_
exec=bin/
[2016-11-17 16:33:52.015996] <DEBUG> eglstream: EGLStream platform is unsupported: Missing required extensions: EGL_EXT_
[2016-11-17 16:33:52.016058] mirplatform: Found graphics driver: mir:eglstream-kms (version 0.25.0)
[2016-11-17 16:33:52.016648] mirplatform: Found graphics driver: mir:mesa-kms (version 0.25.0)
[2016-11-17 16:33:52.016689] mirplatform: Found graphics driver: mir:mesa-x11 (version 0.25.0)
[2016-11-17 16:33:52.016838] mirplatform: Found graphics driver: mir:android (version 0.25.0)
[2016-11-17 16:33:52.016965] mirplatform: Found graphics driver: mir:stub-graphics (version 0.25.0)
[2016-11-17 16:33:52.016979] mirplatform: Found graphics driver: throw-on-creation (version 0.25.0)
ERROR: /home/dan/
Dynamic exception type: boost::
std::exception:
Related branches
- Chris Halse Rogers: Approve
- Mir CI Bot: Approve (continuous-integration)
-
Diff: 33 lines (+15/-6)1 file modifiedplayground/server_configuration.cpp (+15/-6)
Changed in mir: | |
status: | Fix Committed → Fix Released |
Bisected. The problem started with:
------- ------- ------- ------- ------- ------- ------- ------- ---- overridable Reports with Observers.
revno: 3823 [merge]
author: Christopher James Halse Rogers <email address hidden>
committer: Tarmac
branch nick: development-branch
timestamp: Tue 2016-11-15 23:48:01 +0000
message:
Replace the mir::Server-
This resolves two problems:
1) It ensures that Mir will respect the various reporting options we provide, even when the shell wants to hook into some of the reports, and
2) It matches the semantic expectations around Reports vs Observers that (most of) the Mir team have. A couple of report call-sites which are unsafe for Observers are fixed in this branch.
Approved by mir-ci-bot, Kevin DuBois, Andreas Pokorny, Cemil Azizoglu. ------- ------- ------- ------- ------- ------- ------- ----
-------