Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2013 14:35:24 +0000
From:      Miguel Clara <miguelmclara@gmail.com>
To:        =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= <decke@freebsd.org>
Cc:        "freebsd-emulation@freebsd.org" <freebsd-emulation@freebsd.org>
Subject:   Re: Virtualbox "Settings" don't show any window (FreeBSD-10 current)
Message-ID:  <CADGo8CUo8=X6GNM%2Bxk9mWscgQKKBPf9T=dXO-u58UQ_qnNcgOA@mail.gmail.com>
In-Reply-To: <CAE-m3X0b-nUctDB629oofqSrYT74mGoEfjH_O7tef-rzj3o8vQ@mail.gmail.com>
References:  <5235FDD6.9030400@gmail.com> <929a7e24-7b75-482b-828c-89a093b37f58@email.android.com> <CAE-m3X0b-nUctDB629oofqSrYT74mGoEfjH_O7tef-rzj3o8vQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Here it goes (I'm not sure if this is the expected output though, because I
see a "permission denied" there...
The file permission for VirtualBox are odd, and if I change then it won't
run at all.


% gdb /usr/local/lib/virtualbox/VirtualBox VirtualBox.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you ar=
e
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as
"amd64-marcel-freebsd".../usr/local/lib/virtualbox/VirtualBox: Permission
denied.

Core was generated by `VirtualBox'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000000000 in ?? ()
(gdb) backtrace
#0 0x0000000000000000 in ?? ()
#1 0x0000000800afd042 in ?? ()
#2 0x0000000801dda9c0 in ?? ()
#3 0x00007fffffffacf0 in ?? ()
#4 0x0000000000000000 in ?? ()


On Wed, Sep 25, 2013 at 11:06 AM, Bernhard Fr=F6hlich <decke@freebsd.org>wr=
ote:

> On Wed, Sep 25, 2013 at 3:44 AM, Miguel C. <miguelmclara@gmail.com> wrote=
:
> >
> > Alpha 2 is not an option, please see:
> http://lists.freebsd.org/pipermail/freebsd-current/2013-September/044792.=
html
> >
> > However I've updated to r255788, recompiled and now I get a Segmentatio=
n
> fault trying to run VirtualBox...var/messages only shows that the process
> exited on signal 11... where else can I see more info?
>
> Signal 11 is SIGSEGV (segmentation violation) so a coredump and stacktrac=
e
> would help. Since virtualbox is a suid root binary no coredump is created
> per
> default.
>
> You need to set:
>
> sysctl kern.sugid_coredump=3D1
>
> and then start virtualbox and let it crash. Then you should get a coredum=
p
> that
> you can open with gdb and obtain a stacktrace.
>
> Something like:
> gdb /usr/local/lib/virtualbox/VirtualBox VirtualBox.core
> in the interactive prompt type: "backtrace" and send us the stacktrace.
>
> --
> Bernhard Froehlich
> http://www.bluelife.at/
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADGo8CUo8=X6GNM%2Bxk9mWscgQKKBPf9T=dXO-u58UQ_qnNcgOA>