Xephyr crashes immediately on x86_64

Stefan Dirsch sndirsch at suse.de
Thu Jul 19 15:46:57 PDT 2007


On Thu, Jul 19, 2007 at 08:25:50AM -0700, Alan Coopersmith wrote:
> 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;

Indeed. This patch fixes this issue.

Best regards,
Stefan

Public Key available
------------------------------------------------------
Stefan Dirsch (Res. & Dev.)   SUSE LINUX Products GmbH
Tel: 0911-740 53 0            Maxfeldstraße 5
FAX: 0911-740 53 479          D-90409 Nürnberg
http://www.suse.de            Germany 
-----------------------------------------------------------------
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
-----------------------------------------------------------------



More information about the xorg mailing list