[No Bug] GURU_MEDITATION when trying to start a Win7 Sp1 VM

Postings relating to old VirtualBox pre-releases
Andre.Ziegler
Posts: 62
Joined: 17. Jul 2007, 13:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows Embedded Standard 7, Windows Vista Sp2, Linux (Ubuntu, Linux Mint, Zorin)

[No Bug] GURU_MEDITATION when trying to start a Win7 Sp1 VM

Post by Andre.Ziegler »

// Solved by uninstalling Prio (http://www.prnwatch.com/prio.html)


I've installed the 4.2 Beta1, created a Windows 7 VM installed Win7 and made a shutdown to later changed the settings. I've increases the guest RAM to 3GB and now the VM crashes at boot with a GURU_MEDITATION. The confusing part is the reason for the crash:
VirtualBox VM 4.2.0_BETA1 r79756 win.amd64 (Aug 3 2012 15:16:20) release log
00:00:01.373562 Log opened 2012-08-10T11:26:11.390625000Z
00:00:01.373578 OS Product: Windows 7
00:00:01.373588 OS Release: 6.1.7601
00:00:01.373592 OS Service Pack: 1
00:00:01.373615 Host RAM: 16383MB RAM, available: 12794MB

00:00:14.468339 PGM: Failed to procure handy pages; rc=VERR_NO_MEMORY rcAlloc=VINF_SUCCESS rcSeed=VINF_SUCCESS cHandyPages=0x8
00:00:14.468350 cAllPages=0xd044c cPrivatePages=0xc81f8 cSharedPages=0x0 cZeroPages=0x822a
00:00:14.468383 GMM: Statistics:
00:00:14.468383 Allocated pages: b7dfc
00:00:14.468386 Maximum pages: c009e
00:00:14.468387 Ballooned pages: 0
00:00:14.468426 PGM: Failed to procure handy pages; rc=VERR_NO_MEMORY rcAlloc=VINF_SUCCESS rcSeed=VINF_SUCCESS cHandyPages=0x7
00:00:14.468428 cAllPages=0xd044c cPrivatePages=0xc81f9 cSharedPages=0x0 cZeroPages=0x8229
00:00:14.468436 GMM: Statistics:
00:00:14.468436 Allocated pages: b7dfc
00:00:14.468437 Maximum pages: c009e
00:00:14.468438 Ballooned pages: 0
00:00:14.468454 VM: Raising runtime error 'HostMemoryLow' (fFlags=0x2)
00:00:14.468465 PGM: Failed to procure handy pages; rc=VERR_NO_MEMORY rcAlloc=VINF_SUCCESS rcSeed=VINF_SUCCESS cHandyPages=0x7
00:00:14.468471 cAllPages=0xd044c cPrivatePages=0xc81f9 cSharedPages=0x0 cZeroPages=0x8229
00:00:14.468502 GMM: Statistics:
00:00:14.468502 Allocated pages: b7dfc
00:00:14.468503 Maximum pages: c009e
00:00:14.468504 Ballooned pages: 0
00:00:14.468513 VM: Raising runtime error 'HostMemoryLow' (fFlags=0x2)
00:00:14.468517 AssertLogRel E:\tinderbox\win-rel\src\VBox\VMM\VMMR3\VMM.cpp(1707) int __cdecl VMMR3EmtRendezvous(struct VM *,unsigned int,int (__cdecl *)(struct VM *,struct VMCPU *,void *),void *): !pVCpu->vmm.s.fInRendezvous
00:00:14.468530 Console: VM runtime error: fatal=false, errorID=HostMemoryLow message="Unable to allocate and lock memory. The virtual machine will be paused. Please close applications to free up memory or close the VM"
00:00:14.468641 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'.
00:00:14.468821 VMR3Suspend:
00:00:14.468851 RUNNING -> SUSPENDING, RUNNING_LS -> SUSPENDING_EXT_LS failed, because the VM state is actually GURU_MEDITATION
00:00:14.468865 VMSetError: E:\tinderbox\win-rel\src\VBox\VMM\VMMR3\VM.cpp(3491) int __cdecl vmR3TrySetState(struct VM *,const char *,unsigned int,...); rc=VERR_VM_INVALID_VM_STATE
00:00:14.526292 VMSetError: VMR3Suspend failed because the current VM state, GURU_MEDITATION, was not found in the state transition table
00:00:14.526338 Console: VM runtime error: fatal=false, errorID=HostMemoryLow message="Unable to allocate and lock memory. The virtual machine will be paused. Please close applications to free up memory or close the VM"
So why can't a start a VM if there are 12GB RAM free?
Attachments
VBox.png
VBox.png (7.24 KiB) Viewed 8492 times
VBox.log
(57.66 KiB) Downloaded 19 times
Last edited by Andre.Ziegler on 6. Sep 2012, 23:08, edited 1 time in total.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: GURU_MEDITATION when trying to start a Windows 7 Sp1 VM

Post by mpack »

Look in the tasklist for the memory hog.
Andre.Ziegler
Posts: 62
Joined: 17. Jul 2007, 13:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows Embedded Standard 7, Windows Vista Sp2, Linux (Ubuntu, Linux Mint, Zorin)

