OSX freezes/reboots after VM launch

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
crh
Posts: 10
Joined: 2. Apr 2014, 23:13

OSX freezes/reboots after VM launch

Post by crh »


[ModEdit: Post split from VirtualBox GUI app crashes when powering off any VM]
I see a similar issue. Virtualbox 6.0.4 (later upgraded to 6.0.8 - no change) on a 15" MBP 2018 (Core i9, 32GB/1TB) running MacOS 10.14.5. I started Virtualbox for the first time since the last MacOS upgrade. VMs are basic Ubuntu (2GB, 1 core, dynamic VDI 10GB, one extra dynamic VDI, also 10GB). The VM will start up to the point where i can log in, but then it freezes (first i cant move the mouse pointer anymore, then the screen goes black and the Mac reboots. So far 100% reproducible, i can not use Virtualbox at all without crashing my machine.

I tried uninstalling Virtualbox completely and reinstalling 6.0.8. No change.

Here is my kext list without com.apple:
121    3 0xffffff7f83eaa000 0xf0000    0xf0000    org.virtualbox.kext.VBoxDrv (6.0.8) BA29BAA2-1460-3F53-BF68-E672C5115BF1 <8 6 5 3 1>
179    0 0xffffff7f848df000 0x8000     0x8000     org.virtualbox.kext.VBoxUSB (6.0.8) 9331EE7C-CCD1-3E6D-B1FA-5D1036B0C0FF <178 121 54 8 6 5 3 1>
183    0 0xffffff7f84911000 0x5000     0x5000     org.virtualbox.kext.VBoxNetFlt (6.0.8) 4F577315-BF94-3C7A-974B-48ECBE38B445 <121 8 6 5 3 1>
188    0 0xffffff7f849d8000 0xc000     0xc000     com.kairos.driver.DuetDisplay (1) 7620686C-E9CE-3C70-AA12-DC77DABA52DD <125 6 5 3>
194    0 0xffffff7f85a9c000 0x6000     0x6000     org.virtualbox.kext.VBoxNetAdp (6.0.8) 3793177D-4D36-37D6-8B61-50E941DFC8FF <121 6 5 1>
And the application list minus the Mac default apps:
drwxr-xr-x  10 root  wheel     320 Jun 11 04:01 /Applications/Amphetamine.app/Contents
drwxr-xr-x   8 root  wheel     256 Jun  7 02:47 /Applications/Automator.app/Contents
drwxr-xr-x@ 10 crh   staff     320 Feb 27 10:08 /Applications/Cyberduck.app/Contents
drwxr-xr-x@ 10 crh   admin     320 Nov 29  2018 /Applications/Docker.app/Contents
drwxrwxr-x@  8 crh   admin     256 Jul  1 11:20 /Applications/Firefox.app/Contents
drwxr-xr-x   8 root  wheel     256 Jun  7 02:47 /Applications/Font Book.app/Contents
drwxr-xr-x@  6 crh   admin     192 Nov 14  2018 /Applications/GIMP-2.10.app/Contents
drwxr-xr-x   9 crh   staff     288 Jul  3 14:43 /Applications/GoToMeeting.app/Contents
drwxrwxr-x@ 10 crh   admin     320 Jun 17 18:11 /Applications/Google Chrome.app/Contents
drwxr-xr-x@ 10 crh   admin     320 Dec 14  2018 /Applications/Grammarly.app/Contents
drwxr-xr-x@  9 crh   staff     288 Apr  4 10:10 /Applications/ImageOptim 3.app/Contents
drwxr-xr-x  10 crh   admin     320 May 16 11:43 /Applications/LastPass.app/Contents
drwxr-xr-x@ 10 crh   admin     320 Aug  2  2018 /Applications/LibreOffice.app/Contents
drwxr-xr-x@ 10 crh   admin     320 Feb 18 16:39 /Applications/MacVim.app/Contents
drwxr-xr-x   8 root  admin     256 May 10 01:52 /Applications/Malwarebytes.app/Contents
drwxr-xr-x  10 root  wheel     320 Jun 12 01:09 /Applications/Microsoft Excel.app/Contents
drwxr-xr-x  11 root  wheel     352 Jun 12 01:10 /Applications/Microsoft OneNote.app/Contents
drwxr-xr-x  11 root  wheel     352 Jun 12 01:11 /Applications/Microsoft Outlook.app/Contents
drwxr-xr-x  11 root  wheel     352 Jun 12 01:10 /Applications/Microsoft PowerPoint.app/Contents
drwxr-xr-x  11 root  wheel     352 Jun 12 01:10 /Applications/Microsoft Word.app/Contents
drwxr-xr-x   8 root  wheel     256 Jun  7 02:47 /Applications/News.app/Contents
drwxr-xr-x  12 root  wheel     384 Apr 13  2018 /Applications/OneDrive.app/Contents
drwxr-xr-x  11 root  wheel     352 Jun  7 02:47 /Applications/Photos.app/Contents
drwxr-xr-x@  8 crh   staff     256 Feb 15 14:18 /Applications/Pock.app/Contents
drwxr-xr-x   9 root  wheel     288 Feb 15 09:49 /Applications/Private Internet Access.app/Contents
drwxr-xr-x   9 root  wheel     288 Jun  7 02:47 /Applications/Reminders.app/Contents
drwxr-xr-x@  8 crh   staff     256 Nov 30  2016 /Applications/Rocket.app/Contents
drwxr-xr-x   8 root  wheel     256 Jun  7 02:47 /Applications/Siri.app/Contents
drwxr-xr-x@  9 crh   staff     288 Oct 22  2018 /Applications/Skype Meetings App.app/Contents
drwxr-xr-x   8 crh   staff     256 May 24 07:50 /Applications/Skype.app/Contents
drwxr-xr-x  10 root  wheel     320 Jun  3 23:48 /Applications/Slack.app/Contents
drwxr-xr-x  10 root  wheel     320 Apr 26 13:56 /Applications/Smart JSON Editor.app/Contents
drwxr-xr-x   3 root  admin      96 May  7 16:06 /Applications/SoundTouch/SoundTouch.app
lrwxr-xr-x   1 root  admin      92 May  7 16:06 /Applications/SoundTouch/SoundTouchHelper -> /Applications/SoundTouch/SoundTouch.app/Contents/MacOS/SoundTouchHelper/SoundTouchHelper.app
drwxrwxrwx   3 root  admin      96 May  7 16:06 /Applications/SoundTouch/SoundTouchL.app
lrwxr-xr-x   1 root  admin     104 May  7 16:06 /Applications/SoundTouch/SoundTouchMusicServer -> /Applications/SoundTouch/SoundTouch.app/Contents/MacOS/SoundTouchMusicServer/SoundTouch music server.app
drwxr-xr-x   3 root  admin      96 May  7 16:06 /Applications/SoundTouch/SystemLogTool.app
drwxrwxrwx   3 root  admin      96 May  7 16:06 /Applications/SoundTouch/Update
-rwxr-xr-x   1 root  admin     243 Nov 13  2018 /Applications/SoundTouch/install_driver.sh
-rwxr-xr-x   1 root  admin      27 Nov 13  2018 /Applications/SoundTouch/postinstall.sh
-rwxr-xr-x   1 root  admin   20146 Nov 13  2018 /Applications/SoundTouch/remove_app_from_macdock.scpt
-rwxr-xr-x   1 root  admin     442 Nov 13  2018 /Applications/SoundTouch/run_SoundTouchMusicServer_At_Login
-rwxr-xr-x   1 root  admin     227 Nov 13  2018 /Applications/SoundTouch/startup_script
drwxr-xr-x   3 root  admin      96 May  7 16:06 /Applications/SoundTouch/uninstall.app
drwxr-xr-x   8 root  wheel     256 Jun  7 02:47 /Applications/Stickies.app/Contents
drwxr-xr-x   9 root  wheel     288 Feb 19 09:01 /Applications/The Unarchiver.app/Contents
drwxrwxr-x@  8 crh   admin     256 Jun 25 07:54 /Applications/Thunderbird.app/Contents
drwxr-xr-x   9 root  wheel     288 May 22 09:59 /Applications/Tunnelblick.app/Contents
drwxr-xr-x   9 root  admin     288 May 13 07:02 /Applications/VirtualBox.app/Contents
-rw-r--r--   1 crh   staff  899589 Mar 25 12:48 /Applications/Webex/Cisco WebEx Start.app.zip
drwxrwxr-x   3 crh   staff      96 Mar 25 12:48 /Applications/Webex/Cisco Webex Meetings.app
drwxrwxr-x   3 crh   staff      96 Mar 25 12:48 /Applications/Webex/Uninstall.app
drwxr-xr-x  10 root  wheel     320 Jul  9 09:26 /Applications/WhatsApp.app/Contents
drwxr-xr-x  17 root  wheel     544 May  2 10:59 /Applications/Xcode.app/Contents
drwxr-xr-x@  9 root  wheel     288 Jul  9  2018 /Applications/YubiKey Manager.app/Contents
drwxr-xr-x   8 crh   staff     256 Apr  8 09:13 /Applications/duet.app/Contents
drwxr-xr-x@  8 crh   staff     256 Aug  7  2018 /Applications/iTerm.app/Contents
Last edited by socratis on 13. Jul 2019, 06:41, edited 1 time in total.
Reason: Posts split from another thread.
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: VirtualBox GUI app crashes when powering off any VM

