Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 425698

Summary: app-emulation/virtualbox-4.1.18 aborts on VNC connect attempt
Product: Gentoo Linux Reporter: Mark Zhitomirski <marcuzero>
Component: New packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED FIXED    
Severity: normal CC: patrick, swapon
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Mark Zhitomirski 2012-07-10 16:05:30 UTC
Headless VirtualBox craches on VNC connect

Reproducible: Always

Steps to Reproduce:
1. "emerge virtualbox" with "headless vnc -qt4" USE flags
2. start VM named e.g. "d6" with the following command: VBoxHeadless -s d6 --vnc --vncport 5903
3. See VM starting and printing some VNC messages as it boots
4. Connect to VNC
Actual Results:  
VBoxHeadless aborts and prints call stack having at top smth. like this:

...
/lib/libc.so.6(+0xf9767)[0x7f3c5327a767]
/usr/lib/libvncserver.so.0(rfbProcessNewConnection+0x104)[0x7f3c50d2f5c4]
...

Expected Results:  
VNC connects OK and displays running machine screen

Some analysis is here: https://bugs.archlinux.org/task/30401
Workaround: 
echo "=net-libs/libvncserver-0.9.9" >> /etc/portage/package.mask
emerge -N virtualbox
(this makes net-libs/libvncserver-0.9.8.2-r2 installed which works OK with virtualbox)
Comment 1 Mark Zhitomirski 2012-07-10 16:06:20 UTC
Created attachment 317816 [details]
emerge --info
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-07-24 07:50:45 UTC
+*virtualbox-4.1.18-r1 (24 Jul 2012)
+
+  24 Jul 2012; Lars Wendler <polynomial-c@gentoo.org>
+  +virtualbox-4.1.18-r1.ebuild, +files/virtualbox-4.1.18-ipv6_vnc.patch:
+  Fixed crash when opening a VNC connection via IPv6. Thanks to Mark
+  Zhitomirski for reporting this in bug #425698.
+