Virtualbox crashes when selecting another window.

For discussions related to using VirtualBox on Mac OS X pre-releases
osxcatalina
Posts: 5
Joined: 4. Jun 2019, 22:37

Virtualbox crashes when selecting another window.

Post by osxcatalina »

After upgrading to macOS Catalina I've had a major problem with virtual box.

I can start and run a virtual machine just fine, however the moment I click on a different window like Safari or check my email while a piece of software is loading in the VM, the VM will immediately crash and my virtual machine log shows the VM with the aborted state. Even going to the preferences window will cause the VM to crash as it is no longer the main focused window.

I have tried to look at the logs, but logs 0-3 all show from mid/late May.

I am running Version 6.0.8 r130520 (Qt5.6.3) on 10.15 Beta (19A471t).
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 when selecting another window.

Post by socratis »

osxcatalina wrote:while a piece of software is loading in the VM
What does that mean exactly? If you want a report to have "gravitas", you need to provide a step-by-step reproducible scenario. As in:
  1. Launch VirtualBox with VM so-and-so.
  2. When the VM boots up, do XYZ.
  3. Switch to another application (any?) like Safari, or Mail, or TextEdit, or Finder.
  4. Observe the VM getting aborted.
osxcatalina wrote:I have tried to look at the logs, but logs 0-3 all show from mid/late May.
Are you sure that you don't get any recent logs? Something doesn't sound right here...

Did you install VirtualBox again after you installed/upgraded your host to 10.15? Did you upgrade or did you do a clean install?
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.
osxcatalina
Posts: 5
Joined: 4. Jun 2019, 22:37

Re: Virtualbox crashes when selecting another window.

Post by osxcatalina »

Doh! I totally misread the log. I read VirtualBox VM 6.0.8 r130520 darwin.amd64 (May 13 2019 15:40:24) thinking the log was from May 13th.

Steps to fully reproduce the error are.
1) Launch a virtual machine (mine was windows 10)
2) When the VM is starting up or after it has started up switch to any other window (Finder, safari, mail, even the preferences)
3) observe the vm window close and the virtual machine manager will change state to aborted.

I've installed Catalina as an upgrade to 10.14. I encountered this error, fully deleted all traces of virtual box and restarted, reinstalled virtual box completely and encountered the issue again.

The log was too big to fit in here and it wouldn't let me post a link to it on pastebin.
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 when selecting another window.

Post by andyp73 »

osxcatalina wrote:The log was too big to fit in here
Zip the log file before attaching it here.

-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.
osxcatalina
Posts: 5
Joined: 4. Jun 2019, 22:37

Re: Virtualbox crashes when selecting another window.

Post by osxcatalina »

Thanks Andy,

I've attached a zipped version of the log.
Attachments
Work-2019-06-04-16-42-28.log.zip
Virtualbox log file
(19.74 KiB) Downloaded 126 times
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 when selecting another window.

Post by mpack »

00:00:09.579172 VMMDev: Guest Additions information report: Version 5.2.97 r123216 '5.2.97'
That's a test version of the GAs. You should have replaced those at the first opportunity. You certainly shouldn't still be using them in 6.0.8.
osxcatalina
Posts: 5
Joined: 4. Jun 2019, 22:37

Re: Virtualbox crashes when selecting another window.

Post by osxcatalina »

Thanks,

I was actually trying to update the GA when I first encountered the bug as I was running on an older version of Virtualbox when I first installed Catalina.

I did update the GA to 6.0.8 and the issue still occurred.

Steps:
Installed the updated GA.
Rebooted VM
Started VM
Clicked on a safari window and saw Virtualbox automatically disappear/close.

Edit: I do have a good and interesting update. If I run it in headless mode, then click the show button in the Virtualbox manager I am able to get the VM up and running. It is slow, but works. Detachable mode also works, slower than headless mode but works. It appears that this issue only occurs in normal mode. Trying to install 6.0.9 resulted in an error at the end of installation, trying to install 6.0.97 resulted in a not signed error as all Mac apps must be signed now.
DnvrSysEngr
Posts: 3
Joined: 2. Feb 2017, 19:37

Re: Virtualbox crashes when selecting another window.

Post by DnvrSysEngr »

I too experienced the same issue. Running macOS Mojave (10.14.x) with Windows10 running in VBox 6.0.97 and all was well. Upgraded to macOS Catalina (10.15) and was unable to start vBox 6.0.97 in "Normal Mode" without having it either crash immediately or crash with the slightest movement of my mouse. Tried everything imaginable to no avail. Found this post that mentioned starting in either "Headless Mode" or "Detachable Mode," and voila, I am now back in.

-S
CoyoteDen
Posts: 7
Joined: 10. Jun 2018, 06:35

Re: Virtualbox crashes when selecting another window.

Post by CoyoteDen »

Oddly enough this particular bug seems to have gone away. I can run a VM fullscreen, normal start, hw acceleration on and switch windows without crashing.

I haven't updated VirtualBox or macOS...
amsainfor
Posts: 3
Joined: 3. Jul 2019, 17:42

Re: Virtualbox crashes when selecting another window.

Post by amsainfor »

I have the same problem, I try uninstall and install vbox and exte, if I start machine (linux or Windows) and click on another windows machine stop to abort state.

Version installed: 6.0.8 r130520 with extension pack.

Thank you.
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 when selecting another window.

Post by socratis »

Just a reminder... If you want to use the latest version for your host/guests, you should also consider doing the same for VirtualBox; try the latest test builds.

Catalina (10.15) came out way after 6.0.8 came out, so don't expect 6.0.8 to have addressed any issues that 10.15 brought with it...
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.
amsainfor
Posts: 3
Joined: 3. Jul 2019, 17:42

Re: Virtualbox crashes when selecting another window.

Post by amsainfor »

Thanks for your reply, I've tried "development snapshots" without success, when I select another window vm crash, however, if vm are started in Headless or Detachable modes this issue not occurs. Maybe input permissions.

macOS version: Catalina 10.15 beta 3 (19A501i)
Virtualbox verson: 6.0.97. r131601

====
osxcatalina
Posts: 5
Joined: 4. Jun 2019, 22:37

Re: Virtualbox crashes when selecting another window.

Post by osxcatalina »

socratis wrote:you should also consider doing the same for VirtualBox; try the latest test builds.
I actually tried the test builds first. They were not signed and would not install. The general release ones were signed and able to be installed after I deleted Virtualbox and re-installed as trying to update to a test build ended up breaking virtual box.
amsainfor
Posts: 3
Joined: 3. Jul 2019, 17:42

Re: Virtualbox crashes when selecting another window.

Post by amsainfor »

:D :D :D
Issue is resolved if you disable on "System Preferences" -> "privacy" > "input Monitoring" and UNCHECK Virtualbox if checked, please see screenshot attached.

macOS version: Catalina 10.15 beta 3 (19A501i)
Virtualbox verson: 6.0.97. r131601

====
Attachments
Screenshot 2019-07-05 at 10.20.52.jpg
Screenshot 2019-07-05 at 10.20.52.jpg (57.81 KiB) Viewed 46066 times
DavGerm4
Posts: 2
Joined: 11. Jul 2019, 07:09

Re: Virtualbox crashes when selecting another window.

Post by DavGerm4 »

I too am having this issue with virtualbox. Tried developer builds, but they wouldn't install, so on releases 6.0.4 and 6.0.8 for me, if I click outside of the VirtualBox window while it's loading a VM, it closes the VM completely. Also my "Input Monitoring" doesn't have anything in there shown. So doesn't really fix it for me.
Locked