[Spice-devel] Usb redirection

Hans de Goede hdegoede at redhat.com
Mon Dec 17 02:05:09 PST 2012


Hi,

On 12/17/2012 10:38 AM, Jackson wrote:
> OK! I use spice-gtk with usb redirection 0.4.3 and trying to redirect webcam to
> VM. There are some problems causing the client crashed when
> usbredir_free_write_cb_data()->usbredirhost_free_write_buffer()->...try to free
> data.
> And I print the data in usbredir_write_callback() & usbredir_free_write_cb_data()
> ...
> write_data = 100
> free_data = 100
> write_data = 17
> write_data = 17
> write_data = 4
> write_data = 5
> write_data = 11
> free_data = 17
> free_data = 238(error)
>
> Any possible problem cause the error?

What are these numbers you are printing? It would probably be more useful
to print the data buffer pointer instead using %p.

Regards,

Hans


More information about the Spice-devel mailing list