Merge lp:~alan-griffiths/mir/make-mir_demo_server-dlopen-mir into lp:mir
| Status: | Merged |
|---|---|
| Merged at revision: | 2836 |
| Proposed branch: | lp:~alan-griffiths/mir/make-mir_demo_server-dlopen-mir |
| Merge into: | lp:mir |
| Diff against target: |
51 lines (+3/-17) 2 files modified
examples/CMakeLists.txt (+2/-16) examples/mir_demo_server_loader.cpp (+1/-1) |
| To merge this branch: | bzr merge lp:~alan-griffiths/mir/make-mir_demo_server-dlopen-mir |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-08-12 | |
| Alberto Aguirre | Approve on 2015-08-12 | ||
| Daniel van Vugt | Abstain on 2015-08-12 | ||
| Kevin DuBois (community) | Approve on 2015-08-11 | ||
| Cemil Azizoglu (community) | Approve on 2015-08-11 | ||
| Chris Halse Rogers | 2015-08-10 | Approve on 2015-08-11 | |
|
Review via email:
|
|||
Commit Message
examples: remove mir_demo_
Description of the Change
examples: remove mir_demo_
| Alan Griffiths (alan-griffiths) wrote : | # |
[1439208523.452807] <WARNING> mircommon: Failed to load module: /usr/lib/
[1439208523.453326] mirplatform: Found graphics driver: dummy
[1439208523.454822] mirplatform: Found graphics driver: android
[1439208523.455402] mirplatform: Found graphics driver: mesa-kms
[1439208523.455951] mirserver: Selected driver: android (version 0.16.0)
/bin/bash: line 1: 12958 Segmentation fault (core dumped) mir_demo_server --test-client /usr/bin/
Odd.
We're running on a mako and failing to load a mesa-x11 driver because mir::events:
So, server-mesa-x11 links against mirprotobuf and that has a transitive link against mircommon, but neither links against mirclient where the above function resides.
| Cemil Azizoglu (cemil-azizoglu) wrote : | # |
> [1439208523.452807] <WARNING> mircommon: Failed to load module: /usr/lib/arm-
> linux-gnueabihf
> /arm-linux-
> symbol: _ZN3mir6events1
> 0000EEEE17MirKe
> [1439208523.453326] mirplatform: Found graphics driver: dummy
> [1439208523.454822] mirplatform: Found graphics driver: android
> [1439208523.455402] mirplatform: Found graphics driver: mesa-kms
> [1439208523.455951] mirserver: Selected driver: android (version 0.16.0)
> /bin/bash: line 1: 12958 Segmentation fault (core dumped) mir_demo_server
> --test-client /usr/bin/
>
> Odd.
>
> We're running on a mako and failing to load a mesa-x11 driver because
> mir::events:
> std::ratio<1ll, 1000000000ll> >, MirKeyboardAction, unsigned int, int,
> unsigned int) isn't defined.
>
> So, server-mesa-x11 links against mirprotobuf and that has a transitive link
> against mircommon, but neither links against mirclient where the above
> function resides.
Besides mesa-x11, mirserver uses the event builders. It makes more sense to me if event builders were part of mircommon, rather than mirclient, as a long(-ish) term goal.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2827
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Alberto Aguirre (albaguirre) wrote : | # |
> So, server-mesa-x11 links against mirprotobuf and that has a transitive link
> against mircommon, but neither links against mirclient where the above
> function resides.
mirprotobuf does not link against mircommon.
| Alan Griffiths (alan-griffiths) wrote : | # |
On Monday, 10 August 2015 21:29:49 BST, Alberto Aguirre wrote:
>> So, server-mesa-x11 links against mirprotobuf and that has a
>> transitive link
>> against mircommon, but neither links against mirclient where the above
>> function resides.
>
> mirprotobuf does not link against mircommon.
>
> http://
I meant mirplatform
--
Alan Griffiths. +44 (0)798 9938 758
Octopull Limited. http://
| Alberto Aguirre (albaguirre) wrote : | # |
Umm the segmantation fault is actually a crash in the GL driver....
http://
Seems related to TLS collisions between android GL driver and glibc as if I add a dummy thread local array (like in screencast.cpp) the issue goes away. This is becoming quite annoying... I wonder if we should request the android side of things to be built with the slower GL dispatch mode.
| Chris Halse Rogers (raof) wrote : | # |
Alternatively: could hybris actually claim the relevant TLS slots?
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2828
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2829
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2830
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Alberto Aguirre (albaguirre) wrote : | # |
^--That's for r2830
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:2832
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Daniel van Vugt (vanvugt) wrote : | # |
Doesn't make any sense to me but seems less crazy than the code it replaces. I'll top approve for everyone's votes anyway.
| Alberto Aguirre (albaguirre) wrote : | # |
Maybe libhybris doesn't support loading libGLESv2 with RTLD_NOW.
LGTM.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://

FAILED: Continuous integration, rev:2826 jenkins. qa.ubuntu. com/job/ mir-ci/ 4511/ jenkins. qa.ubuntu. com/job/ mir-android- vivid-i386- build/3461 s-jenkins. ubuntu- ci:8080/ job/mir- clang-ts- wily-amd64- build/321 jenkins. qa.ubuntu. com/job/ mir-clang- wily-amd64- build/993 jenkins. qa.ubuntu. com/job/ mir-mediumtests -vivid- touch/3409/ console jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 660 jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 660/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 3409 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 3409/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- mako/6196/ console s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 22419
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- ci/4511/ rebuild
http://