<div dir="ltr"><div><div><div><div><div>While trying to investigate the access issue i posted in a separate thread (<a href="https://www.virtualbox.org/pipermail/vbox-dev/2016-May/013828.html" target="_blank">https://www.virtualbox.org/pipermail/vbox-dev/2016-May/013828.html</a>),
 I tried to modify the xpcom sample to try and launch a VM to check if 
anything specific is wrong with my binaries. Basically I just added a 
block of code that would attempt to launch the machine in the void 
listVMs(IVirtualBox *virtualBox) function:<br><br>nsCOMPtr<ISession> session;<br>rc = machine->LockMachine(session, LockType_VM);<br>if (NS_SUCCEEDED(rc))<br>{<br>  nsCOMPtr<IConsole> console;<br>  rc  = session->GetConsole(getter_AddRefs(console));<br>  if (NS_SUCCEEDED(rc))<br>  {<br>    nsCOMPtr<IProgress> progress;<br>    rc = console->PowerUp(getter_AddRefs(progress));<br>    if (NS_SUCCEEDED(rc))<br>    {<br>      progress->WaitForCompletion(-1);<br>    }<br>    else<br>    {<br>      printf("Could not power up the console: 0x%08x\n", rc);<br>    }<br>  }<br>  else<br>  {<br>    printf("Could not obtain console from the machine: 0x%08x\n", rc);<br>  }<br>}<br>else<br>{<br>  printf("Could not lock the machine: 0x%08x\n", rc);<br>}<br>/* don't forget to release the objects in the array... */<br>machine->Release();<br><br></div>Compiling and running this makes VBoxSVC crash and the call to LockMachine fail with <span>NS_ERROR_ABORT (<em>0x80004004</em>).<br><br></span></div><span>The VBoxSVC.log basically just stops:<br><br>VirtualBox XPCOM Server 5.0.20 r106931 linux.amd64 (Apr 28 2016 14:08:17) release log<br>00:00:00.000387 main     Log opened 2016-05-09T06:50:16.364856000Z<br>00:00:00.000390 main     Build Type: release<br>00:00:00.000395 main     OS Product: Linux<br>00:00:00.000396 main     OS Release: 4.4.0-22-generic<br>00:00:00.000397 main     OS Version: #39-Ubuntu SMP Thu May 5 16:53:32 UTC 2016<br>00:00:00.000431 main     DMI Product Name: Z9PE-D16 Series<br>00:00:00.000442 main     DMI Product Version: 1.0X<br>00:00:00.000531 main     Host RAM: 15993MB total, 14686MB available<br>00:00:00.000536 main     Executable: /usr/lib/virtualbox/VBoxSVC<br>00:00:00.000537 main     Process ID: 4240<br>00:00:00.000538 main     Package type: LINUX_64BITS_UBUNTU_16_04<br>00:00:00.107500 nspr-2   Home directory: '/home/rudolfs/.config/VirtualBox'<br>00:00:00.107849 nspr-2   Loading settings file "/home/rudolfs/.config/VirtualBox/VirtualBox.xml" with version "1.12-linux"<br>00:00:00.110140 nspr-2   Successfully initialised host USB using sysfs<br>00:00:00.112014 nspr-2   HostDnsMonitor: old information<br>00:00:00.112053 nspr-2     no server entries<br>00:00:00.112063 nspr-2     no search string entries<br>00:00:00.112069 nspr-2     no domain set<br>00:00:00.112074 nspr-2   HostDnsMonitor: new information<br>00:00:00.112079 nspr-2     server 1: 192.168.1.1<br>00:00:00.112086 nspr-2     search string 1: homerouter.cpe<br>00:00:00.112093 nspr-2     domain: homerouter.cpe<br>00:00:00.112108 nspr-2   HostDnsMonitorProxy::notify<br>00:00:00.115814 nspr-2   VD: VDInit finished<br>00:00:00.124915
 nspr-2   Loading settings file "/home/rudolfs/VirtualBox VMs/Windows 7 
XPDM/Windows 7 XPDM.vbox" with version "1.15-linux"<br><br></span></div><span>I've uploaded the .crash file from /var/crash to Google Drive since it was too big to post here: <a href="https://drive.google.com/open?id=0BxZxYDtgrhYKZFQtZ2QwWlRyeFk">https://drive.google.com/open?id=0BxZxYDtgrhYKZFQtZ2QwWlRyeFk</a><br><br></span></div><span>Best Regards,<br></span></div><span>Rudolfs Bundulis</span></div>