Post by fth0 »

@crh
Your problem has nothing to do with the topic of this thread, which is about only the VirtualBox GUI app crashing, and not the host OS crashing.

-> Please create your own thread for your problem.
socratis
Site Moderator
Posts: 27329
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: OSX freezes/reboots after VM launch

Post by socratis »

fth0 wrote:Please create your own thread for your problem.
Your wish is my command, post split, new thread created. ;)

@crh
I would start by uninstalling the Duet app. Then any application that is running in parallel with VirtualBox and affects key "hardware" components; network, sound, USB, Malwarebytes. See what conflicts. I don't recognize half of your installed apps, so you have to start experimenting...
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.
crh
Posts: 10
Joined: 2. Apr 2014, 23:13

Re: OSX freezes/reboots after VM launch

Post by crh »

Apologies about posting in the wrong thread. I'll test and report the results. As vbox not only crashes itself but MacOS, testing may take a while.
crh
Posts: 10
Joined: 2. Apr 2014, 23:13

Re: OSX freezes/reboots after VM launch

Post by crh »

I uninstalled duet completely and turned off all applications other than Firefox and Thunderbird, which I need in parallel to Virtuaibox. Verified the only kexts that are not com.apple are com.virtualbox (4 kexts in total). It took a bit longer to crash MacOS but eventually did. This is still 6.0.8 on MacOS 10.14.5. Will try to upgrade to .10 but dont have high hopes that will fix it.
crh
Posts: 10
Joined: 2. Apr 2014, 23:13

