[Bug 94192] New: spice server crashes when not using qxl

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 17 15:40:42 UTC 2016


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

            Bug ID: 94192
           Summary: spice server crashes when not using qxl
           Product: Spice
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: server
          Assignee: spice-bugs at lists.freedesktop.org
          Reporter: lvenhoda at redhat.com

Created attachment 121809
  --> https://bugs.freedesktop.org/attachment.cgi?id=121809&action=edit
Script used to run QEMU

When running qemu with upstream spice server, and without qxl enabled, qemu
crashes. The crash was introduced with commit 1f210080609f2c00b4d1859eb0b363a38
"Remove use of global 'reds' from AgentMsgFilter" in spice server, specifically
this part:

reds->agent_state.write_filter.use_client_monitors_config=
     reds_use_client_monitors_config(reds);
reds->agent_state.read_filter.use_client_monitors_config =
     reds_use_client_monitors_config(reds);

The crash happens in function dpy_ui_info_supported() from qemu ui/console.c,
because QemuConsole *con == NULL.

The issue might be connected to commit aadb94557011af2466dd7e678a1de45415ce424a
"Remove global 'dispatchers', 'num_active_workers' variables"

Callstack:
dpy_ui_info_supported(), qemu ui/console.c
interface_client_monitors_config(), qemu ui/spice-display.c
red_dispatcher_use_client_monitors_config(), spice server/red-dispatcher.c
reds_use_client_monitors_config(), spice server/reds.c

Script for runnign QEMU attached

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-bugs/attachments/20160217/ef4f7176/attachment.html>


More information about the spice-bugs mailing list