VirtualBox

Ticket #4580 (reopened defect)

Opened 5 years ago

Last modified 3 months ago

Guest freeze when using USB disk => Fixed in SVN

Reported by: yrro Owned by:
Priority: major Component: USB
Version: VirtualBox 3.0.2 Keywords:
Cc: Guest type: Linux
Host type: Windows

Description

I left my guest system backing up to a USB disk via the USB passthrough feature. I came back to it and the guest had frozen. I could still move the mouse but couldn't click on anything, and keypresses sent to the guest were ignored.

It was playing some music at the time, and that stuck too--the audio buffer was repeating the same part of the music over and over.

Host is Vista Home Basic (64-bit) and guest is Debian using Linux 2.6.30.

Attachments

wintermute-2009-07-19-13-45-19.log Download (209.6 KB) - added by yrro 5 years ago.
virtualbox log

Change History

Changed 5 years ago by yrro

virtualbox log

comment:1 Changed 3 years ago by frank

  • Summary changed from Guest freeze when using USB disk to Guest freeze when using USB disk => Fixed in SVN

Most probably fixed in the next maintenance release. The freeze did only occur for guests with more than one CPU.

comment:2 Changed 3 years ago by frank

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

Fix in VBox 4.0.10.

comment:3 Changed 3 months ago by petarb

  • Status changed from closed to reopened
  • Resolution fixed deleted

I can reproduce this with VirtualBox 4.3.6, OSX 10.6.8 (Host) and Linux 3.12 (Guest). The workaround is also the same: reduce number of CPUs from 2 -> 1.

P.S. This is with the current extension pack i.e. with USB 2.0 enabled.

comment:4 Changed 3 months ago by petarb

I attached dtruss to VirtualBoxVM (cpus=2) for about 5 minutes and out of about 95'000 resulting lines, only the following 75 are unique (gettimeofday excluded, order is preserved):

SYSCALL(args)                                        =  return
__semwait_signal(0x4803,0x8C03,0x1)                  =  -1      Err#60
__semwait_signal(0x8C03,0x4803,0x1)                  =  -1      Err#60
select(0xF,0x102FB46C0,0x102FB4640,0x102FB45C0,0x0)  =  1       0
recvfrom(0xD,0x102FB4A60,0x400)                      =  36      0
write(0xF,"8\0",0x1)                                 =  1       0
recvfrom(0xD,0x102FB4A60,0x400)                      =  -1      Err#35
read(0xE,"8\0",0x400)                                =  1       0
recvfrom(0xD,0x102FB4A60,0x400)                      =  72      0
__semwait_signal(0x307,0x0,0x1)                      =  -1      Err#60
__semwait_signal(0x4403,0x8903,0x1)                  =  -1      Err#60
__semwait_signal(0x8903,0x4403,0x1)                  =  -1      Err#60
sendto(0xD,0x102DF4590,0x8E)                         =  142     0
__semwait_signal(0xAA03,0x4603,0x1)                  =  0       0
__semwait_signal(0xAA03,0x4603,0x1)                  =  -1      Err#60
sendto(0xD,0x11EE67840,0x8E)                         =  142     0
__semwait_signal(0x4603,0xAA03,0x1)                  =  0       0
__semwait_signal(0x4603,0xAA03,0x1)                  =  -1      Err#60
write(0xF,"8rr#\0",0x1)                              =  1       0
write(0xF,"8\a\0",0x1)                               =  1       0
read(0xE,"8H\0",0x400)                               =  1       0
read(0xE,"8\214\0",0x400)                            =  1       0
workq_kernreturn(0x1,0x103000A20,0x0)                =  0       0
thread_selfid(0x7FFF70758660,0x0,0xFFFFFFFF)         =  5768    0
kevent(0x9,0x0,0x0)                                  =  1       0
kevent(0x9,0x127971DB0,0x1)                          =  1       0
read(0xE,"8\a\0",0x400)                              =  1       0
write(0xF,"8_signal\0",0x1)                          =  1       0
write(0xF,"8\004\0",0x1)                             =  1       0
__disable_threadsignal(0x1,0x0,0x0)                  =  0       0
read(0xE,"8\006\0",0x400)                            =  1       0
write(0xF,"8\b\0",0x1)                               =  1       0
read(0xE,"8\211\0",0x400)                            =  1       0
write(0xF,"8F\373\002\001\0",0x1)                    =  1       0
ioctl(0x7,0xC0305698,0x118F9DA30)                    =  0       0
ioctl(0x7,0xC0305698,0x118F9D940)                    =  0       0
ioctl(0x7,0xC0305698,0x11EFFDA90)                    =  0       0
ioctl(0x7,0xC0305698,0x11EFFDAB0)                    =  0       0
ioctl(0x7,0xC0485687,0x11F001BD0)                    =  0       0
getpid(0x1278F1000,0x83000,0x1125B)                  =  642     0
write(0xF,"8\214\0",0x1)                             =  1       0
write(0xF,"8H\0",0x1)                                =  1       0
write(0xF,"8\006\0",0x1)                             =  1       0
read(0xE,"8\004\0",0x400)                            =  1       0
read(0xE,"8\003\0",0x400)                            =  1       0
read(0xE,"8\002\0",0x400)                            =  1       0
read(0xE,"8}:\033\001\0",0x400)                      =  1       0
ioctl(0x7,0xC0485687,0x11F188BD0)                    =  0       0
read(0xE,"8\b\0",0x400)                              =  1       0
write(0xF,"8\003\0",0x1)                             =  1       0
kevent(0x9,0x0,0x0)                                  =  0       0
workq_kernreturn(0x1,0x103000A50,0x0)                =  0       0
thread_selfid(0x7FFF70758660,0x0,0xFFFFFFFF)         =  5817    0
write(0xF,"8\002\0",0x1)                             =  1       0
read(0xE,"8D\0",0x400)                               =  1       0
thread_selfid(0x1278F1000,0x83000,0x1125F)           =  5827    0
read(0xE,"8F\373\002\001\0",0x400)                   =  1       0
workq_kernreturn(0x1,0x103000A80,0x0)                =  0       0
thread_selfid(0x7FFF70758660,0x0,0xFFFFFFFF)         =  5865    0
thread_selfid(0x1278F1000,0x83000,0x11263)           =  5873    0
read(0xE,"8~:\033\001\0",0x400)                      =  1       0
workq_kernreturn(0x1,0x103000AB0,0x0)                =  0       0
thread_selfid(0x7FFF70758660,0x0,0xFFFFFFFF)         =  5929    0
thread_selfid(0x1278F1000,0x83000,0x11267)           =  5935    0
workq_kernreturn(0x1,0x103000AE0,0x0)                =  0       0
thread_selfid(0x7FFF70758660,0x0,0xFFFFFFFF)         =  5975    0
thread_selfid(0x1278F1000,0x83000,0x1126B)           =  5977    0
read(0xE,"8\252\0",0x400)                            =  1       0
workq_kernreturn(0x1,0x103000B10,0x0)                =  0       0
thread_selfid(0x7FFF70758660,0x0,0xFFFFFFFF)         =  6033    0
thread_selfid(0x1278F1000,0x83000,0x1126F)           =  6040    0
read(0xE,"8rr#\0",0x400)                             =  1       0
workq_kernreturn(0x1,0x103000B40,0x0)                =  0       0
thread_selfid(0x7FFF70758660,0x0,0xFFFFFFFF)         =  6108    0
thread_selfid(0x1278F1000,0x83000,0x11273)           =  6110    0
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use