Page 1 of 1

One CPU being soaked by VBoxSVC

Posted: 16. Oct 2008, 16:21
by Yaytay
Hi,

Host: 32 bit Vista.
Guest: 32 bit Windows Server 2008.
Virtual Box 2.0.2

The guest has been running for about four hours and now I'm seeing one thread stuck thrashing.
I had the same behaviour yesterday with the result that the whole system became unusable and the VM wouldn't shut down.

The guest OS is relatively idle (as idle as Windows server ever gets).

The host has four cores, so the impact is a constant CPU utilisation of 20-25%.

From running Process Explorer I've grabbed a few stack traces, but obviously I don't have symbols so don't believe it all:
ntkrnlpa.exe!KiSwapContext+0x26
ntkrnlpa.exe!KiSwapThread+0x44f
ntkrnlpa.exe!KeWaitForSingleObject+0x492
ntkrnlpa.exe!KiSuspendThread+0x18
ntkrnlpa.exe!KiDeliverApc+0x138
ntkrnlpa.exe!KiCheckForKernelApcDelivery+0x24
ntkrnlpa.exe!MmAccessFault+0x2013
ntkrnlpa.exe!KiTrap0E+0xdc
ntdll.dll!memcpy+0x33
ntdll.dll!RtlpReAllocateHeap+0x9da
ntdll.dll!RtlReAllocateHeap+0x2bf
fastprox.dll!CBasicBlobControl::sReallocate+0x4e
fastprox.dll!CWbemObject::Reallocate+0x25
fastprox.dll!CWbemInstance::ExtendInstancePartSpace+0x35
fastprox.dll!CWbemInstance::CopyBlobOf+0x8c
fastprox.dll!CClientLoadableHiPerfEnum::Copy+0xb3
fastprox.dll!CUniversalRefresher::CNonHiPerf::CEnumRequest::Copy+0x11
fastprox.dll!CUniversalRefresher::CDirect::Refresh+0xc9
fastprox.dll!CUniversalRefresher::Refresh+0x5f
fastprox.dll!CUniversalRefresher::XRefresher::Refresh+0xd6
VBoxSVC.exe+0xc641c
VBoxSVC.exe+0xbaeeb
VBoxRT.dll!RTTimerLRStop+0xfb
VBoxRT.dll!RTThreadReadLockDec+0x1f0
VBoxRT.dll!RTSemMutexRelease+0x112
MSVCR71.dll!_endthreadex+0xa0
kernel32.dll!BaseThreadInitThunk+0xe
ntdll.dll!__RtlUserThreadStart+0x23
ntdll.dll!_RtlUserThreadStart+0x1b


ntkrnlpa.exe!PerfInfoLogInterrupt+0x43
hal.dll!HalpCheckForSoftwareInterrupt+0x64
hal.dll!HalEndSystemInterrupt+0x73
hal.dll!HalpIpiHandler+0x189
msvcrt.dll!memcpy+0xfc
fastprox.dll!CWbemInstance::CopyBlobOf+0x117
fastprox.dll!CClientLoadableHiPerfEnum::Copy+0xb3
fastprox.dll!CUniversalRefresher::CNonHiPerf::CEnumRequest::Copy+0x11
fastprox.dll!CUniversalRefresher::CDirect::Refresh+0xc9
fastprox.dll!CUniversalRefresher::Refresh+0x5f
fastprox.dll!CUniversalRefresher::XRefresher::Refresh+0xd6
VBoxSVC.exe+0xc641c
VBoxSVC.exe+0xbaeeb
VBoxRT.dll!RTTimerLRStop+0xfb
VBoxRT.dll!RTThreadReadLockDec+0x1f0
VBoxRT.dll!RTSemMutexRelease+0x112
MSVCR71.dll!_endthreadex+0xa0
kernel32.dll!BaseThreadInitThunk+0xe
ntdll.dll!__RtlUserThreadStart+0x23
ntdll.dll!_RtlUserThreadStart+0x1b


ntkrnlpa.exe!KiSwapContext+0x26
ntkrnlpa.exe!KiSwapThread+0x44f
ntkrnlpa.exe!KeWaitForSingleObject+0x492
ntkrnlpa.exe!KiSuspendThread+0x18
ntkrnlpa.exe!KiDeliverApc+0x138
hal.dll!HalpDispatchSoftwareInterrupt+0x49
hal.dll!HalpCheckForSoftwareInterrupt+0x64
hal.dll!HalEndSystemInterrupt+0x73
hal.dll!HalpIpiHandler+0x189
msvcrt.dll!__ascii_strnicmp+0xc5
msvcrt.dll!_VEC_memcpy+0x52
fastprox.dll!CWbemInstance::Clone+0x100
WmiPerfInst.dll!RefreshEnumAfterQuery+0x4de
WmiPerfInst.dll!CInstRefresher::Refresh+0x152
fastprox.dll!CUniversalRefresher::CDirect::Refresh+0x29
fastprox.dll!CUniversalRefresher::Refresh+0x5f
fastprox.dll!CUniversalRefresher::XRefresher::Refresh+0xd6
VBoxSVC.exe+0xc641c
VBoxSVC.exe+0xbaeeb
VBoxRT.dll!RTTimerLRStop+0xfb
VBoxRT.dll!RTThreadReadLockDec+0x1f0
VBoxRT.dll!RTSemMutexRelease+0x112
MSVCR71.dll!_endthreadex+0xa0
kernel32.dll!BaseThreadInitThunk+0xe
ntdll.dll!__RtlUserThreadStart+0x23
ntdll.dll!_RtlUserThreadStart+0x1b


