VirtualBox crashes at random with Expression: cRefs == PGMPOOL_TD_CREFS_PHYSEXT

Discussions related to using VirtualBox on Windows hosts.
Post Reply
jedld
Posts: 1
Joined: 4. Aug 2021, 23:21

VirtualBox crashes at random with Expression: cRefs == PGMPOOL_TD_CREFS_PHYSEXT

Post by jedld »

I have a Ubuntu 18.04.5 LTS guest running on a windows host and I intermittently get a guru meditation:

Code: Select all

07:18:00.699010 !!R0-Assertion Failed!!
07:18:00.699010 Expression: cRefs == PGMPOOL_TD_CREFS_PHYSEXT
07:18:00.699010 Location  : F:\tinderbox\win-6.1\src\VBox\VMM\VMMAll\PGMAllPool.cpp(4132) void __cdecl pgmPoolTrackPhysExtDerefGCPhys(struct PGMPOOL *,struct PGMPOOLPAGE *,union PGMPAGE *,unsigned short)
07:18:00.699159 cRefs=0 pPhysPage=A-:RAM:000fdb800000:0008a00:-0000 pPage=ffff907eece1db10:{.idx=498}
07:18:00.699167 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'
07:18:00.699181 Console: Machine state changed to 'GuruMeditation'
07:18:00.699497 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
07:18:00.699498 !!
07:18:00.699498 !!         VCPU3: Guru Meditation -2701 (VERR_VMM_RING0_ASSERTION)
07:18:00.700160 !!
07:18:00.700165 !!R0-Assertion Failed!!
07:18:00.700165 Expression: cRefs == PGMPOOL_TD_CREFS_PHYSEXT
07:18:00.700166 Location  : F:\tinderbox\win-6.1\src\VBox\VMM\VMMAll\PGMAllPool.cpp(4132) void __cdecl pgmPoolTrackPhysExtDerefGCPhys(struct PGMPOOL *,struct PGMPOOLPAGE *,union PGMPAGE *,unsigned short)
07:18:00.700166 cRefs=0 pPhysPage=A-:RAM:000fdb800000:0008a00:-0000 pPage=ffff907eece1db10:{.idx=498}
07:18:00.700167 !! ACTIVE TRAP=0e ERRCD=6 CR2=000000028e800000 PC=ffffffffa08bd377 Type=0 cbInstr=ff fIcebp=false (Guest!)
07:18:00.700171 !!
07:18:00.700171 !! CallRing3JmpBuf:
07:18:00.700171 !!
Not sure if it has any connection but it only started happening after I upgraded my system to a Ryzen 5800x with a 550 motherboard from a Ryzen 3600x B350.


Attached is my VBox.log
Attachments
VBox.zip
(114.47 KiB) Downloaded 10 times
Martin
Volunteer
Posts: 2561
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: VirtualBox crashes at random with Expression: cRefs == PGMPOOL_TD_CREFS_PHYSEXT

Post by Martin »

00:00:01.795312 Host RAM: 65447MB (63.9GB) total, 51591MB (50.3GB) available
00:00:01.978182 RamSize <integer> = 0x0000000b95c00000 (49 757 028 352, 47 452 MB, 46.3 GB)

My guess is that you don't have so much free memory in contiguous blocks.
Does the guest run if you lower the memory size?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VirtualBox crashes at random with Expression: cRefs == PGMPOOL_TD_CREFS_PHYSEXT

Post by mpack »

Allocating 100% of available CPU cores (i.e. 8 out of 8) isn't a great idea either.

Why does a VM need to hog so much of the host's resources? Unless you're certain that it's a vital necessity then I'd reduce RAM to 16GB with 2 CPU cores (not more). I'd also enable 3D acceleration.
Post Reply