<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Is installing debug information not enough?<br></div><div>Sameeh, can you provide him needed software?<br></div><div><br></div><div>Frediano<br></div><div><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"王杰东" <wangjiedong@kylinos.cn><br><b>To: </b>"Sameeh Jubran" <sameeh@daynix.com><br><b>Cc: </b>"Yan Vugenfirer" <yan@daynix.com>, "spice-devel" <spice-devel@lists.freedesktop.org><br><b>Sent: </b>Friday, January 26, 2018 6:48:34 AM<br><b>Subject: </b>Re: [Spice-devel] virt-viewer on win10 32bit abort when pullingoutthe USB<br><div><br></div><div>I'm sorry for no responding at once.</div><div>I tried to install tracing tools , Dbgview.exe had only few info, however, another tools like traceview.exe from WDK could not be installed, so i get on traces now.</div><div>But I build another environment using win10 32bit with virt-viewer 5.0/6.0 and UsbDk 1.0.17/1.0.19, both of them aborted. because of the complex compilation process on windows, i can never debug the code.</div><div>So i wish you can investigate the BUG, thanks!</div><div><div> </div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>From: </b> "Sameeh Jubran"<sameeh@daynix.com>;</div><div><b>Date: </b> Mon, Jan 15, 2018 06:55 PM</div><div><b>To: </b> "王杰东"<wangjiedong@kylinos.cn>; </div><div><b>Cc: </b> "spice-devel"<spice-devel@lists.freedesktop.org>; "Yan Vugenfirer"<yan@daynix.com>; </div><div><b>Subject: </b> Re: [Spice-devel] virt-viewer on win10 32bit abort when pullingoutthe USB</div></div><div> </div><div style="position:relative;"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 15, 2018 at 3:40 AM, 王杰东 <span dir="ltr"><<a href="mailto:wangjiedong@kylinos.cn" target="_blank">wangjiedong@kylinos.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Firstly, I installed UsbDk 1.0.19 and VirtViewer 6.0.256 , then i tried UsbDk 1.0.17 and VirtViewer 5.0.256 .</div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>and i tried Sandisk and Kingston usb device , all of these aborted .</div><div>But i never install libusb additionally , only find libusb-1.0.dll in virtviewer\bin\ .</div><div>is that enough ? it's right with windows 64bit when only installing UsbDk and VirtViewer .</div></blockquote><div>Yes this is enough. </div><div><br></div><div>There are two issues that we need to investigate in order to resolve this:</div><div><br></div><div>1. What is the error occuring in the first place</div><div>2. Which component is not handling this failure correctly</div><div><br></div><div>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:</div><div><a href="https://github.com/daynix/UsbDk/blob/master/Documentation/Tracing.txt" target="_blank">https://github.com/daynix/UsbDk/blob/master/Documentation/Tracing.txt</a><br data-mce-bogus="1"></div><div><br></div><div>For 2 It could be the usbredir (<a href="https://cgit.freedesktop.org/spice/usbredir" target="_blank">https://cgit.freedesktop.org/spice/usbredir</a>) component failing to handle libusb failures. I am not that familiar with the usbredir code,</div><div>but inserting few debug prints in the main loop should give a good idea where this bug lies.</div><div><br></div><div>Please do send traces back so we can further investigate the issue =)</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span data-mce-style="text-decoration: underline;" style="text-decoration: underline;"></span><div> </div><div> </div><div style="color:rgb(0,0,0)"><div style=" font-size:12px ; ;;padding:2px 0px ">------------------ Original ------------------</div><div style="font-size:12px;background:rgb(239,239,239);padding:8px"><div id="gmail-m_4282205279386408930menu_sender"><b>From: </b> "Sameeh Jubran"<<a href="mailto:sameeh@daynix.com" target="_blank">sameeh@daynix.com</a>>;</div><div><b>Date: </b> Mon, Jan 15, 2018 00:22 AM</div><div><b>To: </b> "王杰东"<<a href="mailto:wangjiedong@kylinos.cn" target="_blank">wangjiedong@kylinos.cn</a>>; </div><div><b>Cc: </b> "spice-devel"<<a href="mailto:spice-devel@lists.freedesktop.org" target="_blank">spice-devel@lists.freedesktop.org</a>>; </div><div><b>Subject: </b> Re: [Spice-devel] virt-viewer on win10 32bit abort when pulling outthe USB</div></div><div><div class="gmail-h5"><div> </div><div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 14, 2018 at 11:38 AM, 王杰东 <span dir="ltr"><<a href="mailto:wangjiedong@kylinos.cn" target="_blank">wangjiedong@kylinos.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-family:sans-serif">I installed lastest virt-viewer and UsbDk on win10 32bit OS , and I successed to redirect my USB to the windows 7 VM .</span><div><span style="font-family:sans-serif">But when i cancelled the check box of the USB or pulled out the USB , remote-viewer.exe aborted at once .<br>I tested some VERSION of virt-viewer、UsbDk and spice-server , but it allways aborted .<br>I got this when --debug "libusb: error [windows_transfer_callvack] detected I/O error 1627: [1627] 执行期间,函数出了问题"<br></span></div></blockquote><div>Which version of libusb, UsbDK are you using? Can you reproduce this with other usb devices?</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span style="font-family:sans-serif"><br>Can you help me for this ? Thanks . <br></span><div><div><br></div><div><div><span data-mce-style="text-decoration: underline;" style="text-decoration: underline;"></span><span data-mce-style="text-decoration: underline;" style="text-decoration: underline;"></span></div></div></div></div><br>_______________________________________________<br>
Spice-devel mailing list<br>
<a href="mailto:Spice-devel@lists.freedesktop.org" target="_blank">Spice-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/spice-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_4282205279386408930m_-3354220385726401759gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span data-mce-style="color: #0b5394; font-family: times new roman, serif; font-size: large;" style="color: #0b5394; font-family: times new roman, serif; font-size: large;" size="4" face="times new roman, serif">Respectfully,<br></span><div style="font-size:12.8px;color:rgb(136,136,136)"><span data-mce-style="color: #0b5394; font-family: times new roman, serif; font-size: large;" style="color: #0b5394; font-family: times new roman, serif; font-size: large;" size="4" face="times new roman, serif"><b><i>Sameeh Jubran</i></b></span></div><div style="font-size:12.8px;color:rgb(136,136,136)"><i style="color:rgb(7,55,99)"><span style="line-height:15px"><a href="https://il.linkedin.com/pub/sameeh-jubran/87/747/a8a" title="View public profile" name="m_4282205279386408930_m_-3354220385726401759_UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_14e2c1de96f8c195_UNIQUE_ID_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_webProfileURL" style="color:rgb(17,85,204);margin:0px;padding:0px;border-width:0px;outline:none;vertical-align:baseline;text-decoration:none" target="_blank">Linkedin</a></span></i><br></div><div style="font-size:12.8px;color:rgb(136,136,136)"><span data-mce-style="color: #073763; font-family: times new roman, serif; font-size: large;" style="color: #073763; font-family: times new roman, serif; font-size: large;" size="4" face="times new roman, serif"><i>Software Engineer @ <a href="http://www.daynix.com" target="_blank">Daynix</a>.</i></span></div></div></div></div></div></div></div></div></div>
</div></div>
</div></div></div></div><span data-mce-style="text-decoration: underline;" style="text-decoration: underline;"></span></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span data-mce-style="color: #0b5394; font-family: times new roman, serif; font-size: large;" style="color: #0b5394; font-family: times new roman, serif; font-size: large;" size="4" face="times new roman, serif">Respectfully,<br></span><div style="font-size:12.8px;color:rgb(136,136,136)"><span data-mce-style="color: #0b5394; font-family: times new roman, serif; font-size: large;" style="color: #0b5394; font-family: times new roman, serif; font-size: large;" size="4" face="times new roman, serif"><b><i>Sameeh Jubran</i></b></span></div><div style="font-size:12.8px;color:rgb(136,136,136)"><i style=" color:rgb(7,55,99) ; ; ; "><span style="line-height:15px"><a href="https://il.linkedin.com/pub/sameeh-jubran/87/747/a8a" title="View public profile" name="UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_14e2c1de96f8c195_UNIQUE_ID_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_webProfileURL" style="color:rgb(17,85,204);margin:0px;padding:0px;border-width:0px;outline:none;vertical-align:baseline;text-decoration:none" target="_blank">Linkedin</a></span></i><br></div><div style="font-size:12.8px;color:rgb(136,136,136)"><span data-mce-style="color: #073763; font-family: times new roman, serif; font-size: large;" style="color: #073763; font-family: times new roman, serif; font-size: large;" size="4" face="times new roman, serif"><i>Software Engineer @ <a href="http://www.daynix.com" target="_blank">Daynix</a>.</i></span></div></div></div></div></div></div></div></div></div>
</div></div>
</div></div></div><br>_______________________________________________<br>Spice-devel mailing list<br>Spice-devel@lists.freedesktop.org<br>https://lists.freedesktop.org/mailman/listinfo/spice-devel<br></blockquote><div><br></div></div></body></html>