VirtualBox

Ticket #11839 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

A USB problems(HANG) when ugrade 4.0.18 to 4.1.0 => Fixed in SVN

Reported by: Woof Owned by:
Priority: major Component: USB
Version: VirtualBox 4.1.0 Keywords: USB hang HANG
Cc: Guest type: Windows
Host type: Windows

Description

I have biometric device (fingerprint recognition mouse). it was worked on 4.0.18 but 4.1.x, it does not work.

if the device starts capturing fingerprint, VM process is hanged. at that time Virtualbox.exe has 1 zombie thread. looks like it waits a response from kerenl driver.

Change History

comment:1 in reply to: ↑ description ; follow-up: ↓ 2 Changed 2 years ago by Woof

version 4.2.x has same problem.

the hanged thread waits DeviceIoControl(..SUPUSB_IOCTL_SEND_URB..) in usbProxyWinAsyncIoThread()

Replying to Woof:

I have biometric device (fingerprint recognition mouse). it was worked on 4.0.18 but 4.1.x, it does not work.

if the device starts capturing fingerprint, VM process is hanged. at that time Virtualbox.exe has 1 zombie thread. looks like it waits a response from kerenl driver.

Last edited 2 years ago by Woof (previous) (diff)

comment:2 in reply to: ↑ 1 ; follow-ups: ↓ 3 ↓ 4 Changed 2 years ago by Woof

\vbox\hostdrivers\vboxusb\win\dev\vboxusbrt.cpp vboxUsbRtUrbSend() line 1330 (version 4.2.8)

for (ULONG i = 0; i = pUrbInfo->numIsoPkts; ++i)

should be for (ULONG i = 0; i < pUrbInfo->numIsoPkts; ++i) ????

i dint check 4.2.12 yet.

Replying to Woof:

version 4.2.x has same problem.

the hanged thread waits DeviceIoControl(..SUPUSB_IOCTL_SEND_URB..) in usbProxyWinAsyncIoThread()

Replying to Woof:

I have biometric device (fingerprint recognition mouse). it was worked on 4.0.18 but 4.1.x, it does not work.

if the device starts capturing fingerprint, VM process is hanged. at that time Virtualbox.exe has 1 zombie thread. looks like it waits a response from kerenl driver.

Last edited 2 years ago by Woof (previous) (diff)

comment:3 in reply to: ↑ 2 Changed 2 years ago by Woof

i checked 4.2.12. for (ULONG i = 0; i = pUrbInfo->numIsoPkts; ++i)

i'll try for (ULONG i = 0; i =< pUrbInfo->numIsoPkts; ++i)

Replying to Woof:

\vbox\hostdrivers\vboxusb\win\dev\vboxusbrt.cpp vboxUsbRtUrbSend() line 1330 (version 4.2.8)

for (ULONG i = 0; i = pUrbInfo->numIsoPkts; ++i)

should be for (ULONG i = 0; i < pUrbInfo->numIsoPkts; ++i) ????

i dint check 4.2.12 yet.

Replying to Woof:

version 4.2.x has same problem.

the hanged thread waits DeviceIoControl(..SUPUSB_IOCTL_SEND_URB..) in usbProxyWinAsyncIoThread()

Replying to Woof:

I have biometric device (fingerprint recognition mouse). it was worked on 4.0.18 but 4.1.x, it does not work.

if the device starts capturing fingerprint, VM process is hanged. at that time Virtualbox.exe has 1 zombie thread. looks like it waits a response from kerenl driver.

comment:4 in reply to: ↑ 2 Changed 2 years ago by Woof

I checked repository but code is not corrected. the old version (4.0.x) was for (ULONG i = 0; i < pUrbInfo->numIsoPkts; ++i) i tried for (ULONG i = 0; i <= pUrbInfo->numIsoPkts; ++i), it was work.

can i commit this code???

Replying to Woof:

\vbox\hostdrivers\vboxusb\win\dev\vboxusbrt.cpp vboxUsbRtUrbSend() line 1330 (version 4.2.8)

for (ULONG i = 0; i = pUrbInfo->numIsoPkts; ++i)

should be for (ULONG i = 0; i < pUrbInfo->numIsoPkts; ++i) ????

i dint check 4.2.12 yet.

Replying to Woof:

version 4.2.x has same problem.

the hanged thread waits DeviceIoControl(..SUPUSB_IOCTL_SEND_URB..) in usbProxyWinAsyncIoThread()

Replying to Woof:

I have biometric device (fingerprint recognition mouse). it was worked on 4.0.18 but 4.1.x, it does not work.

if the device starts capturing fingerprint, VM process is hanged. at that time Virtualbox.exe has 1 zombie thread. looks like it waits a response from kerenl driver.

comment:5 follow-up: ↓ 6 Changed 2 years ago by frank

Thanks for this report!

I've fixed the code in the public subversion repository r46375. Sorry, it is read-only for the public. I can also provide you a 4.2.13 test build. Can you check if  this build fixes the problem for you? Sorry, right now I cannot test it myself but the fix is definitely right. Although it's not sure if this was the only problem.

comment:6 in reply to: ↑ 5 Changed 2 years ago by Woof

Thanks for your uploading 4.2.13 :D

I checked this version, it works. :)

actually, I've already tried corrected code version(4.2.12 OSE) I just want to install it published by oracle.

thanks!

Replying to frank:

Thanks for this report!

I've fixed the code in the public subversion repository r46375. Sorry, it is read-only for the public. I can also provide you a 4.2.13 test build. Can you check if  this build fixes the problem for you? Sorry, right now I cannot test it myself but the fix is definitely right. Although it's not sure if this was the only problem.

comment:7 Changed 2 years ago by frank

  • Summary changed from A USB problems(HANG) when ugrade 4.0.18 to 4.1.0 to A USB problems(HANG) when ugrade 4.0.18 to 4.1.0 => Fixed in SVN

Thanks again for the report and for testing!

comment:8 Changed 2 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fix is part of VBox 4.2.14.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use