From owner-freebsd-emulation@freebsd.org Tue Feb 21 14:46:30 2017 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C918CE8A4B for ; Tue, 21 Feb 2017 14:46:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5C82A1F9A for ; Tue, 21 Feb 2017 14:46:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5BDBCCE8A4A; Tue, 21 Feb 2017 14:46:30 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B7D0CE8A49 for ; Tue, 21 Feb 2017 14:46:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FCF21F97 for ; Tue, 21 Feb 2017 14:46:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 81B7B78FD; Tue, 21 Feb 2017 14:46:29 +0000 (UTC) Delivered-To: vbox@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 6A22578FC for ; Tue, 21 Feb 2017 14:46:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8AD121F92 for ; Tue, 21 Feb 2017 14:46:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1LEkSKZ094270 for ; Tue, 21 Feb 2017 14:46:28 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: vbox@FreeBSD.org Subject: [Bug 217258] emulators/virtualbox-ose: Segmentation fault on startup Date: Tue, 21 Feb 2017 14:46:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bacon4000@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vbox@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 21 Feb 2017 16:23:24 +0000 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 14:46:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217258 --- Comment #2 from Jason Bacon --- Not getting a core when running as a normal user, and can't load the execut= able into gdb due to lack of read permission. After a little experimenting... <<>> /home/bacon 1008 # xauth add sculpin.acadix.biz/unix:0 MIT-MAGIC-COOKIE-1 f95dfa7ff3969ed6ea52777d650eab= bb <<>> /home/bacon 1009 # VirtualBox=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 !!Assertion Failed!! Expression: vrc =3D=3D VERR_ENV_VAR_NOT_FOUND Location : /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/Main/gl= ue/com.cpp(238) int com::GetVBoxUserHomeDirectory(char *, size_t, bool) VINF_SUCCESS Trace/BPT trap (core dumped) <<>> /home/bacon 1010 # gdb /usr/local/lib/virtualbox/VirtualBox VirtualBox.core=20 GNU gdb (GDB) 7.12.1 [GDB v7.12.1 for FreeBSD] Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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-portbld-freebsd10.3". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/local/lib/virtualbox/VirtualBox...done. [New LWP 100452] [New LWP 100656] [New LWP 100655] [New LWP 100654] Core was generated by `VirtualBox'. Program terminated with signal SIGTRAP, Trace/breakpoint trap. #0 0x00000008062347fb in com::GetVBoxUserHomeDirectory ( aDir=3D0x7fffffff93e0 "", aDirLen=3D4100, fCreateDir=3Dtrue) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/Main/gl= ue/com.cpp:238 238 AssertMsg(vrc =3D=3D VERR_ENV_VAR_NOT_FOUND, ("%Rrc\n",= vrc)); [Current thread is 1 (LWP 100452)] (gdb) where #0 0x00000008062347fb in com::GetVBoxUserHomeDirectory ( aDir=3D0x7fffffff93e0 "", aDirLen=3D4100, fCreateDir=3Dtrue) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/Main/gl= ue/com.cpp:238 #1 0x0000000806231410 in com::Initialize (fGui=3Dtrue, fAutoRegUpdate=3Dtr= ue) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/Main/gl= ue/initterm.cpp:385 #2 0x0000000805d86ffc in COMBase::InitializeCOM (fGui=3Dtrue) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/Fronten= ds/VirtualBox/src/globals/COMDefs.cpp:106 #3 0x0000000805dd54e5 in VBoxGlobal::prepare (this=3D0x801c10400) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/Fronten= ds/VirtualBox/src/globals/VBoxGlobal.cpp:3925 #4 0x0000000805dd53fa in VBoxGlobal::create () at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/Fronten= ds/VirtualBox/src/globals/VBoxGlobal.cpp:203 #5 0x0000000805d0d208 in TrustedMain (argc=3D1, argv=3D0x7fffffffe970) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/Fronten= ds/VirtualBox/src/main.cpp:523 #6 0x0000000000403f8e in SUPR3HardenedMain ( pszProgName=3D0x407af5 "VirtualBox", fFlags=3D3, argc=3D1, argv=3D0x7ff= fffffe970,=20 envp=3D0x7fffffffe980) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/HostDri= vers/Support/SUPR3HardenedMain.cpp:2405 #7 0x0000000000401417 in main (argc=3D1, argv=3D0x7fffffffe970,=20 envp=3D0x7fffffffe980) at /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/Fronten= ds/VirtualBox/src/hardenedmain.cpp:72 Furthermore, if I log in remotely, su to root and xauth the display, it *wi= ll* start up. FreeBSD porpoise.acadix bacon ~ 122: su Password: root@porpoise:/home/bacon # xauth add porpoise.acadix.biz/unix:10=20 MIT-MAGIC-COOKIE-1 b2958a425ca9930992be33699632494c root@porpoise:/home/bacon # VirtualBox=20 libGL error: failed to open drm device: No such file or directory libGL error: failed to load driver: r300 Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile [ GUI launches successfully ] root@porpoise:/home/bacon # exit I thought maybe it's a video driver issue, but two of the failing machines = are using radeon and one is using nv. I'm running many other graphical apps with no issues, most of them QT5-based under Lumina desktop. I also tried this under a vanilla fluxbox session wi= th the same results. --=20 You are receiving this mail because: You are the assignee for the bug.=