Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425698 - app-emulation/virtualbox-4.1.18 aborts on VNC connect attempt
Summary: app-emulation/virtualbox-4.1.18 aborts on VNC connect attempt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-10 16:05 UTC by Mark Zhitomirski
Modified: 2012-07-24 07:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info-b21-virtualbox-vnc-aborts,4.11 KB, text/plain)
2012-07-10 16:06 UTC, Mark Zhitomirski
Details

Note You need to log in before you can comment on or make changes to this bug.
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.
+