From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 26655 invoked from network); 21 Apr 1998 12:06:18 -0000 Received: from mail11.voicenet.com (HELO voicenet.com) (207.103.0.37) by mail2.redhat.com with SMTP; 21 Apr 1998 12:06:18 -0000 Received: (qmail 122 invoked from network); 21 Apr 1998 12:06:17 -0000 Received: from rotary930-pri.voicenet.com (HELO voicenet.com) (209.71.52.30) by mail11.voicenet.com with SMTP; 21 Apr 1998 12:06:17 -0000 Message-ID: <353C8C26.2C79A9D2@voicenet.com> Date: Tue, 21 Apr 1998 08:08:07 -0400 From: Uncle George Organization: None Avail X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: bugs@redhat.com CC: "axp-list@redhat.com" , xbugs@x.org Subject: X server bug on DIGITAL alpha References: <353AAEFB.A74F560A@voicenet.com> <199804200244.WAA15361@lacrosse.redhat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit in XFree86-3.3.1/xc/programs/Xserver/cfb32/cfb8segC.c there is a statement RROP_SOLID_MASK(( unsigned long *) addrp, e ) on my alpha addrp = PixelType * which equals a CARD32 * which equals to an unsigned int * UNFORTUNATELY, when u cast addrp to a long pointer, the macro RROP_SOLID_MASK, will try to fetch it as a long pointer ( ie get 8 bytes of a long value ). Thats ok, except that u get an alignment fault when the address doesn't point to an aligned long address, as it was in my case when the last nibble of the addr was a 4. i SUSPECT u want to keep the 32'ness of the addrp, and really don't want to go a 64 bit long pointer. ergo use: RROP_SOLID_MASK(( unsigned int *) addrp, e ) or better yet, if u have the typedef: RROP_SOLID_MASK(( unsigned long32 *) addrp, e ) or RROP_SOLID_MASK(( unsigned int32 *) addrp, e ) gat