touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #93430
[Bug 1479899] Re: mir_buffer_stream_swap_buffers_sync hangs
** Also affects: mir (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1479899
Title:
mir_buffer_stream_swap_buffers_sync hangs
Status in Mir:
Fix Committed
Status in mir package in Ubuntu:
New
Bug description:
mir_buffer_stream_swap_buffers_sync hangs due to incorrect wait handle
signaling in mir::client::BufferStream mostly due to handling
disconnection from the server.
The server may have returned a buffer right after
display_server.submit_buffer, in which case mcl::BufferStream::submit
does not set any pending expected results in the wait handle (correct)
but before the caller gets a chance to "wait" on the handle, the
server may disconnect, in which case
mcl::BufferStream::buffer_unavailable incorrectly calls
next_buffer_wait_handle.result_received() so the wait handle never
signals (received(1) != expected(0))
To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1479899/+subscriptions