VirtualBox

Ticket #2978 (closed defect: fixed)

Opened 1 year ago

Last modified 7 months ago

VBoxSVC.exe 100% CPU after WinXP SP3 Hibernate -> fixed in SVN/3.0.2

Reported by: dmaker Assigned to:
Priority: major Component: other
Version: VirtualBox 2.1.4 Keywords:
Cc: Guest type: other
Host type: other

Description

The title says almost all, VBoxSVC.exe takes all CPU for several minutes (~5-10mins) (on a P4 2.8GHz, 2GB RAM) so that Windows is almost completely frozen.. after a while the CPU hog stops and Windows is responding normally. No guest VMs loaded when hibernated! Only the VirtualBox main application window was open.

I'm not using a Win page file.. just mentioning if that counts, I've no problems with this other than that some games doesn't work perfectly.. but I suspect that it's not the problem here.

Sorry if this a duplicate ticket, tried to search and found only something vaguely similar related to this.

Attachments

VBox.log (43.7 kB) - added by dmaker on 2009-02-04 15:47:47.
Log of the guest OS session running when hibernating and waking back the host.

Change History

2009-01-07 04:24:36 changed by dmaker

Just for clarification, here's steps to reproduce:

  1. Open VB
  2. Hibernate host
  3. Awake the system from hibernate

= VBoxSVC.exe hogs CPU for several minutes (~5-10mins).. after a while the CPU hog stops and Windows is responding normally.

2009-02-02 13:38:42 changed by dmaker

Updated to 2.1.2 and problem still persists. I just tested and the CPU hog after host hibernate lasted about 9 minutes!!

Am I the only one who has this problem? Could somebody test this and report back here if it's reproducible?

P.S. Should the version metadata be updated in this ticket?

2009-02-02 13:55:14 changed by sandervl73

  • version changed from VirtualBox 2.1.0 to VirtualBox 2.1.2.

Add the VBox.log file of such a session please.

2009-02-03 15:32:21 changed by dmaker

I'm sorry but how's that going to help? I mean, isn't VBox.log files only generated when running guest OS's? Look at my steps to reproduce this problem, there's no step to run guest OS's = no VBox.log files! Or am I missing something here?

2009-02-03 15:44:03 changed by sandervl73

Misread then. Does the same happen when you have a VM running?

2009-02-04 15:47:47 changed by dmaker

  • attachment VBox.log added.

Log of the guest OS session running when hibernating and waking back the host.

2009-02-04 15:48:47 changed by dmaker

Yes it does.. of course I might add, because the VBoxSVC.exe is running whether I have or haven't got a guest OS running (or if only running guest OS, = main VB window closed).

I guess you were after the log file from that session? Maybe it's of some use. Only interesting IMHO is the following:

00:35:33.247 Changing the VM state from 'RUNNING' to 'SUSPENDED'.
00:35:47.401 ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={e3c6d4a1-a935-47ca-b16d-f9e9c496e53e} aComponent={Console} aText={Invalid machine state: 5)} aWarning=false, preserve=false
10:46:13.320 Changing the VM state from 'SUSPENDED' to 'RUNNING'.

2009-02-04 15:58:30 changed by sandervl73

What about suspend/resume? Same high cpu use by VBoxSVC? I can't reproduce this here with a Vista host.

2009-02-05 00:18:36 changed by dmaker

You surely mean standby?

I think I got new data to this problem; it seems that the hang and the length of it is connected to the standby/hibernate length.

At first I tried the standby really quickly, standby and resume after about 10 seconds, no hang at all. I decided to test again, I put my PC to standby and went to make some food and watched a movie + tv for about 2½-3 hours, resume brought the desktop to the screen very slowly and the VBoxSVC.exe was again hogging the CPU.. this lasted about 2-3 minutes.

Last time I tried the hibernate, the system was in that state for about 3-4 hours and the hang lasted about 4 minutes after resume.

And my hibernate test before that lasted overnight and the hang lasted about 9 minutes after resume.

