mir_demo_client_eglsquare soon freezes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Mir |
Fix Released
|
Medium
|
Alan Griffiths |
Bug Description
$ mir_demo_server --launch mir_demo_
Move the cursor over the client:
expected: the square follows the cursor
actual .: the square follows briefly then freezes
This happened since the 0.26 series, but seems to predate updating the clients to use the RS APIs.
Related branches
- Daniel van Vugt: Approve on 2017-06-06
- Mir CI Bot: Approve (continuous-integration) on 2017-06-05
-
Diff: 103 lines (+52/-6)2 files modifiedexamples/CMakeLists.txt (+4/-0)
examples/eglsquare.cpp (+48/-6)
Changed in mir: | |
milestone: | none → 0.27.0 |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Alan Griffiths (alan-griffiths) |
Alan Griffiths (alan-griffiths) wrote : | #1 |
Alan Griffiths (alan-griffiths) wrote : | #2 |
Hmm, I see the problem with -r 4075 while earlier versions fail to build: Mesa egl needs mir_presentatio
Alan Griffiths (alan-griffiths) wrote : | #3 |
OK, through the tedious process of merging into [a copy of lp:mir/ubuntu] and resolving conflicts I find that:
o [a copy of lp:mir/ubuntu] + [-r 4033 lp:mir] works; and,
o [a copy of lp:mir/ubuntu] + [-r 4034 lp:mir] is broken
revno: 4034 [merge]
author: Andreas Pokorny <email address hidden>
committer: Tarmac
branch nick: development-branch
timestamp: Wed 2017-02-15 22:38:46 +0000
message:
mirserver: Use the normal mir connection to send input to clients
Input Events are now sent through the connection and contain a window id to refer to the destination window. So all types of events occur on the client side in the order they were sent from the server. Additionally the conversion between android:
.
Approved by Brandon Schaefer, Kevin DuBois, mir-ci-bot.
And that's EOW
Alan Griffiths (alan-griffiths) wrote : | #4 |
OK, so this looks like eglsquare depending on undefined behavior - it tries to paint in the window event callback. That "worked" for input events prior to -r 4034.
Changed in mir: | |
importance: | High → Medium |
Mir CI Bot (mir-ci-bot) wrote : | #5 |
Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.27.0
Changed in mir: | |
status: | In Progress → Fix Committed |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Running the 0.26 client against a 0.27 server exhibits the problem, so the rewrite of examples is probably not involved.
Further, the program is hanging in me::Context: :swapbuffers( ) - the fourth time this is called.