Xephyr crashes immediately on x86_64
Alan Coopersmith
alan.coopersmith at sun.com
Thu Jul 19 08:25:50 PDT 2007
Stefan Dirsch wrote:
> Hi
>
> Anybody, who can reproduce the immediate crash of Xepyhr on x86_64?
> I've opened a bugreport (#11582) for this. I'm using
> xorg-server-1.3.0.0 sources.
With 1.2 & 1.3, we had that problem due to the long vs. CARD32 mismatch
in KeySym definitions between client and server code - this patch seemed
to fix it (and the input rework in head fixed it as well in a different
way):
--- xorg-server-1.2.0/hw/kdrive/ephyr/hostx.c~ 2007-01-22 21:39:15.000000000
-0800
+++ xorg-server-1.2.0/hw/kdrive/ephyr/hostx.c 2007-02-02 16:03:09.840426000
-0800
@@ -40,6 +40,7 @@
#include <X11/Xatom.h>
#include <X11/keysym.h>
#include <X11/extensions/XShm.h>
+#include <X11/Xmd.h>
/*
* All xlib calls go here, which gets built as its own .a .
@@ -79,7 +80,8 @@
extern KeySym EphyrKeymap[];
-extern KeySym kdKeymap[];
+extern CARD32 kdKeymap[]; /* really KeySym, but Xlib & Xserver
+ use different sizes for that */
extern int kdMinScanCode;
extern int kdMaxScanCode;
extern int kdMinKeyCode;
For 1.2, we also needed this patch:
http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commit;h=5dcad9e9d7d9993d65f989219bee94a060bbf476
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
More information about the xorg
mailing list