Page 2 of 3
Re: VirtualBox crashes with Windows 10 guest
Posted: 8. Aug 2018, 16:47
by socratis
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!
That would have been my #1 recommendation.
Re: VirtualBox crashes with Windows 10 guest
Posted: 8. Aug 2018, 17:15
by wqiu
then why in the Virtualbox setting, it says I have 12 CPUs?
Re: VirtualBox crashes with Windows 10 guest
Posted: 8. Aug 2018, 17:37
by socratis
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...
Re: VirtualBox crashes with Windows 10 guest
Posted: 8. Aug 2018, 17:55
by wqiu
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)
Re: VirtualBox crashes with Windows 10 guest
Posted: 8. Aug 2018, 18:23
by mpack
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?
Re: VirtualBox crashes with Windows 10 guest
Posted: 9. Aug 2018, 04:23
by wqiu
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
Re: VirtualBox crashes with Windows 10 guest
Posted: 9. Aug 2018, 14:21
by mpack
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.
Re: VirtualBox crashes with Windows 10 guest
Posted: 9. Aug 2018, 15:30
by socratis
Let's try the big report first... Post the output of the command:
At the same Terminal window, and with the VM completely shut down, enter the following command:
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.
Re: VirtualBox crashes with Windows 10 guest
Posted: 9. Aug 2018, 18:04
by wqiu
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
Re: VirtualBox crashes with Windows 10 guest
Posted: 11. Aug 2018, 08:02
by socratis
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:
Re: VirtualBox crashes with Windows 10 guest
Posted: 11. Aug 2018, 14:31
by wqiu
attached
Code: Select all
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
Re: VirtualBox crashes with Windows 10 guest
Posted: 11. Aug 2018, 18:39
by socratis
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.
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?
Re: VirtualBox crashes with Windows 10 guest
Posted: 11. Aug 2018, 19:45
by wqiu
the crash does not happen all the time, just once in a few days. and I need to use zoom regularly for meetings.
Re: VirtualBox crashes with Windows 10 guest
Posted: 11. Aug 2018, 20:36
by socratis
OK, great. Let us know if you manage to find the solution then. Good luck!
Re: VirtualBox crashes with Windows 10 guest
Posted: 10. May 2019, 13:51
by Kasimir
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?