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 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel