VirtualBox crashes with Windows 10 guest

Discussions related to using VirtualBox on Mac OS X hosts.

Re: VirtualBox crashes with Windows 10 guest

Postby socratis » 8. Aug 2018, 16:47

wqiu wrote:I have a 6-core (12 threads) CPU, so allocating 6 "CPU" to VM is still well within the green zone.
No, it's not, because VirtualBox cares about cores only, not threads. And if you allocate one core to VirtualBox, the host loses one core (and two threads). So, no, 6-cores is the limit and it's not recommended at all.

I can't believe I missed that detail when I first looked at the log! :shock:
That would have been my #1 recommendation. :(
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.
socratis
Site Moderator
 
Posts: 27401
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: VirtualBox crashes with Windows 10 guest

Postby wqiu » 8. Aug 2018, 17:15

then why in the Virtualbox setting, it says I have 12 CPUs?
Attachments
Screen Shot 2018-08-08 at 9.11.08 AM.jpg
Screen Shot 2018-08-08 at 9.11.08 AM.jpg (26.93 KiB) Viewed 1515 times
wqiu
 
Posts: 14
Joined: 2. Aug 2018, 23:12

Re: VirtualBox crashes with Windows 10 guest

Postby socratis » 8. Aug 2018, 17:37

00:00:01.268594 CPUM: Logical host processors: 12 present, 12 max, 12 online, online mask: 0000000000000fff
00:00:01.268597 CPUM: Physical host cores: 6
That's why. You have 6 cores (that's where the green stops) and 12 threads (logical processors).

00:00:01.268856 Full Name: "Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz"
Take a look at what Intel has to say about your i7-8850H CPU. Make sure to click on the "?" next to the "# of Cores" and "# of Threads" to see what I'm talking about...
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.
socratis
Site Moderator
 
Posts: 27401
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: VirtualBox crashes with Windows 10 guest

Postby wqiu » 8. Aug 2018, 17:55

I understand that I have 6 cores, 12 threads on my host.
I guess the confusion is, if I allocate 1 "CPU" for the VM, I loose 1 core on the host, why would Virtualbox even display 12 CPUs in the setting?

My understanding is that, when Virtualbox allocating "CPU"s, it counts 1thread as 1"CPU". To prove that, I allocated 4 "CPU"s for the Win10 VM. After I launched the VM,
within Win10 resource monitor, I see 4 threads CPU0-CPU3, so that's 2-cores (4 threads)

but on my Windows desktop, I have one 4-core (8 threads)CPU, and in the resource monitor, I can see 4-cores (8 CPUs CPU0-CPU7)
Attachments
cpu.jpg
cpu.jpg (72.82 KiB) Viewed 1509 times
Screen Shot 2018-08-08 at 9.50.55 AM.png
Screen Shot 2018-08-08 at 9.50.55 AM.png (38.41 KiB) Viewed 1510 times
wqiu
 
Posts: 14
Joined: 2. Aug 2018, 23:12

Re: VirtualBox crashes with Windows 10 guest

Postby mpack » 8. Aug 2018, 18:23

wqiu wrote:I guess the confusion is, if I allocate 1 "CPU" for the VM, I loose 1 core on the host, why would Virtualbox even display 12 CPUs in the setting?

You are offered up to 12 vCPUs because the host OS is reporting that 12 CPUs are available. However VirtualBox has analyzed the CPU and believes there are only actually 6 cores (hence the red bar), but it will not prevent you from overriding what it thinks, and treating all 12 CPUs as cores.

It is up to you to understand your tools. You know that you only have 6 cores. You know that your host needs a core, or preferably 2. Therefore you also know that you should not allocate more than 4 cores to any VM.

For people who are confused by this I have a basic question I always ask: if threads are as good as cores, why doesn't your CPU have 1 core and 12 threads? That would be much cheaper in silicon terms, so if they are equivalent then that would be the obvious way to go. If you know they are not equivalent then where's the beef?
mpack
Site Moderator
 
Posts: 30055
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

Postby wqiu » 9. Aug 2018, 04:23

regardless the number of cores argument, the VB crash is still there. I just experienced another one ( note the number of cores is 4)
Attached is the crash report generated by macOS, and the box.log
Attachments
VBox.log.zip
(18.46 KiB) Downloaded 18 times
macos_crash_report.txt.zip
(21.38 KiB) Downloaded 22 times
wqiu
 
Posts: 14
Joined: 2. Aug 2018, 23:12

Re: VirtualBox crashes with Windows 10 guest

Postby mpack » 9. Aug 2018, 14:21

Unfortunately the new log is incomplete. However as before there is no sign in the log that the VM crashed, so it looks like some kind of code running on your host is what crashed. Whether that code is part of VirtualBox or something else, I have no idea.

Perhaps it's time to raise a BugTracker ticket, attaching the latest log file and OS X crash report.
mpack
Site Moderator
 
Posts: 30055
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

Postby socratis » 9. Aug 2018, 15:30

Let's try the big report first... Post the output of the command:

    ls -laed \
    / \
    /Applications \
    /Applications/VirtualBox.app \
    /Applications/VirtualBox.app/Contents/MacOS/VBoxRT.dylib \
    /private \
    /private/etc \
    /private/etc/sudoers \
    /private/tmp
At the same Terminal window, and with the VM completely shut down, enter the following command:

    VBoxBugReport "<VMname>"
where "<VMname>" is the actual name of the VM that just crashed VirtualBox. This will generate a "YYYY-MM-DD-hh-mm-ss-bugreport.tgz" file in the current directory (most probably your home directory). Attach that file in 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.
socratis
Site Moderator
 
Posts: 27401
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: VirtualBox crashes with Windows 10 guest

Postby wqiu » 9. Aug 2018, 18:04

The command output and VB report files are attached
drwxr-xr-x  29 root  wheel      928 31 Jul 21:02 /
drwxrwxr-x+ 58 root admin 1856 8 Aug 20:48 /Applications
0: group:everyone deny delete
drwxr-xr-x 3 root admin 96 5 Aug 10:41 /Applications/VirtualBox.app
-rw-r--r-- 1 root admin 5529952 16 Jul 09:19 /Applications/VirtualBox.app/Contents/MacOS/VBoxRT.dylib
drwxr-xr-x 6 root wheel 192 3 Jul 23:54 /private
drwxr-xr-x 88 root wheel 2816 8 Aug 09:08 /private/etc
-r--r----- 1 root wheel 1563 12 Feb 22:21 /private/etc/sudoers
drwxrwxrwt 5 root wheel 160 9 Aug 09:46 /private/tmp
Attachments
2018-08-09-15-52-42-bugreport.tgz
(114.66 KiB) Downloaded 24 times
Last edited by socratis on 11. Aug 2018, 00:59, edited 1 time in total.
Reason: Replaced attachment with actual text.
wqiu
 
Posts: 14
Joined: 2. Aug 2018, 23:12

Re: VirtualBox crashes with Windows 10 guest

Postby socratis » 11. Aug 2018, 08:02

Nothing. I get nothing out of the ordinary. Just one last piece of information, to see what apps you've got installed on your OSX. Post the output of:

    ls -ale@ /Applications/
    ls -ale@ /Applications/Utilities/
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.
socratis
Site Moderator
 
Posts: 27401
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: VirtualBox crashes with Windows 10 guest

Postby wqiu » 11. Aug 2018, 14:31

attached
Code: Select all   Expand viewCollapse view
Weigens-MacBook-Pro:~ wqiu$ ls -ale@ /Applications/
total 40
drwxrwxr-x+ 58 root  admin   1856  8 Aug 20:48 .
 0: group:everyone deny delete
drwxr-xr-x  29 root  wheel    928 31 Jul 21:02 ..
-rw-rw-r--   1 root  admin  18436  8 Aug 20:48 .DS_Store
-rw-r--r--   1 root  wheel      0  6 Oct  2017 .localized
drwxr-xr-x@  3 root  wheel     96 26 Jun 15:25 App Store.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96  7 Feb  2018 Automator.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x   3 wqiu  staff     96 18 May  2017 Beyond Compare-2.app
drwxr-xr-x@  3 root  wheel     96  6 Oct  2017 Calculator.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96  6 Feb  2018 Calendar.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96 21 Feb 21:33 Chess.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96 23 May 22:16 Contacts.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96 11 Oct  2017 DVD Player.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96 18 Oct  2017 Dashboard.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96  7 Oct  2017 Dictionary.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96 21 Feb 21:19 FaceTime.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96  4 Feb  2018 Font Book.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxrwxr-x   3 root  admin     96 31 Jul 20:50 GarageBand.app
drwxrwxr-x@  3 wqiu  admin     96  7 Aug 16:45 Google Chrome.app
   com.apple.FinderInfo      32
drwxr-xr-x@  3 root  wheel     96 12 Dec  2017 Image Capture.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x   3 root  wheel     96 31 Jul 20:49 Keynote.app
drwxr-xr-x@  3 root  wheel     96 18 Oct  2017 Launchpad.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x  30 wqiu  admin    960  6 Aug 09:16 MATLAB_R2018a.app
drwxr-xr-x@  3 root  wheel     96 15 May 22:33 Mail.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96  8 Apr 14:55 Maps.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96 20 May 15:17 Messages.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxrwxr-x   3 root  wheel     96  3 Aug 08:59 Microsoft Excel.app
drwxrwxr-x   3 root  wheel     96  3 Aug 08:59 Microsoft OneNote.app
drwxrwxr-x   3 root  wheel     96  3 Aug 08:59 Microsoft Outlook.app
drwxrwxr-x   3 root  wheel     96  3 Aug 08:59 Microsoft PowerPoint.app
drwxrwxr-x   3 root  wheel     96  3 Aug 08:59 Microsoft Word.app
drwxr-xr-x@  3 root  wheel     96 18 Oct  2017 Mission Control.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96  1 Feb  2018 Notes.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x   3 root  wheel     96 31 Jul 20:49 Numbers.app
drwxr-xr-x   3 root  wheel     96  3 Aug 08:59 OneDrive.app
drwxr-xr-x   3 root  wheel     96 31 Jul 20:48 Pages.app
drwxr-xr-x@  3 root  wheel     96  7 Dec  2017 Photo Booth.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96 15 Jun 17:06 Photos.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96  5 Jan  2018 Preview.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96 22 Jun 00:14 QuickTime Player.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96 15 Nov  2017 Reminders.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96 31 Jul 21:02 Safari.app
   com.apple.rootless       0
drwxr-xr-x@  3 root  wheel     96 18 Oct  2017 Siri.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x   3 root  wheel     96 31 Jul 23:09 Skype for Business.app
drwxr-xr-x@  3 wqiu  admin     96 31 Jul 17:33 Skype.app
   com.apple.quarantine      57
drwxr-xr-x@  3 root  wheel     96  6 Oct  2017 Stickies.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96 16 Oct  2017 System Preferences.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel     96 28 Jan  2018 TextEdit.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxrwxr-x   3 root  wheel     96  2 Aug 14:04 TextWrangler.app
drwxr-xr-x   3 root  wheel     96 31 Jul 21:40 The Unarchiver.app
drwxr-xr-x@  3 root  wheel     96 18 Oct  2017 Time Machine.app
   com.apple.rootless       0
 0: group:everyone deny delete
drwxr-xr-x+ 21 root  admin    672  3 Jul 23:52 Utilities
 0: group:everyone deny delete
drwxr-xr-x   3 root  admin     96  5 Aug 10:41 VirtualBox.app
drwxr-xr-x   3 root  wheel     96 31 Jul 23:35 WeChat.app
drwxr-xr-x   3 root  wheel     96 31 Jul 21:38 Xcode.app
drwxr-xr-x@  3 root  wheel     96 12 Apr 21:36 iBooks.app
   com.apple.rootless       0
drwxr-xr-x   3 root  wheel     96  4 May 05:35 iMovie.app
drwxr-xr-x@  3 root  wheel     96 31 Jul 20:57 iTunes.app
   com.apple.rootless       0
drwxrwxr-x   3 wqiu  admin     96 15 Jul 19:50 zoom.us.app
Weigens-MacBook-Pro:~ wqiu$ ls -ale@ /Applications/Utilities/
total 0
drwxr-xr-x+ 21 root  admin   672  3 Jul 23:52 .
 0: group:everyone deny delete
drwxrwxr-x+ 58 root  admin  1856  8 Aug 20:48 ..
 0: group:everyone deny delete
-rw-rw-r--   1 root  admin     0  9 Apr 20:28 .DS_Store
-rw-r--r--   1 root  wheel     0  6 Oct  2017 .localized
drwxr-xr-x@  3 root  wheel    96 16 Jan  2018 Activity Monitor.app
   com.apple.rootless      0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel    96 14 Feb 20:33 AirPort Utility.app
   com.apple.rootless      0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel    96 14 Oct  2017 Audio MIDI Setup.app
   com.apple.rootless      0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel    96 31 Jul 21:02 Bluetooth File Exchange.app
   com.apple.rootless      0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel    96 30 Apr 21:20 Boot Camp Assistant.app
   com.apple.rootless      0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel    96 14 Dec  2017 ColorSync Utility.app
   com.apple.rootless      0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel    96  9 Jan  2018 Console.app
   com.apple.rootless      0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel    96  6 Oct  2017 Digital Color Meter.app
   com.apple.rootless      0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel    96 27 Feb 22:24 Disk Utility.app
   com.apple.rootless      0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel    96  6 Oct  2017 Grab.app
   com.apple.rootless      0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel    96 24 Jun 20:11 Grapher.app
   com.apple.rootless      0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel    96 10 Jun 16:18 Keychain Access.app
   com.apple.rootless      0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel    96  7 Oct  2017 Migration Assistant.app
   com.apple.rootless      0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel    96  6 Oct  2017 Script Editor.app
   com.apple.rootless      0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel    96 29 May 20:25 System Information.app
   com.apple.rootless      0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel    96  5 Jan  2018 Terminal.app
   com.apple.rootless      0
 0: group:everyone deny delete