Re: GURU_MEDITATION when trying to start a Windows 7 Sp1 VM

Post by Andre.Ziegler »

what? There are 12GB RAM FREE on my host PC and my VM only needs 3GB!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: GURU_MEDITATION when trying to start a Windows 7 Sp1 VM

Post by Perryg »

There are some 3rd party applications that will cause this issue. Google Chrome, and a few Virus software programs.
DNS
Posts: 107
Joined: 2. May 2011, 00:16
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: xp win7

Re: GURU_MEDITATION when trying to start a Windows 7 Sp1 VM

Post by DNS »

Hi Perry,

what kind of conflicts is Chrome known to cause with VirtualBox? Is it just this RAM issue or is it something more serious in general?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: GURU_MEDITATION when trying to start a Windows 7 Sp1 VM

Post by Perryg »

It was the memory issue and not being able to set the guest over 1GB even though there was plenty available. I don't have the link at the moment but this was discussed at the W7 forums and where I got the information. You can also search bugtracker and I know it was discussed there as well. If memory serves me it was the section of Google that sends information back to Google.
DNS
Posts: 107
Joined: 2. May 2011, 00:16
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: xp win7

Re: GURU_MEDITATION when trying to start a Windows 7 Sp1 VM

Post by DNS »

Ok so that was in the past, not something still prevalent now is it?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: GURU_MEDITATION when trying to start a Windows 7 Sp1 VM

Post by Perryg »

I have no idea if Google has fixed this or not (I don't use it). But one of the 3rd party apps that did in fact cause this issue. The only way I know to find out is to stop services and see if you can start the guest.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: GURU_MEDITATION when trying to start a Windows 7 Sp1 VM

Post by mpack »

In any case Google Updater was just one example of an application which causes this problem. The OP asked why you would get this message when the host seems to have plenty of free memory. Now you know. The actual cause is the host lying about free memory, combined with another application not freeing memory when it is supposed to. Both issues are beyond VirtualBox's control.
Andre.Ziegler
Posts: 62
Joined: 17. Jul 2007, 13:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows Embedded Standard 7, Windows Vista Sp2, Linux (Ubuntu, Linux Mint, Zorin)

Re: GURU_MEDITATION when trying to start a Windows 7 Sp1 VM

Post by Andre.Ziegler »

I don't have chrome installed and Chrome was not running. Sorry this IS a VB issue. Other tools like xperfview from the Windows Perf toolkit can malloc over 12GB :roll:
Attachments
Windows_xperfview_mem.png
Windows_xperfview_mem.png (58.99 KiB) Viewed 8431 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: GURU_MEDITATION when trying to start a Windows 7 Sp1 VM

Post by Perryg »

@Andre,
Can you produce something that actually shows the VirtualBox process as using this memory?
Can you also produce something that shows that some other 3rd party app is not causing this?

If you can then I would submit it to the DEVs at bugtracker.

I have honestly tracked most of these and it has always been something else. Of course you could be the first to actually have an issue though and if so they would be the ones to see it.
Andre.Ziegler
Posts: 62
Joined: 17. Jul 2007, 13:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows Embedded Standard 7, Windows Vista Sp2, Linux (Ubuntu, Linux Mint, Zorin)

Re: GURU_MEDITATION when trying to start a Windows 7 Sp1 VM

Post by Andre.Ziegler »

I think we should ask it here?
Please do NOT open bug reports at http://www.virtualbox.org/wiki/Bugtracker but use our VirtualBox Beta Feedback forum to report any problems with the Beta.
But from what I see VB allocates RAM as "driver locked", so Chrome has nothing to do with it, because chrome is user mode app. I use NOD32, is it known to cause issues?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: GURU_MEDITATION when trying to start a Windows 7 Sp1 VM

Post by Perryg »

Don't just fixate on chrome. There are other apps that cause this as well and the only way to find out is by killing services until you find it.

Here is the topic explaining the google crash handler. https://www.virtualbox.org/ticket/10219 ... num_hist=4

Also assuming that this just started happening I would think you could think back and remember what was actually installed since it did work and now.

Another thing to test is remove this version and install 4.1.18 and see if it goes away. And yes you are right it should stay here, unless it is doing this one 4.1.18 as well.
Andre.Ziegler
Posts: 62
Joined: 17. Jul 2007, 13:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows Embedded Standard 7, Windows Vista Sp2, Linux (Ubuntu, Linux Mint, Zorin)

Re: GURU_MEDITATION when trying to start a Windows 7 Sp1 VM

Post by Andre.Ziegler »

I can't really say when it first happened. I tried it yesterday and it worked. I'll test the RC and see how this version goes.
Andre.Ziegler
Posts: 62
Joined: 17. Jul 2007, 13:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows Embedded Standard 7, Windows Vista Sp2, Linux (Ubuntu, Linux Mint, Zorin)

Re: GURU_MEDITATION when trying to start a Windows 7 Sp1 VM

Post by Andre.Ziegler »

I have an idea. I have activated the option DisablePagingExecutive to get Callstacks in xperf:

http://blogs.msdn.com/b/pigscanfly/arch ... xperf.aspx

can this cause such issues?
Post Reply