Re: Virtualbox Settings don't show any window (FreeBSD-10 current)

2013-09-25 Thread Bernhard Fröhlich
Sorry but I forgot one important thing - please rebuild the virtualbox-ose
port with debug option enabled.

Am 25.09.2013 16:35 schrieb Miguel Clara miguelmcl...@gmail.com:

 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
are
 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 0x in ?? ()
 (gdb) backtrace
 #0 0x in ?? ()
 #1 0x000800afd042 in ?? ()
 #2 0x000801dda9c0 in ?? ()
 #3 0x7fffacf0 in ?? ()
 #4 0x in ?? ()


 On Wed, Sep 25, 2013 at 11:06 AM, Bernhard Fröhlich de...@freebsd.org
wrote:

 On Wed, Sep 25, 2013 at 3:44 AM, Miguel C. miguelmcl...@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
Segmentation 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
stacktrace
 would help. Since virtualbox is a suid root binary no coredump is
created per
 default.

 You need to set:

 sysctl kern.sugid_coredump=1

 and then start virtualbox and let it crash. Then you should get a
coredump 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/


___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: Virtualbox Settings don't show any window (FreeBSD-10 current)

2013-09-25 Thread Tomasz Kowalczyk
On Wednesday 25 September 2013 20:49:50 Bernhard Fröhlich wrote:
 Sorry but I forgot one important thing - please rebuild the virtualbox-ose
 port with debug option enabled.

Im getting simmilar signal 11 segmentation fault.
Output:

[New Thread 801c06400 (LWP 101201/VirtualBox)]
(gdb) backtrace
#0  0x in ?? ()
#1  0x000800afd072 in __dynamic_cast (src_ptr=value optimized out, 
src_type=0x8112b13a8, 
dst_type=0x8112b1440, src2dst=0)
at ../../.././../gcc-4.6.3/libstdc++-v3/libsupc++/dyncast.cc:61
#2  0x000810ecac79 in KConfigGroup::reparent () from 
/usr/local/lib/libkdecore.so.7
#3  0x000810ec56dd in KConfigGroup::KConfigGroup () from 
/usr/local/lib/libkdecore.so.7
#4  0x000810f60475 in KStandardDirs::addCustomized () from 
/usr/local/lib/libkdecore.so.7
#5  0x000810f57706 in KComponentData::KComponentData () from 
/usr/local/lib/libkdecore.so.7
#6  0x000810f575d0 in KComponentData::KComponentData () from 
/usr/local/lib/libkdecore.so.7
#7  0x00081058d8c4 in Oxygen::Helper::Helper () from 
/usr/local/lib/liboxygenstyle.so.5
#8  0x00080f85f325 in qt_plugin_instance () from 
/usr/local/lib/kde4/plugins/styles/oxygen.so
#9  0x00080f83a73d in qt_plugin_instance () from 
/usr/local/lib/kde4/plugins/styles/oxygen.so
#10 0x00080f85f027 in qt_plugin_instance () from 
/usr/local/lib/kde4/plugins/styles/oxygen.so
#11 0x000806f4eabd in QStyleFactory::create () from 
/usr/local/lib/qt4/libQtGui.so.4
#12 0x000806c64cdf in QApplication::style () from 
/usr/local/lib/qt4/libQtGui.so.4
#13 0x000806cdb1e7 in qt_set_x11_resources () from 
/usr/local/lib/qt4/libQtGui.so.4
#14 0x000806cd79bf in qt_init () from /usr/local/lib/qt4/libQtGui.so.4
#15 0x000806c642a1 in QApplicationPrivate::construct () from 
/usr/local/lib/qt4/libQtGui.so.4
#16 0x000806c64bcd in QApplication::QApplication () from 
/usr/local/lib/qt4/libQtGui.so.4
#17 0x000803da956f in TrustedMain (argc=1, argv=0x7fffd6f8) at 
qglobal.h:1510
#18 0x004024cb in SUPR3HardenedMain (pszProgName=0x404d14 
VirtualBox, fFlags=1, argc=1, 
argv=0x7fffd6f8, envp=0x7fffd708)
at /tmp/build/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.18/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp:346
#19 0x004013cf in main (argc=1, argv=0x7fffd6f8, 
envp=0x7fffd708)
at /tmp/build/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.18/src/VBox/Frontends/VirtualBox/src/hardenedmain.cpp:32


I made some tests, and VirtualBox only crash here when I have KDE installed.
I can run virtual machines just fine with VBoxManage --type sdl.
On clean install with just xorg + openbox + VirtualBox everything runs 
flawlessly.
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org