(yes, I do keep rough notes when I test bugs/problems.. I'm not a newbie with testing)

I think that this is an important observation and could lead to the culprit more easily.

2009-02-05 09:33:49 changed by sandervl73

Interesting observation. Will give that a try.

2009-02-06 15:22:30 changed by sandervl73

Still can't reproduce. Neither with Vista or XP SP3. Duration of hiberate doesn't make any difference here. Are you willing to test an instrumented build to log what's going on on your system?

2009-02-06 21:37:28 changed by ennor

This also happens on my system (XP x64 SP2). VBoxSVC.exe runs at 100% on one of the cores for a good 20 minutes after the host was turned off for 24 hours.

2009-03-03 14:49:23 changed by sandervl73

  • version changed from VirtualBox 2.1.2 to VirtualBox 2.1.4.

#3388 has been marked as a duplicate.

2009-03-04 13:51:00 changed by GT

I have the same issue, Vista 64bit fully updated host, win 2003 guest

2009-03-06 18:15:37 changed by pullunder

I can test an instrumented build to log what's going on on my system.

2009-03-16 21:56:11 changed by jnilsson

I also have the same issue, running Vista Business SP1 (32-bit) as host OS and Virtual Box 2.1.4.

Let me know if I can be of any help.

(in reply to: ↑ description ) 2009-03-23 18:17:37 changed by woongbin@hotmail.com

This happens on my system when it comes back from S3 sleep, Vista 32bit SP1 host with VirtualBox 2.1.4.

2009-04-09 16:30:01 changed by pullunder

This still happens on 2.2.0 of virtualbox (Windows XP 5.1.2600)

2009-04-09 17:59:36 changed by whoknows

Same here with Windows Vista Ultimate SP1. I have this problem since 2.1.2 (I think!!!)

2009-04-09 18:01:50 changed by whoknows

Same here with Windows Vista Ultimate SP1 32-bits. I have this problem since 2.1.2 (I think!!!)

2009-04-25 01:01:37 changed by hallucinate

also seeing this problem in Windows Vista Home Basic. the cpu usage pegging by VBoxSVC.exe definitely seems directly associated to how long the system has been in suspend/hibernate/sleep.

2009-05-02 17:56:46 changed by randydu

Just installed 2.2.2r46594, Same issue after I hibernate my laptop (DELL Inspiron 1545,Vista Home Premium SP1; Intel Dual-Core T4200)for a night and the VBoxSVC.exe forces the *second* CPU core running at almost 100% usage for several minutes. No VM or VBox GUI is running at all.

This bug is the same as #2274.

2009-05-04 10:59:16 changed by CaptainFlint

I also have the same problem, VB 2.2.2.

Tested on hosts: 1. WinXP Pro SP3 32-bit, AMD Athlon X2 4600+ 2. Vista Business SP1 32-bit; Intel Core 2 Duo E6600

2009-05-16 14:59:16 changed by omoshiroi

I have the same issue with version 2.2.2 on Win7 64-bit (also had it with previous versions and on Vista 64-bit).

In Process Explorer, I see that the thread consuming the CPU is the following:
Thread 4812
50% CPU (100% of one of two 1.8GHz cores)
Start address: MSVCR80.dll!endthreadex+0x80
Stack:
0 MSVCR80.dll!operator new+0x2
1 VBoxSVC.exe+0x181e57
2 VBoxSVC.exe+0x1851cf
3 VBoxSVC.exe+0x18565a
4 VBoxRT.dll!RTTimerLRStop+0x108
5 VBoxRT.dll!RTThreadReadLockDec+0x1e4
6 VBoxRT.dll!RTSemMutexRelease+0x198
7 MSVCR80.dll!endthreadex+0x47
8 MSVCR80.dll!endthreadex+0x104
9 kernel32.dllBaseThreadInitThunk+0xd
10 ntdll.dllRtlUserThreadStart+0x21

2009-06-05 20:00:45 changed by andy-ms

I have the same issue on Vista64 SP2 with Virtual Box Version 2.2.4., unfortunately the issue is still not fixed.

2009-06-07 11:22:12 changed by ACqua

Same here: Vista64, Service Pack 1, Virtual Box 2.2.4 r47978

2009-06-17 18:25:06 changed by hallucinate

still quite broken in vista32 sp2 vbox 2.2.4

2009-06-19 15:30:09 changed by mgorelik

I do have this issue as well.

  • Lenovo T60p
  • Windows XP SP2
  • VirtualBox 2.2.4 (I did have the same problem with 2.2)

I do have this happen even when I have NO Virtual Machines running. This sort of sucks, because it take 2-7 min to bring laptop from the standby mode, because VBoxSVC.exe hugs CPU.

2009-06-21 12:07:27 changed by pjank

I've just created an account just to say this:

SAME HERE!

Toshiba Tecra M7 Windows7 RC 32bit VirtualBox 2.2.4

One has to remember to shut down VirtualBox completely *before* suspend/hibernation... otherwise it gets very very busy after waking up.

2009-06-28 13:51:26 changed by rkos

Same Issue: Windows XP Prof SP3 32bit and Virtualbox 2.2.0/2.2.4. (hibernating and standby)

2009-06-29 00:28:37 changed by baseliner

Same problem here with VB 2.2.4r47978 on Windows Vista Business 64-bit w/ SP2 running Windows Vista Business 32-bit VM. I usually don't hibernate the machine, only do standby, and as soon as it comes out of standby, it ties up the CPU 100% for several minutes. I have a Core 2 Duo 2.53 GHz processor w/ 4 GB RAM.

2009-07-01 10:49:37 changed by pjank

Seems like it's fixed in 3.0.0 :)

Thank you!

2009-07-01 11:18:20 changed by sandervl73

Can others confirm this as well?

2009-07-01 21:50:59 changed by pjank

I'm afraid I've said that too soon - the problem is still here :-(
Sorry for my mistake.

I guess the laptop didn't sleep long enough last time (just about 15-20 minutes or so) and that's why I didn't notice a high cpu usage.
This time, after waking up after about 10 hours, it's been thinking hard for sth like 10 minutes!?
It's the VBoxSvc.exe process showing 50% CPU usage on a Core2 Duo CPU.

2009-07-02 16:59:29 changed by baseliner

I can also confirm that the problem still remains with the new 3.0.0 release as well. Still hogging the CPU at 50% for a long time.

2009-07-02 21:37:48 changed by dmaker

Yep, problem still remains here too with 3.0.0. VBoxSVC.exe still churns away and hogs CPU completely. Just hibernated for about 3 hours and the "freeze" took about 3 minutes. Is there any progress on nailing this issue? Have any of the testers/coders been able to reproduce this?

2009-07-03 09:29:16 changed by sandervl73

Unfortunately we are unable to reproduce the problem. I even have the exact same machine (Thinkpad T60p) as one of the reporters with XP and don't see it. Are all of you able to reproduce this even when no VM is running? (just the VirtualBox GUI)

2009-07-03 11:20:57 changed by DaveyWavey

I am experiencing the exact same problem. I was using 2.2.4, but have recently upgraded to 3.0.0 and the problem remains.

My system: Windows XP Media Center Edition 2002 (basically the same as XP Pro), SP3 Dell Inspiron 6400 Intel Core 2 Duo T7200 @ 2.0GHz 1GB RAM Latest BIOS

I'm running Ubuntu Server 9.04 as a guest. I pause the guest and hibernate, but when I resume one of my CPU cores maxes out for an extended period (I've not yet waited to see how long for, but it's in excess of 10 mins). The offending process is VBoxSVC.exe.

Shutting down the guest does not stop this, however closing the VirtualBox GUI does.

2009-07-03 15:02:57 changed by woongbin@hotmail.com

@sandervl73: It happens as long as VBoxSVC.exe process is alive and you either go sleep or hibernate your machine and wake it up again.

2009-07-03 15:24:41 changed by sandervl73

Volunteers that wish to try out test builds should say so here. I'll wait a few days and will then send out links to test binaries next week. We are still unable to reproduce this problem, so the only solution is to try out a few things. Thanks in advance.

2009-07-03 15:27:37 changed by pullunder

@sandervl73: I am able to reproduce this with just the GUI (even when no VM is running) on a Vaio 1GB Pentium M 1.2 GHz with Win XP SP3 host. I am still using Vbox 2.2.0, because setup ends prematurely for 2.2.4 and 3.0.0 (but I don't need any update before #2978 is fixed ;-) ).

Yes, please send a test binary link.

2009-07-03 16:00:10 changed by CaptainFlint

I can try the test build too.

2009-07-03 16:48:20 changed by pjank

I volunteer as well.

2009-07-03 20:23:53 changed by omoshiroi

I volunteer to try out test builds.

2009-07-03 20:47:24 changed by woongbin@hotmail.com

I'd like to try the test build as well.

(follow-up: ↓ 46 ) 2009-07-04 02:08:15 changed by adda

This is still a problem in VirtualBox 3.0.0 r49315. I am running a Vista 64-bit host. I notice the problem when I have a VM running or paused and I put the host to sleep. I haven't tried other scenarios. After I kill VBoxSvc and unpause the VM and try to enter seamless mode, it errors saying that there isn't enough video memory allocated and I should allocate more than 1mb of video memory... when it has already been allocated 64mb.

(in reply to: ↑ 45 ) 2009-07-07 02:38:09 changed by kevinnc

I've been experienced this symptom from 2.2.2 , 2.2.4 till 3.0.0, now I found that when I downgrade to install 1.6.6, it seems to be no such issue. Please give it a try if you like.

2009-07-08 12:50:39 changed by bavanandel

I've only noticed this issue today for the first time. I've been using different versions from 1.6.x up to 3.0.0 (current). Could it have anything to do with hardware virtualization? Until yesterday, my system bBIOS was locked not to use it, and I've just unlocked it.

After sleeping tonight (not hibernating), I woke up my PC this morning to see that VBoxSvc.exe was hogging one of the two cores of my Core2Duo CPU. The VirtualBox.exe process that ran the machine (Ubuntu Server Jaunty) was very low on CPU, as usual, and both inside the machine and the VirtualBox GUI there were no signs of slowness whatsoever. I noticed however that the Session Information Dialogue, which I still had open, did not respond and I had to close it (which went smooth).

I haven't tested any further for now, but these observations were new to me.

2009-07-08 12:52:12 changed by bavanandel

Forgot to mention, my host system runs Vista x86 (32bit), so apparently it affects both 32 and 64 bit versions of the software.

2009-07-08 14:57:07 changed by sandervl73

Looks like I found the problem. Will be fixed in 3.0.2. No need for testing anymore as I've been able to reproduce it. Thanks anyway!

2009-07-08 15:40:49 changed by sandervl73

  • summary changed from VBoxSVC.exe 100% CPU after WinXP SP3 Hibernate to VBoxSVC.exe 100% CPU after WinXP SP3 Hibernate -> fixed in SVN/3.0.2.

2009-07-10 21:17:12 changed by frank

  • status changed from new to closed.
  • resolution set to fixed.


ContactPrivacy policy