Mir

Mir clients crash when switching VTs

Bug #1189443 reported by Alan Griffiths
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Critical
Alan Griffiths

Bug Description

Starting with -r728 Mir clients crash because the server does weird stuff when VTs are switched.

Steps to reproduce:
1. Start the mir_demo_server_shell on VT1
2. Start clients like mir_demo_client_egltriangle and mir_demo_client_eglplasma on VT2
3. Verify the client is running/rendering by switching to VT1
4. Switch to VT2 and see "Assertion `buffer_package.fd_items == 1` failed"

Related branches

Changed in mir:
importance: Undecided → Critical
Changed in mir:
assignee: nobody → Alexandros Frantzis (afrantzis)
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Alexandros found that this is because VT switching forces the communicator to stop - aborting any outstanding buffer requests.

While the aborted swap ought to be report as an error it would be better to let the request hang awaiting an available buffer and have a proper pause state in the communicator.

Changed in mir:
assignee: Alexandros Frantzis (afrantzis) → Alan Griffiths (alan-griffiths)
Changed in mir:
status: New → In Progress
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Not sure why but I only see this bug on saucy. Not raring.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.0.4

Changed in mir:
status: In Progress → Fix Committed
Changed in mir:
milestone: none → 0.0.4
Changed in mir:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.