ntkrnlpa.exe!KiSwapContext+0x26
ntkrnlpa.exe!KiSwapThread+0x44f
ntkrnlpa.exe!KeWaitForSingleObject+0x492
ntkrnlpa.exe!KiSuspendThread+0x18
ntkrnlpa.exe!KiDeliverApc+0x138
hal.dll!HalpDispatchSoftwareInterrupt+0x49
hal.dll!HalpCheckForSoftwareInterrupt+0x64
hal.dll!HalEndSystemInterrupt+0x73
hal.dll!HalpIpiHandler+0x189
msvcrt.dll!__ascii_strnicmp+0xbb
msvcrt.dll!_VEC_memcpy+0x52
fastprox.dll!CWbemInstance::Clone+0x100
WmiPerfInst.dll!RefreshEnumAfterQuery+0x4de
WmiPerfInst.dll!CInstRefresher::Refresh+0x152
fastprox.dll!CUniversalRefresher::CDirect::Refresh+0x29
fastprox.dll!CUniversalRefresher::Refresh+0x5f
fastprox.dll!CUniversalRefresher::XRefresher::Refresh+0xd6
VBoxSVC.exe+0xc641c
VBoxSVC.exe+0xbaeeb
VBoxRT.dll!RTTimerLRStop+0xfb
VBoxRT.dll!RTThreadReadLockDec+0x1f0
VBoxRT.dll!RTSemMutexRelease+0x112
MSVCR71.dll!_endthreadex+0xa0
kernel32.dll!BaseThreadInitThunk+0xe
ntdll.dll!__RtlUserThreadStart+0x23
ntdll.dll!_RtlUserThreadStart+0x1b

Hope this is helpful.

Yaytay

Posted: 16. Oct 2008, 17:48
by sandervl
Check this solution.

Posted: 16. Oct 2008, 18:58
by SSCBrian
sandervl wrote:Check this solution.
Ummm, I don't see a solution there, just a bug report...

Posted: 16. Oct 2008, 20:46
by Sasquatch
SSCBrian wrote:
sandervl wrote:Check this solution.
Ummm, I don't see a solution there, just a bug report...
It says
Attempt nr 2; you can download replacement files for VBoxSVC.exe & VBoxC.dll
with a link to some files. That is the solution. Download them and replace the existing files. That should solve it.

Posted: 16. Oct 2008, 20:56
by SSCBrian
Thanks! I even had to look at it a couple times to find that once it was pointed out to me. :-)

Posted: 17. Oct 2008, 10:00
by Yaytay
sandervl wrote:Check this solution.
Thanks, I'm trying them now.
It took some running time before I hit the problem, so I'll let you know later if it seems to fix it.

One oddity: someone on the bug report reckoned it changed their version number to 2.0.3, mine is 2.0.2_AQ.

Jim

Posted: 17. Oct 2008, 13:28
by SSCBrian
Yaytay wrote:
sandervl wrote:Check this solution.
Thanks, I'm trying them now.
It took some running time before I hit the problem, so I'll let you know later if it seems to fix it.

One oddity: someone on the bug report reckoned it changed their version number to 2.0.3, mine is 2.0.2_AQ.

Jim
No problems extracting it? I'm going to try one more time, but have already downloaded it a couple times and it won't extract. "Invalid header"...

Posted: 17. Oct 2008, 13:29
by SSCBrian
Are you doing 32-bit or 64-bit?

64-bit file seems to be corrupt.

Posted: 21. Oct 2008, 00:00
by Yaytay
SSCBrian wrote:Are you doing 32-bit or 64-bit?

64-bit file seems to be corrupt.
I'm 32 bit, and it does seem to have fixed my problems.

Posted: 21. Oct 2008, 13:27
by SSCBrian
Has anyone tried the 64-bit version? I still can't even extract it. Decompression states that the file is corrupt. :(

Posted: 21. Oct 2008, 18:58
by Yaytay
SSCBrian wrote:Has anyone tried the 64-bit version? I still can't even extract it. Decompression states that the file is corrupt. :(
There is a comment on another thread that says that people have had problems when they download it using IE.
I've just downloaded the 64 bit version using Firefox and I can open the zip fine.

Not tried installing it yet, haven't actually installed 2.0.2 on my x64 Vista yet.

Posted: 21. Oct 2008, 19:34
by SSCBrian
Yaytay wrote:There is a comment on another thread that says that people have had problems when they download it using IE.
I've just downloaded the 64 bit version using Firefox and I can open the zip fine.
Yep, that was the issue. Getting damaged for some reason when downloaded by IE. Worked fine in Safari!

Thanks much! I hadn't even noticed another thread about this!