VirtualBox crashes with Windows 10 guest

Discussions related to using VirtualBox on Mac OS X hosts.
wqiu
Posts: 14
Joined: 2. Aug 2018, 23:12

VirtualBox crashes with Windows 10 guest

Post by wqiu »

Hi,
just installed Windows 10 1803 guest on a a Macbook Pro with macOS 10.13.6.
virtualbox is 5.2.16

the guest has randomly crashed several times. I managed to save the crash report on the mac (see attached).
I wonder if anyone else is experiencing this crash?
any help is appreciated.

Best
Attachments
crash_report.txt
(95.56 KiB) Downloaded 58 times
Last edited by socratis on 3. Aug 2018, 00:38, edited 1 time in total.
Reason: Changed title to something more appropriate.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VirtualBox crashes with Windows 10 guest

Post by socratis »

wqiu wrote:the guest has randomly crashed several times
You attached a host crash, a VirtualBox crash on your host. Mac=Host, Win10=Guest.

Does this happen every time that you launch this VM?
Does it happen with any other VMs?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
wqiu
Posts: 14
Joined: 2. Aug 2018, 23:12

Re: VirtualBox crashes with Windows 10 guest

Post by wqiu »

for most of the time, the VM works perfectly. don't know what triggers it, all of sudden, the VM is gone, and macOS tries to send the error report to Apple.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VirtualBox crashes with Windows 10 guest

Post by socratis »

It's not the VM that's going, it's VirtualBox that's crashing. Now, that's quite unusual.

Right-click on the VM in the VirtualBox Manager and select "Show Log". Save only the first "VBox.log", ZIP it and attach it to your response (see the "Upload attachment" tab below the reply form).
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
wqiu
Posts: 14
Joined: 2. Aug 2018, 23:12

Re: VirtualBox crashes with Windows 10 guest

Post by wqiu »

attached is the log file.
Attachments
VBox copy.log
(113.03 KiB) Downloaded 54 times
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VirtualBox crashes with Windows 10 guest

Post by socratis »

You must have missed the ZIP it part... ;)

I changed the title of the thread from "Windows 10 guest crashes" to "VirtualBox crashes with Windows 10 guest", to better reflect the situation.

Other than that, your VM looks spotless. Anything "funny" installed on your Mac? Any system-wide modifying/monitoring/altering software? From anything that uses low level drivers to antivirus to ...

Please post the output of the following command from the Terminal:
  • kextstat | grep -v com.apple
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
wqiu
Posts: 14
Joined: 2. Aug 2018, 23:12

Re: VirtualBox crashes with Windows 10 guest

Post by wqiu »

Oh I am sorry I thought the log file is small so didn't bother to zip it :oops:
Thanks for fixing the title

The machine is fairly new so there isn't much software installed yet. The only questionable software installed is the Apple 10.13.6 Supplemental Update, which was trying to fix the thermal issue on new macbook pro 2018s

the output of the command kextstat | grep -v com.apple is:
Index Refs Address            Size       Wired      Name (Version) UUID <Linked Against>
  176    3 0xffffff7f85a4b000 0x64000    0x64000    org.virtualbox.kext.VBoxDrv (5.2.16) 8F6F825C-9920-39E4-AF20-6DD4F233D4F1 <7 5 4 3 1>
  178    0 0xffffff7f843af000 0x8000     0x8000     org.virtualbox.kext.VBoxUSB (5.2.16) 1731469A-4A2D-32D4-8F03-4D138AAE1FE9 <177 176 51 7 5 4 3 1>
  179    0 0xffffff7f843b7000 0x5000     0x5000     org.virtualbox.kext.VBoxNetFlt (5.2.16) 59F71856-C064-3B98-A8AD-B2C33164FBC2 <176 7 5 4 3 1>
  180    0 0xffffff7f843bc000 0x6000     0x6000     org.virtualbox.kext.VBoxNetAdp (5.2.16) 24514714-1702-3FF6-90F8-8F3E79B4D8A4 <176 5 4 1>
