[Spice-devel] virt-viewer on win10 32bit abort when pulling outthe USB

Sameeh Jubran sameeh at daynix.com
Mon Jan 15 10:55:30 UTC 2018


On Mon, Jan 15, 2018 at 3:40 AM, 王杰东 <wangjiedong at kylinos.cn> wrote:

> Firstly, I installed UsbDk 1.0.19 and VirtViewer 6.0.256 , then i tried
> UsbDk 1.0.17 and VirtViewer 5.0.256 .
>
and i tried Sandisk and Kingston usb device , all of these aborted .
> But i never install libusb additionally , only find libusb-1.0.dll in
> virtviewer\bin\ .
> is that enough ? it's right with windows 64bit when only installing UsbDk
> and VirtViewer .
>
Yes this is enough.

There are two issues that we need to investigate in order to resolve this:

1. What is the error occuring in the first place
2. Which component is not handling this failure correctly

For 1 enabling UsbDk tracing can give us a bigger picture on what's causing
this error, please refer to the following link for instructions on tracing
UsbDk:
https://github.com/daynix/UsbDk/blob/master/Documentation/Tracing.txt

For 2 It could be the usbredir (https://cgit.freedesktop.org/spice/usbredir)
component failing to handle libusb failures. I am not that familiar with
the usbredir code,
but inserting few debug prints in the main loop should give a good idea
where this bug lies.

Please do send traces back so we can further investigate the issue =)

>
>
> ------------------ Original ------------------
> *From: * "Sameeh Jubran"<sameeh at daynix.com>;
> *Date: * Mon, Jan 15, 2018 00:22 AM
> *To: * "王杰东"<wangjiedong at kylinos.cn>;
> *Cc: * "spice-devel"<spice-devel at lists.freedesktop.org>;
> *Subject: * Re: [Spice-devel] virt-viewer on win10 32bit abort when
> pulling outthe USB
>
>
>
> On Sun, Jan 14, 2018 at 11:38 AM, 王杰东 <wangjiedong at kylinos.cn> wrote:
>
>> I installed lastest virt-viewer and UsbDk on win10 32bit OS , and I
>> successed to redirect my USB to the windows 7 VM .
>> But when i cancelled the check box of the USB or pulled out the USB ,
>> remote-viewer.exe aborted at once .
>> I tested some VERSION of virt-viewer、UsbDk and spice-server , but it
>> allways aborted .
>> I got this when --debug "libusb: error [windows_transfer_callvack]
>> detected I/O error 1627: [1627] 执行期间,函数出了问题"
>>
> Which version of libusb, UsbDK are you using? Can you reproduce this with
> other usb devices?
>
>
>> Can you help me for this ? Thanks .
>>
>>
>> _______________________________________________
>> Spice-devel mailing list
>> Spice-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/spice-devel
>>
>>
>
>
> --
> Respectfully,
> *Sameeh Jubran*
> *Linkedin <https://il.linkedin.com/pub/sameeh-jubran/87/747/a8a>*
> *Software Engineer @ Daynix <http://www.daynix.com>.*
>



-- 
Respectfully,
*Sameeh Jubran*
*Linkedin <https://il.linkedin.com/pub/sameeh-jubran/87/747/a8a>*
*Software Engineer @ Daynix <http://www.daynix.com>.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180115/68150560/attachment.html>


More information about the Spice-devel mailing list