Re: OSX freezes/reboots after VM launch

Post by crh »

Upgrade to 6.0.10 did not help. Had another crash upon first start of 6.0.10 when booting the third virtual machine (all three Ubuntu 18.04.2 LTS, 1CPU, 1.6GB, 1x 20GB and 2x 10GB VDI). I am running out of things to try. As this is my work laptop I can not simply reinstall to test.
socratis
Site Moderator
Posts: 27329
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: OSX freezes/reboots after VM launch

Post by socratis »

crh wrote:when booting the third virtual machine (all three Ubuntu 18.04.2 LTS, 1CPU, 1.6GB, 1x 20GB and 2x 10GB VDI).
Three VMs? Are you sure you have enough resources to run 3 VMs concurrently? Do you still have the VBox.logs from the 3 VMs when the crash happened? If so, please ZIP them all up and attach them to your reply. Especially the 3rd launched VM...
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.
crh
Posts: 10
Joined: 2. Apr 2014, 23:13

Re: OSX freezes/reboots after VM launch

Post by crh »

I do have enough resources. Macbook Pro 15 2018, 32GB, 6-core CPU. I am using 4 cores and 6GB memory. Before the fateful update of MacOS I ran up to 8 VMs on the same Mac without problems.

Also, here is the update: If I start the VMs from the commandline (VBoxManage startvm "CephNode1" --type headless) it appears to work fine. No crashes despite heavy testing yesterday. Will test with GUI again and upload logs.
Post Reply