Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2013 08:50:41 +1000 (EST)
From:      Peter Jeremy <peter@rulingia.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/182471: emulators/virtualbox-ose gets SIGBUS with VNC
Message-ID:  <201309282250.r8SMofvo023230@server.rulingia.com>
Resent-Message-ID: <201309282300.r8SN01jC020577@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182471
>Category:       ports
>Synopsis:       emulators/virtualbox-ose gets SIGBUS with VNC
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 28 23:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Peter Jeremy
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
n/a
>Environment:
System: FreeBSD server.rulingia.com 10.0-CURRENT FreeBSD 10.0-CURRENT #21: Wed Jul 10 19:50:48 EST 2013 root@server.rulingia.com:/var/obj/usr/src/sys/server amd64

virtualbox-ose-4.2.18_1
tightvnc-1.3.10_3

>Description:
	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.

>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
	
>Fix:

	Unknown.



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309282250.r8SMofvo023230>