You are not logged in.

#1 2012-12-12 09:29:19

felix123
Member
Registered: 2012-12-12
Posts: 4

Virtualbox Segmentation Fault on startup (Error SUPR3HardenedMain)

Hello,

Since a recent system, virtualbox has started doing segmentation fault on startup. I have no clue what could be wrong.

$ virtualbox
Segmentation fault

I have removed it and emptied the cache

$ sudo pacman -R virtualbox
$ sudo pacman -R virtualbox-host-modules
$ sudo rm /var/cache/pacman/virtualbox*

Anyone has the same issue?

Thank you.

Last edited by felix123 (2012-12-12 16:33:59)

Offline

#2 2012-12-12 09:31:09

felix123
Member
Registered: 2012-12-12
Posts: 4

Re: Virtualbox Segmentation Fault on startup (Error SUPR3HardenedMain)

I forgot to add that I have version virtualbox 4.2.4-2.
And there is no report of bug here :

https://www.archlinux.org/packages/comm … irtualbox/

Offline

#3 2012-12-12 11:35:05

felix123
Member
Registered: 2012-12-12
Posts: 4

Re: Virtualbox Segmentation Fault on startup (Error SUPR3HardenedMain)

So more info on the problem :

 gdb /usr/lib/virtualbox/VirtualBox
Starting program: /usr/lib/virtualbox/VirtualBox 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
VirtualBox: Error -10 in SUPR3HardenedMain!
VirtualBox: Effective UID is not root (euid=1000 egid=1000 uid=1000 gid=1000)

VirtualBox: Tip! It may help to reinstall VirtualBox.
[Inferior 1 (process 12182) exited with code 01]

Reading this error i tried to run it as root.

$ sudo gdb /usr/lib/virtualbox/VirtualBox
GNU gdb (GDB) 7.5.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/virtualbox/VirtualBox...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/lib/virtualbox/VirtualBox 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7f09d9812700 (LWP 12512)]
[New Thread 0x7f09d9647700 (LWP 12513)]
[Thread 0x7f09d9647700 (LWP 12513) exited]
[Thread 0x7f09d9812700 (LWP 12512) exited]
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3400.3-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[New Thread 0x7f09d9812700 (LWP 12518)]
[New Thread 0x7f09d9647700 (LWP 12519)]
[New Thread 0x7f09c50c6700 (LWP 12534)]
[Thread 0x7f09c50c6700 (LWP 12534) exited]
^C
Program received signal SIGINT, Interrupt.
0x00007f09d8f0918d in poll () from /usr/lib/libc.so.6

And there you go the program starts. I have tried using it but it still crashes while being used (adding a new virtual machine).

Funnily, virtualbox does not work when launched directly as root. Same issue :

# VirtualBox 
Segmentation fault

Offline

#4 2012-12-13 12:41:32

felix123
Member
Registered: 2012-12-12
Posts: 4

Re: Virtualbox Segmentation Fault on startup (Error SUPR3HardenedMain)

It seems to be the same problem as here :

https://bbs.archlinux.org/viewtopic.php?id=89094

Though reinstalling does not work in my case.

Offline

Board footer

Powered by FluxBB