Virtualbox crashes while booting Ubuntu

I am trying to install ubuntu on my virtualbox but as soon as ubuntu tries to boot it crashes. My report shows some problem with com.apple.tcc so it crashed due to privacy vionlation (line 55).

Code Block Process: VirtualBoxVM [1848]
Path: /Applications/VirtualBox.app/Contents/Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM
Identifier: org.virtualbox.app.VirtualBoxVM
Version: 6.1.14 (6.1.14)
Code Type: X86-64 (Native)
Parent Process: VBoxSVC [1847]
Responsible: VirtualBox [1843]
User ID: 501
Date/Time: 2020-09-09 11:28:15.774 +0200
OS Version: Mac OS X 10.15.6 (19G2021)
Report Version: 12
Anonymous UUID: 79C37049-B551-08D5-2CF2-C25F2DB0935E
Sleep/Wake UUID: 70CBD89F-7625-4063-9602-704FABC91B34
Time Awake Since Boot: 7100 seconds
Time Since Wake: 4600 seconds
System Integrity Protection: enabled
Crashed Thread: 2 Dispatch queue: com.apple.root.default-qos
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace TCC, Code 0x0
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff69bbedfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff69bbf170 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff2fa12ef5 CFRunLoopServiceMachPort + 247
3 com.apple.CoreFoundation 0x00007fff2fa119c2 CFRunLoopRun + 1319
4 com.apple.CoreFoundation 0x00007fff2fa10e3e CFRunLoopRunSpecific + 462
5 com.apple.HIToolbox 0x00007fff2e63dabd RunCurrentEventLoopInMode + 292
6 com.apple.HIToolbox 0x00007fff2e63d7d5 ReceiveNextEventCommon + 584
7 com.apple.HIToolbox 0x00007fff2e63d579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
8 com.apple.AppKit 0x00007fff2cc83039 _DPSNextEvent + 883
9 com.apple.AppKit 0x00007fff2cc81880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
10 com.apple.AppKit 0x00007fff2cc7358e -[NSApplication run] + 658
11 libqcocoa.dylib 0x000000010fa80eed QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2205
12 org.qt-project.QtCoreVBox 0x00000001093ad791 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
13 org.qt-project.QtCoreVBox 0x00000001093b1b4a QCoreApplication::exec() + 346
14 VirtualBoxVM.dylib 0x0000000109030d0e TrustedMain + 1502
15 org.virtualbox.app.VirtualBoxVM 0x0000000108968951 0x108965000 + 14673
16 libdyld.dylib 0x00007fff69a7dcc9 start + 1
Thread 1:
0 libsystem_pthread.dylib 0x00007fff69c7db68 start_wqthread + 0
Thread 2 Crashed:: Dispatch queue: com.apple.root.default-qos
0 libsystem_kernel.dylib 0x00007fff69bdead6 abort_with_payload + 10
1 libsystem_kernel.dylib 0x00007fff69be03df abort_with_payload_wrapper_internal + 80
2 libsystem_kernel.dylib 0x00007fff69be0411 abort_with_payload + 9
3 com.apple.TCC 0x00007fff602b159f CRASHING_DUE_TO_PRIVACY_VIOLATION + 163
4 com.apple.TCC 0x00007fff602af531 TCCAccessRequest_block_invoke.114 + 500
5 com.apple.TCC 0x00007fff602afa58 __tccd_send_message_block_invoke + 231
6 libxpc.dylib 0x00007fff69cc31ff _xpc_connection_reply_callout + 36
7 libxpc.dylib 0x00007fff69cc3187 _xpc_connection_call_reply_async + 69
8 libdispatch.dylib 0x00007fff69a246c2 _dispatch_client_callout3 + 8
9 libdispatch.dylib 0x00007fff69a3b15d _dispatch_mach_msg_async_reply_invoke + 369
10 libdispatch.dylib 0x00007fff69a335f9 _dispatch_kevent_worker_thread + 1316
11 libsystem_pthread.dylib 0x00007fff69c7ea85 _pthread_wqthread + 362
12 libsystem_pthread.dylib 0x00007fff69c7db77 start_wqthread + 15


Answered by freddy_ in 631654022
Solved by opening virtualbox in terminal via:
Code Block language
sudo virtualbox



Accepted Answer
Solved by opening virtualbox in terminal via:
Code Block language
sudo virtualbox



sudo virtualbox worked for me after experiencing the same problem
Worked for me after uninstalling/installing everything didn't! Running a Linux machineThank you so much, freddy_!!
it worked using sudo virtualbox. Thank you Freddy!

What is the reason behind sudo virtualbox?


Yes, sudo virtualbox works but what is the issue for not working normally, is it some permission issue?
If that's the case, can I change the permission of VirtualBox?

Thank you,
c4chale

Using sudo virtualbox definitely works, but it's a pain in the keister if you need to launch it all the time. I've made this a little easier by creating and AppleScript through automator. This is the code:

Code Block
on run {input, parameters}
do shell script "/bin/bash -s <<'EOF'
cd /Applications/VirtualBox.app/Contents/MacOS
./VirtualBox
EOF" with administrator privileges
return input

It'll prompt you for your password—or you and poke the the fingerprint reader if you have one.

Cheers!

Mark
Virtualbox crashes while booting Ubuntu
 
 
Q