x11-base/xorg-server-1.11.2-r2 tigervnc/libvnc.so GetMaster undefined symbol crash The X server crashes on first keyboard activity with this error message: /usr/bin/X: symbol lookup error: /usr/lib/xorg/modules/extensions/libvnc.so: undefined symbol: GetMaster Reproducible: Always Steps to Reproduce: 1.emerge tigervnc with +xorgmodule in USE 2.Load "vnc" and configure it in /etc/X11/xorg.conf 3.Start the X server 4.Connect to it with vncviewer 5.Open and type into an xterm Actual Results: The X server crashes with these messages on the first keyboard activity. Wed Feb 22 18:21:20 2012 VNCSConnST: Server default pixel format depth 24 (32bpp) little-endian rgb888 VNCSConnST: Client pixel format depth 24 (32bpp) little-endian rgb888 /usr/bin/X: symbol lookup error: /usr/lib/xorg/modules/extensions/libvnc.so: undefined symbol: GetMaster korgac: Fatal IO error: client killed kdeinit4: Fatal IO error: client killed kdeinit4: sending SIGHUP to children. klauncher: Exiting on signal 1 kdeinit4: sending SIGTERM to children. kdeinit4: Exit. Expected Results: It should not crash the X server as it did prior to the last xorg-server/tigervnc bump. There appears to be version skew between xorg-server and tigervnc in portage - see this link for a patch which restores the correct behavior: http://patchwork.freedesktop.org/patch/7545/ Taking the above patch and creating an updated ebuild with this one line patch is sufficient to correct the problem: --- xorg-server-1.11.2-r2.ebuild 2012-02-22 18:34:25.000000000 +0000 +++ xorg-server-1.11.2-r3.ebuild 2012-02-22 18:35:49.000000000 +0000 @@ -114,6 +114,7 @@ "${FILESDIR}"/${PN}-1.9-nouveau-default.patch "${FILESDIR}"/${PN}-1.11-disable-tests-without-ddx.patch "${FILESDIR}"/${PN}-1.11-pointer-to-int-cast.patch + "${FILESDIR}"/export-GetMaster.patch ) See 335037 for a previous/similar problem with another undefined symbol (AllocDevicePair).
Created attachment 302897 [details, diff] Patch to the apply the export GetMaster patch
Created attachment 302899 [details, diff] Actual patch from upstream
tigervnc version is the latest stable version: net-misc/tigervnc-1.1.0-r3
Related threads: http://forums.gentoo.org/viewtopic-p-6933150.html Possibly the same issue affecting tightvnc xorg module. http://forums.gentoo.org/viewtopic-t-908684.html I fixed the problem using the version of the patch from fedora as mentioned in the second thread.
*** Bug 410599 has been marked as a duplicate of this bug. ***
Fixed in -r4 and -r5