drwxr-xr-x@  3 root  wheel    96 27 Feb 18:37 VoiceOver Utility.app
   com.apple.rootless      0
 0: group:everyone deny delete
Last edited by socratis on 11. Aug 2018, 16:25, edited 1 time in total.
Reason: Replaced attachment with actual text.
wqiu
 
Posts: 14
Joined: 2. Aug 2018, 23:12

Re: VirtualBox crashes with Windows 10 guest

Postby socratis » 11. Aug 2018, 18:39

From the list of your installed applications, the following are not from Apple:
drwxr-xr-x   3 wqiu  staff     96 18 May  2017 Beyond Compare-2.app
drwxrwxr-x@ 3 wqiu admin 96 7 Aug 16:45 Google Chrome.app
drwxr-xr-x 30 wqiu admin 960 6 Aug 09:16 MATLAB_R2018a.app
drwxrwxr-x 3 root wheel 96 3 Aug 08:59 Microsoft Excel.app
drwxrwxr-x 3 root wheel 96 3 Aug 08:59 Microsoft OneNote.app
drwxrwxr-x 3 root wheel 96 3 Aug 08:59 Microsoft Outlook.app
drwxrwxr-x 3 root wheel 96 3 Aug 08:59 Microsoft PowerPoint.app
drwxrwxr-x 3 root wheel 96 3 Aug 08:59 Microsoft Word.app
drwxr-xr-x 3 root wheel 96 3 Aug 08:59 OneDrive.app
drwxr-xr-x 3 root wheel 96 31 Jul 23:09 Skype for Business.app
drwxr-xr-x@ 3 wqiu admin 96 31 Jul 17:33 Skype.app
drwxrwxr-x 3 root wheel 96 2 Aug 14:04 TextWrangler.app
drwxr-xr-x 3 root wheel 96 31 Jul 21:40 The Unarchiver.app
drwxr-xr-x 3 root admin 96 5 Aug 10:41 VirtualBox.app
drwxr-xr-x 3 root wheel 96 31 Jul 23:35 WeChat.app
drwxrwxr-x 3 wqiu admin 96 15 Jul 19:50 zoom.us.app

From these, I'm a little skeptical about "zoom.us.app", mainly because I discovered that they create their own audio device. I can tell you one thing; it was the first app that managed to freeze my OSX 10.11 VM. :shock:

Also, I'm not so confident about the "WeChat.app" one either...

Can you do me a favor and uninstall them temporarily, then reboot your OSX and try again?
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.
socratis
Site Moderator
 
Posts: 27401
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: VirtualBox crashes with Windows 10 guest

Postby wqiu » 11. Aug 2018, 19:45

the crash does not happen all the time, just once in a few days. and I need to use zoom regularly for meetings.
wqiu
 
Posts: 14
Joined: 2. Aug 2018, 23:12

Re: VirtualBox crashes with Windows 10 guest

Postby socratis » 11. Aug 2018, 20:36

OK, great. Let us know if you manage to find the solution then. Good luck!
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.
socratis
Site Moderator
 
Posts: 27401
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: VirtualBox crashes with Windows 10 guest

Postby Kasimir » 10. May 2019, 13:51

I have the exact same behavior, VBox crashes after orderly guest shutdown.

Host: MacBook Pro (2014), MacOS 10.13.6, 16 GB RAM, 4 cores
VBox: version 6.0.6 r130049 (Oracle)
Guest: Ubuntu 18 Server LTS, 1 CPU, 2 GB RAM, 3 (of 20) GB VMDK disk, Network adapters: 1 x NAT, 1 x host-only, graphics: 1 monitor, no acceleration, audio out enabled, no shared folders

VBox crashes after orderly guest shutdown (shutdown -h now), just like for OP.

Has this problem ever been resolved?
Kasimir
 
Posts: 1
Joined: 10. May 2019, 13:37
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Ubuntu 18 LTS

PreviousNext

Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: Captain Dave and 21 guests