Last edited by socratis on 3. Aug 2018, 01:28, edited 1 time in total.
Reason: Enclosed the information in [pre] tag for better readability
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VirtualBox crashes with Windows 10 guest

Post by socratis »

wqiu wrote:The machine is fairly new so there isn't much software installed yet.
I was afraid you were going to say that, because the systems just came out. Hmm...

I don't have anything more for you at the moment. VirtualBox crashing is so rare that we don't have enough datapoints yet (and hopefully not in the future). I have some questions regarding the CPU that you have (i7-8850H) which is relatively new. I'm going to try and draw a developer's attention tomorrow and see what they have to say about it.

In the meantime, if you could install a Linux distro just for comparison, that would be great. Mint, Ubuntu, they're relatively easy to install and work with...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
wqiu
Posts: 14
Joined: 2. Aug 2018, 23:12

Re: VirtualBox crashes with Windows 10 guest

Post by wqiu »

Thanks for the help. I really appreciate it.
Will try to create a Linux VM tomorrow and see if it happens again.
wqiu
Posts: 14
Joined: 2. Aug 2018, 23:12

Re: VirtualBox crashes with Windows 10 guest

Post by wqiu »

I installed Kubuntu, and played a few times. most of the time it works perfectly. Just 10 minutes ago when I shut down the ubuntu VM, and immediately after the guest window disappears (because of the shut down I guess ), macOS reported the VirtualBox crash again.

I have attached the VirtualBox log.

again, thanks for the help.
Attachments
VBox.log.zip
(31.75 KiB) Downloaded 29 times
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VirtualBox crashes with Windows 10 guest

Post by socratis »

Since I don't have 10.13.6, there is a slight chance that this might be the issue. Another user (sddawson) reported a crash in the VirtualBox process with a slightly different scenario. See Can't use Win10 guest after fullscreen mode.

Maybe you two can coordinate with each other and verify each other's behavior?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
sddawson
Posts: 5
Joined: 8. Aug 2018, 01:36
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows

Re: VirtualBox crashes with Windows 10 guest

Post by sddawson »

Not sure what we can coordinate on. Our crash logs are a bit similar, but not identical. I just cloned a Win7 VM, and after I send that fullscreen, save its state and restart it, I get exactly the same problem as my Win10 VM. Sure looks like a bug in Vbox, and maybe something to do with High Sierra or 10.13.6 in particular. What should the next step be?
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: VirtualBox crashes with Windows 10 guest

Post by andyp73 »

I have 10.13.6 running on a 5K 2017 iMac (iMac18,3). I haven't noticed any problems with my Windows 10 vm. Let me try following your full screen, save state and restart sequence and see what happens.

-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VirtualBox crashes with Windows 10 guest

Post by mpack »

It could be a race condition of some kind. I would try allocating fewer cores to the VM, since allocating 100% of available cores is something you should usually avoid.

Oh, and please eject the GAs ISO from the VM.
wqiu
Posts: 14
Joined: 2. Aug 2018, 23:12

Re: VirtualBox crashes with Windows 10 guest

Post by wqiu »

In my case, I have a 6-core (12 threads) CPU, so allocating 6 "CPU" to VM is still well within the green zone. I also have 32GB of RAM, and I can comfortably allocate 16GB of RAM to the VM.
However, ever since I lowered the number of "CPU"s to 4 for the Windows 10 guest VM and the Ubuntu 18.04 VM, Virtualbox seems to be stable now. I haven't seen a crash in 2 days. :roll:

I have also re-installed VirtualBox, though not sure if it helped or not

P.S. I also tried the fullscreen->save state->restart VM sequence for both Win10 and Ubuntu VM. Both of them are restored without any crashes.
Last edited by wqiu on 8. Aug 2018, 17:04, edited 2 times in total.
Post Reply