Re: multi-clients issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Alon & Yonit,
  After more trying, I found:
  this has no relation with spice server-client version,  but is
effected mostly by the network/connection status, if two clients are of
same network status/speed, then all fine, if not, the server will assert
same as above.
  From the spice feature note:
  "This feature is still experimental, it is not expected to work
correctly under different client bandwidths, although it should not
crash the server."
  So in my case, multi-clients use crashed the sever/qemu by assert in
red_worker.c.
  I'm not familiar with the multi-client scheme, seems the clients share
the same red_worker data in spice server, and if so, 
1. is it possible that one client freed up one drawable list, yet the
other one doest not know this and try to use it as one that's not empty
and hence asserts there?
2. Is there any src lock/wait protection among the clients for this in
spice server, is it fully implemented? Could you please take a try for
this diff-net-status case and offer some resolve ideas?
  Any info and suggestion is greatly appreciated, thanks a lot!

Best Regards.
            Rozen.
 


On Wed, 2012-12-19 at 17:18 +0800, Rozen Lin wrote:
> On Wed, 2012-12-19 at 10:35 +0400, Michael Tokarev wrote:
> > On 19.12.2012 09:05, Rozen Lin wrote:
> > > Hi,All,
> > >   Currently I'm trying the multi-client feature of spice, the server
> > > side is spice-server-0.10 and qemu-kvm-1.1, if I use only from Linux
> > 
> > I guess it is debian wheezy, right?
> > 
> > > machine the spicec-0.10 or spice-gtk-0.10 as clients, the multi-clients
> > > works fine,
> > > but if I use the old version(e.g. spicec-0.6) spicec-win32 or newest
> > > virt-viewer-0.5.3 from windows machine, the qemu-kvm will assert in
> > > spice-server such as:
> > > red_worker.c: free_one_drawable(RedWorker *worker, int force_glz_free)
> > > {
> > > ..
> > >   ASSERT(ring_item);
> > > ...
> > > }
> > >   I know the multi-clients is only experimental, but I have to try such
> > > feature from Windows machine, so would anyone share some clues to
> > > resolve/workaround for this, thanks in advance!
> > 
> > Well, 0.10 and 1.1 are rather old, in spice fast life terms anyway.
> > Lots of changes has been made in spice code since these versions...
> > 
> > /mjt
> Thanks, but the host machine is Ubuntu 10.04 x86_64, and I tried the
> newest pkgs:
> virt-viewer-0.5.3, qemu-kvm-1.2.0,
> spice-guest-tools-0.2.exe ,spice-0.12.0 
> It asserted in the same place.
> This happens only when both Windows virt-viewer and Linux virt-viewer
> connect to the same spice server; if all clients are Linux virt-viewer,
> all fine; if only Windows virt-viewer, it's fine too...
> 
> Best Regards.
> 
> 


_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]