Page 1 of 1

Guru Meditation VMSetError: Failed to reserve physical memory

Posted: 28. Mar 2022, 23:37
by JeremyB
I set up Virtualbox several years ago so that a family member could run some old applications they need to use regularly. Their setup has worked for many years until today when Guru Meditation error messages appeared and they cannot use the VM. The VBox.log file is 250kb and max size allowed is 128kb so I've posted the last lines of the logfile where the error messages appear. It is some kind of memory error but I can't tell from the error messages which host OS or VM settings to look at. Any assistance gratefully received.

Configuration
Virtualbox 4
Host OS – Windows 7
Guest OS – Windows XP
Family member very unlikely to have changed any settings between "working" and "not working".

Steps which resulted in this behaviour
1. Boot host machine
2. Start Virtual machine and launch application
3. Wait. After about 5 minutes the VM stops and the Guru Meditation error message appears

Last lines of VBox.log are

00:07:43.727246 ********************* End of statistics **********************
00:07:43.727575 VMSetError: D:\tinderbox\win-4.3\src\VBox\VMM\VMMR3\MM.cpp(673) int __cdecl MMR3AdjustFixedReservation(struct VM *,int,const char *); rc=VERR_VMM_SET_JMP_ABORTED_RESUME
00:07:43.727584 VMSetError: Failed to reserve physical memory (0x1804 -> 0x1800; VMMDev Heap)
00:07:43.727962 VMSetError: D:\tinderbox\win-4.3\src\VBox\VMM\VMMR3\MM.cpp(673) int __cdecl MMR3AdjustFixedReservation(struct VM *,int,const char *); rc=VERR_VMM_SET_JMP_ABORTED_RESUME
00:07:43.727967 VMSetError: Failed to reserve physical memory (0x1804 -> 0x1404; VMMDev)
00:07:43.729717 VMSetError: D:\tinderbox\win-4.3\src\VBox\VMM\VMMR3\MM.cpp(673) int __cdecl MMR3AdjustFixedReservation(struct VM *,int,const char *); rc=VERR_VMM_SET_JMP_ABORTED_RESUME
00:07:43.729723 VMSetError: Failed to reserve physical memory (0x1804 -> 0x404; VRam)
00:07:43.755623 NAT: zone(nm:mbuf_cluster, used:0)
00:07:43.756397 NAT: zone(nm:mbuf_packet, used:0)
00:07:43.756419 NAT: zone(nm:mbuf, used:1)
00:07:43.756434 NAT: zone(nm:mbuf_jumbo_pagesize, used:0)
00:07:43.757195 NAT: zone(nm:mbuf_jumbo_9k, used:0)
00:07:43.757603 NAT: zone(nm:mbuf_jumbo_16k, used:0)
00:07:43.757851 NAT: zone(nm:mbuf_ext_refcnt, used:0)
00:07:43.773969 VMMR3Term: R0 term failed, rc=VERR_VMM_SET_JMP_ABORTED_RESUME (-2708) - VMM set jump resume error.. (warning)
00:07:43.774187 Changing the VM state from 'DESTROYING' to 'TERMINATED'.
00:07:44.132528 ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={8ab7c520-2442-4b66-8d74-4ff1e195d2b6} aComponent={Console} aText={The object is not ready}, preserve=false

Re: Guru Meditation VMSetError: Failed to reserve physical memory

Posted: 29. Mar 2022, 11:01
by mpack
We've had several discussions about this already, e.g. viewtopic.php?f=6&t=105586.

Re: Guru Meditation VMSetError: Failed to reserve physical memory

Posted: 29. Mar 2022, 15:02
by fth0
Yes, but this one is somewhat different, apparently giving additional information. Please provide the complete (zipped) VBox.log file.

Re: Guru Meditation VMSetError: Failed to reserve physical memory

Posted: 29. Mar 2022, 16:58
by mpack
Win7 host, VERR_VMM_SET_JMP_ABORTED_RESUME error. It's going to be the same problem. Probably all caused by an AVG AV update.

Re: Guru Meditation VMSetError: Failed to reserve physical memory

Posted: 29. Mar 2022, 19:22
by fth0
mpack wrote:Win7 host, VERR_VMM_SET_JMP_ABORTED_RESUME error. It's going to be the same problem.
Yes, that's what I hope, too. I'll try and describe the difference:

So far, I've noticed 5 affected users in total. For 3 of them, I've seen VBox.log files, which "only" (*) contain the Guru Meditation. For the 2 others, the excerpts of the VBox.log files contain information about multiple errors in MMR3AdjustFixedReservation(), which is a (slightly?) different outcome.

(*) Admittedly, a Guru Meditation provides very much information. ;)
mpack wrote:Probably all caused by an AVG AV update.
For one user uninstalling AVG helped, for another user uninstalling Avast allegedly didn't help. So I agree that so-called security software is a primary suspect here. But if it's not, it won't be fun to investigate setjmp/longjmp issues, and I wouldn't hold my breath for it to happen ...

Re: Guru Meditation VMSetError: Failed to reserve physical memory

Posted: 29. Mar 2022, 20:11
by fth0
fth0 wrote:multiple errors in MMR3AdjustFixedReservation()
FWIW, a similar error has been fixed in VirtualBox 5.0.24, albeit for Linux hosts (15439).

@JeremyB: Since you're probably using VirtualBox 4.3, ... ;)