[Spice-devel] spice-vdagentd hangs after client connect-disconnect-connect

Eugene Chekanskiy echekanskiy at gmail.com
Sun Jan 22 21:11:23 UTC 2017


First login to user are fine. I have spice-vdagentd and spice-agent running
and working fine.
After logout I have following in spice-vdagent logs:

spice-vdagent[91749]: unhandled x11 event, type 33, window 647
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server
":0.0"
      after 123 requests (123 known processed) with 1 events remaining.

and this in spice-vdagentd logs

січ 22 23:04:14 lx spice-vdagentd[91396]: mouse: syn
> січ 22 23:04:14 lx spice-vdagentd[91396]: mouse-event: mon 0 963x148
> січ 22 23:04:14 lx spice-vdagentd[91396]: mouse: abs-y 148
> січ 22 23:04:18 lx spice-vdagentd[91396]: closed vdagent virtio channel
> січ 22 23:04:18 lx spice-vdagentd[91396]: Active session: c54


After next login spice-vdagentd have following logs:

січ 22 23:04:18 lx spice-vdagentd[91396]: Active session: c54
> січ 22 23:06:20 lx spice-vdagentd[91396]: Active session: c55
> січ 22 23:06:22 lx spice-vdagentd[91396]: new client accepted:
> 0x555a9befb970, pid: 92724
> січ 22 23:06:22 lx spice-vdagentd[91396]: Session for pid 92724: c55
> січ 22 23:06:22 lx spice-vdagentd[91396]: 0x555a9befb970 sent version,
> arg1: 0, arg2: 0, size 7
> січ 22 23:06:22 lx spice-vdagentd[91396]: 0x555a9befb970 is now the active
> session
> січ 22 23:06:22 lx spice-vdagentd[91396]: 0x555a9befb970 sent monitors
> config, arg1: 0, arg2: 0, size 328
> січ 22 23:06:22 lx spice-vdagentd[91396]: 0x555a9befb970 received guest
> xorg resolution, arg1: 1024, arg2: 768, size 16
> січ 22 23:06:22 lx spice-vdagentd[91396]: uinput-update-size: 1024x768
> січ 22 23:06:22 lx spice-vdagentd[91396]: screen 0: +0+0


After logout spice-vdagentd does not have new logs, and spice-vdagent
printed following:

spice-vdagent[92724]: 0x55ab09dfcdc0 connected to /tmp/xspice-vdagent
> spice-vdagent[92724]: Selection window: 41943041
> spice-vdagent[92724]: Screen 0 1024x768+0+0
> spice-vdagent[92724]: 0x55ab09dfcdc0 sent guest xorg resolution, arg1:
> 1024, arg2: 768, size 16
> spice-vdagent[92724]: net_wm_name: "Xfwm4", has icons: 1
> spice-vdagent[92724]: 0x55ab09dfcdc0 received version, arg1: 0, arg2: 0,
> size 7
> spice-vdagent[92724]: 0x55ab09dfcdc0 received monitors config, arg1: 0,
> arg2: 0, size 328
> spice-vdagent[92724]: from guest: 16, 1
> spice-vdagent[92724]: received monitor 0 config 1920x979+0+0
> spice-vdagent[92724]: after zeroing: 1, 1
> spice-vdagent[92724]: received monitor 0 config 1920x979+0+0
> spice-vdagent[92724]: Changing screen size to 1920x979
> spice-vdagent[92724]: Root size of screen 0 changed to 1024x768 send 0
> spice-vdagent[92724]: Root size of screen 0 changed to 1920x979 send 0
> spice-vdagent[92724]: Screen 0 1920x979+0+0
> spice-vdagent[92724]: 0x55ab09dfcdc0 sent guest xorg resolution, arg1:
> 1920, arg2: 979, size 16
> spice-vdagent[92724]: unhandled x11 event, type 33, window 647
> XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server
> ":0.0"
>       after 101 requests (101 known processed) with 0 events remaining.


And spice-vdagentd strace http://pastebin.com/dUAB3xuS, hanged on
*open("/tmp/xspice-uinput",
O_WRONLY.*
Only restarting lightdm(with xspice) helps and next login will be fine.
What this can be?

Thanks, Eugene.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170122/755552b7/attachment.html>


More information about the Spice-devel mailing list