[Spice-devel] spice-gtk hangs
Damien Churchill
damoxc at gmail.com
Tue Sep 20 02:24:17 PDT 2011
On 16 September 2011 12:08, Marc-André Lureau <mlureau at redhat.com> wrote:
> Hi
>
> ----- Original Message -----
>>
>> spicy doesn't seem to play nicely with the clipboard, at least on the
>> machines I've tried, so I haven't been able to test that out. Haven't
>> tried out virt-manager yet as it doesn't support multiple displays, as
>> fair as I know anyway.
>
> If you found a bug in clipboard handling with spicy, it is unlikely to
> be fixed by changing client that uses spice-gtk widget, since it's the
> same code.
>
I was working around it by just disabling the clipboard sharing.
> virt-manager doesn't support multiple displays, but virt-viewer does.
>
I'll backport a version of virt-viewer that supports SPICE and test
that out and see if we experience the same issues.
>> I set spice_util_set_debug to True in my program and here is an
>> extract of the output leading up to when it hangs:
>
> (you can also use SPICE_DEBUG=1)
>
Ah good to know. I'll leave it spitting out the debug log regardless
at the moment though as it's useful to have.
>> (vviewer:19988): GSpice-CRITICAL **: stream_mjpeg_data: assertion `j
>> == st->mjpeg_cinfo.rec_outbuf_height' failed
>>
>>
>> I note that there are some mjpeg fixes shortly after the 0.7 release
>> in the git commit log, would it be worth back-porting those to see how
>> that works?
>
> Yes, it fixes that bug.
>
Applying the fixes stops the crashing so that's good. Unfortunately
still experiencing the hanging of the widget. I've got a debug log of
a hung client then, last lines being:
(vviewer:3133): GSpice-DEBUG: decode-glz.c:136 image with slot 2649: no
(vviewer:3133): GSpice-DEBUG: decode-glz.c:136 image with slot 2994: no
(vviewer:3133): GSpice-DEBUG: decode-glz.c:136 image with slot 2649: no
(vviewer:3133): GSpice-DEBUG: decode-glz.c:136 image with slot 2994: no
(vviewer:3133): GSpice-DEBUG: decode-glz.c:136 image with slot 2649: no
(vviewer:3133): GSpice-DEBUG: decode-glz.c:136 image with slot 2994: no
(vviewer:3133): GSpice-DEBUG: decode-glz.c:136 image with slot 2649: no
(vviewer:3133): GSpice-DEBUG: decode-glz.c:136 image with slot 2994: no
No idea how useful that is though.
As I said I'll backport virt-viewer and test out that and see if the
same problems are experienced.
Thanks,
Damien
More information about the Spice-devel
mailing list