<div dir="ltr"><div><b>Thanks for answer, Frank.</b></div><div><b>Still doesn't work.</b></div><div><br></div>Compiler options: (hardened build + debug symbols)<br>'./configure --disable-libvpx --build-debug'<br><br>Then I built a package & installed it:<br>$ source $(pwd)/env.sh && kmk && kmk packing<br><br>Started debugger with user:<br>$ gdb /opt/VirtualBox/VirtualBox<br>...<br>(gdb) run<br>Starting program: /opt/VirtualBox/VirtualBox<br>[Thread debugging using libthread_db enabled]<br>Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".<br><font color="#ff0000">VirtualBox: Error -10 in SUPR3HardenedMain!</font><br>VirtualBox: Effective UID is not root (euid=1000 egid=1000 uid=1000 gid=1000)<br><br>VirtualBox: Tip! It may help to reinstall VirtualBox.<br>[Inferior 1 (process 9763) exited with code 01]<br>(gdb) LOG_GROUP_MM='MM_HEAP' expects 'MM'<br>(gdb)<br><br><b>1. Does it mean, that I cannot debug a Hardened VirtualBox with normal user (non-root) ?<br><br>2. I tried to start GDB with "root". It seems "VBOX_ASSERT=none" doesn't work.</b><br><br>root@debian7vm:~# export VBOX_ASSERT=none<br>root@debian7vm:~# gdb /opt/VirtualBox/VBoxSVC<br>(gdb) run<br>...<br>Program received signal SIGTRAP, Trace/breakpoint trap.<br>0x00007ffff758674b in RTLogDefaultInit ()<br>    at /home/user/VirtualBox-5.0.0_BETA2/src/VBox/Runtime/VBox/log-vbox.cpp:261<br>261         ASSERT_LOG_GROUP(MM);<br>(gdb)<br><br>Basically "VBOX_ASSERT=none" didn't help. <br>I did about 30 times "c".<br>So how to skip asserts again ?<div><br><b>3. VBoxSVC exits no matter what:</b><div><br>$ gdb /opt/VirtualBox/VBoxSVC<div><br>Program received signal SIGTRAP, Trace/breakpoint trap.<br>0x00007ffff7586fa6 in RTLogDefaultInit ()<br>    at /home/user/VirtualBox-5.0.0_BETA2/src/VBox/Runtime/VBox/log-vbox.cpp:292<br>292         ASSERT_LOG_GROUP(VRDP);<br>(gdb) c<br>Continuing.<br>Type Manifest File: /home/user/.config/VirtualBox/xpti.dat<br>###!!! ASSERTION: Factory creation failed: 'NS_SUCCEEDED(rv)', file /home/user/VirtualBox-5.0.0_BETA2/src/libs/xpcom18a4/xpcom/components/nsNativeComponentLoader.cpp, line 160<br>Break: at file /home/user/VirtualBox-5.0.0_BETA2/src/libs/xpcom18a4/xpcom/components/nsNativeComponentLoader.cpp, line 160<br>...</div><div>[New Thread 0x7ffff08d3700 (LWP 10905)]<br>###!!! ASSERTION: Factory creation failed: 'NS_SUCCEEDED(rv)', file /home/user/VirtualBox-5.0.0_BETA2/src/libs/xpcom18a4/xpcom/components/nsNativeComponentLoader.cpp, line 160<br>Break: at file /home/user/VirtualBox-5.0.0_BETA2/src/libs/xpcom18a4/xpcom/components/nsNativeComponentLoader.cpp, line 160<br><span style="background-color:rgb(255,255,255)"><font color="#ff0000">VBoxSVC: error: Failed to get IPC service! (rc=NS_ERROR_FACTORY_NOT_REGISTERED)<br>[Thread 0x7ffff08d3700 (LWP 10905) exited]<br>XPCOM server has shutdown.</font></span><br>[Inferior 1 (process 10893) exited normally]<br>(gdb) c<br>The program is not being run.</div></div></div><div><br></div><div><b>4. Running Debug build without a debugger fails instantly</b></div><div><br></div><div><div>root@debian7vm:~# export VBOX_ASSERT=none</div><div>root@debian7vm:~# /opt/VirtualBox/VBoxSVC</div><div>LOG_GROUP_MM='MM_HEAP' expects 'MM'</div><div>Trace/breakpoint trap</div></div><div><div>root@debian7vm:~# </div></div><div><br></div></div>