Bug 182471 - emulators/virtualbox-ose gets SIGBUS with VNC
Summary: emulators/virtualbox-ose gets SIGBUS with VNC
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Virtualbox Team (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-29 00:00 UTC by Peter Jeremy
Modified: 2014-02-27 15:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Jeremy 2013-09-29 00:00:00 UTC
	If I configure a VBox client to use VNC with simple authentication
	then connecting to it from a VNC viewer causes it to die with SIGBUS.

	This doesn't occur if I don't configure authentication (though my
	VNC client still asks for a password and VBox always rejects the
	connection).

	This is a regression from VBox 4.1 - which didn't request
	authentication if it wasn't configured.

Fix: 

Unknown.
How-To-Repeat: 
	VBoxManage setproperty vrdeauthlibrary "VBoxAuthSimple"
	VBoxManage modifyvm FreeBSD_64-10  --vrde on --vrdeextpack VNC --vrdeaddress 192.168.123.200 --vrdeport 6213  --vrdeauthtype external
	VBoxManage setextradata FreeBSD-10 "VBoxAuthSimple/users/peter" $(VBoxManage internalcommands passwordhash MyVncPassword | sed 's/^.* //')
	VBoxHeadless -s FreeBSD_64-10

Oracle VM VirtualBox Headless Interface 4.2.18_OSE
(C) 2008-2013 Oracle Corporation
All rights reserved.

28/09/2013 19:26:05 Listening for VNC connections on TCP port 6213
VRDE server is listening on port 6213.

	Then in another terminal:
	vncviewer 192.168.123.200:6213
Connected to RFB server, using protocol version 3.8
Performing standard VNC authentication
Password: 
password check failed!

	 This triggers the following output from VBoxHeadless (the 'Password:'
	 prompt matches 08:33:16 and the password was entered at 08:33:25)
		
29/09/2013 08:33:16   other clients:
29/09/2013 08:33:16 Client Protocol Version 3.8
29/09/2013 08:33:16 Protocol version sent 3.8, using 3.8
29/09/2013 08:33:16 rfbProcessClientSecurityType: executing handler for type 2
29/09/2013 08:33:25 authProcessClientMessage: authentication failed from 192.168.123.161
29/09/2013 08:33:25 rfbAuthProcessClientMessage: password check failed
29/09/2013 08:33:25 rfbClientSendString("password check failed!")
zsh: bus error  VBoxHeadless -s FreeBSD_64-10
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-29 00:00:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vbox

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Bernhard Froehlich 2013-11-13 12:36:38 UTC
Please try to generate a coredump and a stacktrace from it. The vbox binari=
es
all have uid bit set so per default FreeBSD does not generate a coredump fo=
r
them. You can temporary set a sysctl flag to overwrite that:

sysctl kern.sugid_coredump=3D1

--=20
Bernhard Fr=F6hlich
http://www.bluelife.at/
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2014-02-27 15:00:56 UTC
State Changed
From-To: open->closed

feedback timeout.