Installed binaries fail to run with mir_demo_server --test-client XXXX
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Low
|
Alan Griffiths | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Running with the installed, or a locally built mir server the installed clients fail, and the locally built ones work. (This happens with all 22 clients, but I illustrate with mir_demo_
(I have xenial/
$ mir_demo_server --test-timeout 3 --test-client mir_demo_
...
[2016-03-11 15:36:27.783743] <CRITICAL> server_
...
~~~~
$ bin/mir_demo_server --test-timeout 3 --test-client mir_demo_
...
[2016-03-11 15:37:38.893891] <CRITICAL> server_
~~~~
$ mir_demo_server --test-timeout 3 --test-client bin/mir_
...
Connected
Surface created
Surface released
Connection released
[2016-03-11 15:38:31.039003] mirserver: Stopping
Segmentation fault (core dumped)
~~~~
$ bin/mir_demo_server --test-timeout 3 --test-client bin/mir_
...
Connected
Surface created
Surface released
Connection released
[2016-03-11 15:39:43.230826] mirserver: Stopping
Related branches
- Mir CI Bot: Approve (continuous-integration)
- Daniel van Vugt: Approve
-
Diff: 23 lines (+4/-2)1 file modifiedexamples/server_example_test_client.cpp (+4/-2)
Changed in mir: | |
milestone: | none → 0.21.0 |
assignee: | nobody → Alan Griffiths (alan-griffiths) |
status: | New → In Progress |
Changed in mir: | |
importance: | Undecided → Low |
Changed in mir: | |
status: | Fix Committed → Fix Released |
its because we use execl() - which doesn't search $PATH.
Workaround:
$ mir_demo_server --test-timeout 3 --test-client `which mir_demo_ client_ basic`
Connected
Surface created
Surface released
Connection released
[2016-03-11 16:44:28.415495] mirserver: Stopping
Segmentation fault (core dumped)
Next stop: a fix; and then, look to see what we did since 0.20.1 to fix the segfault. =8-)