[Bug 41858] New: deadlock upon client disconnection

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 17 01:28:46 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=41858

             Bug #: 41858
           Summary: deadlock upon client disconnection
    Classification: Unclassified
           Product: Spice
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: server
        AssignedTo: spice-bugs at lists.freedesktop.org
        ReportedBy: yhalperi at redhat.com


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.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the spice-bugs mailing list