Bug 41858 - deadlock upon client disconnection
Summary: deadlock upon client disconnection
Status: RESOLVED FIXED
Alias: None
Product: Spice
Classification: Unclassified
Component: server (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-17 01:28 UTC by Yonit Halperin
Modified: 2014-11-03 02:02 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Yonit Halperin 2011-10-17 01:28:46 UTC
When the display/cursor channel disconnect, channel_event (qemu/ui/spice_core.c)
attempts to lock the iothread (see qemu patch "spice: workaround a spice server bug").
However, when refactoring spice-server channels to use RedChannel and to support multiple clients, the disconnection of the display/cursor channel via red_dispatcher was change to be synchronous.
Thus, when the disconnection of the display/cursor channel is triggered from the iothread, deadlock occurs, and qemu is stack.
Comment 1 Marc-Andre Lureau 2014-11-03 02:02:51 UTC
I think this is long solved by the introduction of async io, closing


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.