Can't open VirtualBox when Tunnelblick is active.

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
virtualbio
Posts: 2
Joined: 16. Mar 2018, 15:36

Can't open VirtualBox when Tunnelblick is active.

Post by virtualbio »

I have the same problem, but playing with the .xml files doesn't fix the issue.
MacOS High Sierra, 10.13.3
Virtualbox 5.2.8
When I start virtualbox (click icon), displays a message box:

Code: Select all

Unknown exception
/Users/vbox/tinderbox/5.2-mac-rel/src/VBox/Main/src-server/VirtualBoxImpl.cpp[554] (nsresult VirtualBox::init()).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: VirtualBoxWrap
Interface: IVirtualBox {9570b9d5-f1a1-448a-10c5-e12f5285adad}
Callee: IVirtualBoxClient {d2937a8e-cb8d-4382-90ba-b7da78a74573}
If I delete the ~/Library/VirtualBox/*.xml, (contained xml, not 0 bytes), the same result.

Log:

Code: Select all

~/Library/VirtualBox> cat VBoxSVC.log
VirtualBox XPCOM Server 5.2.8 r121009 darwin.amd64 (Feb 26 2018 16:54:24) release log
00:00:00.002293 main     Log opened 2018-03-16T13:45:02.938178000Z
00:00:00.002297 main     Build Type: release
00:00:00.002333 main     OS Product: Darwin
00:00:00.002341 main     OS Release: 17.4.0
00:00:00.002348 main     OS Version: Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64
00:00:00.002560 main     DMI Product Name: MacBookPro11,4
00:00:00.002641 main     DMI Product Version: 1.0
00:00:00.002685 main     Host RAM: 16384MB (16.0GB) total, 5350MB (5.2GB) available
00:00:00.002696 main     Executable: /Applications/VirtualBox.app/Contents/MacOS/VBoxSVC
00:00:00.002696 main     Process ID: 26762
00:00:00.002697 main     Package type: DARWIN_64BITS_GENERIC
00:00:00.005397 main     IPC socket path: /tmp/.vbox-name-redacted-ipc/ipcd
00:00:00.110654 nspr-2   VirtualBox: object creation starts
00:00:00.111076 nspr-2   Home directory: '/Users/name.redacted/Library/VirtualBox'
00:00:00.146293 nspr-2   ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={9570b9d5-f1a1-448a-10c5-e12f5285adad} aComponent={VirtualBoxWrap} aText={Unknown exception
00:00:00.146320 nspr-2   /Users/vbox/tinderbox/5.2-mac-rel/src/VBox/Main/src-server/VirtualBoxImpl.cpp[554] (nsresult VirtualBox::init())}, preserve=false aResultDetail=0
00:00:00.147224 nspr-2   VirtualBox: object created
00:00:05.153672 main     VirtualBox: object deletion starts
00:00:05.153723 main     VirtualBox: object deleted
If I run

Code: Select all

/Applications/VirtualBox.app/Contents/MacOS/VBoxSVC

Code: Select all

***********************************************
Oracle VM VirtualBox XPCOM Server Version 5.2.8
(C) 2004-2018 Oracle Corporation
All rights reserved.

Starting event loop....
[press Ctrl-C to quit]
If I then run run virtualbox (click icon), the above VBoxSVC outputs:

Code: Select all

2018-03-16 13:37:26.756 VBoxSVC[26488:199567] -[__NSCFArray _fastCStringContents:]: unrecognized selector sent to instance 0x7fbba9d0be10
Informational: VirtualBox object created (rc=NS_OK).
Informational: VirtualBox object deleted.
This was happening yesterday; I upgraded virtualbox, updated MacOS, rebooted, and vb started working. This morning it worked for maybe 15 minutes before vagrant suddenly exited, and virtualbox no longer started.
virtualbio
Posts: 2
Joined: 16. Mar 2018, 15:36

Re: Can't open VirtualBox when Tunnelblick is active.

Post by virtualbio »

Ah. Virtualbox won't start unless all my VPNs are disconnected. Virtualbox crashes if any of my VPN connections change state. Using Tunnelblick.
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: Can't open VirtualBox when Tunnelblick is active.

Post by socratis »

I split your post from "Can't open Virtual Box, "failed to acquire the VirtualBox COM object"" because it wasn't the same problem.

I don't know what Tunnelblick is doing to cause the crash, but from my limited understanding it's a front-end to OpenVPN, no? So does the crash stop when you don't run Tunnelblick, OpenVPN, both, none? Can you describe the situation in a little more detail?
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.
Post Reply