[Bug 55726] spice-server wrongly disconnects client

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 8 09:40:16 PDT 2012


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

--- Comment #4 from Alon Levy <alevy at redhat.com> ---
> This is not what I'm seeing, what I'm seeing is:
> 1) repeated guest agent opening / closing of the virtio serial port, caused
> by using an agent which does not yet have this fix:
> http://cgit.freedesktop.org/spice/linux/vd_agent/commit/
> ?id=9a58d8ee70c13677a1b62a2c8af694829c7afec5
> 
> 2) That triggering the race I described above (it could even be the agent
> hello message which is triggering this).
> 
> After this has happened, simply re-connecting with remote-viewer works fine,
> iow not the same as what you're seeing.

OK, I agree it is not what I am seeing. The "channel refused to allocate
buffer" on main channel happens only for SPICE_VDAGENT_DATA messages when there
are no tokens. Maybe it's a server error like you say. What I saw is a separate
case.

Regardless of whether there is an accounting error, we need to decide if we
want to disconnect a client that violates the token scheme or not. I think
disconnecting it makes sense but otherwise we just need to track the current
message until it completes so as to not pass part of it accidentally when
tokens arrive.

> 
> Regards,
> 
> Hans

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


More information about the spice-bugs mailing list