From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27089 invoked from network); 12 Sep 1998 19:28:11 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 12 Sep 1998 19:28:11 -0000 Received: from voicenet.com (mail11.voicenet.com [207.103.0.37]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id PAA32675 for ; Sat, 12 Sep 1998 15:28:51 -0400 Received: (qmail 28490 invoked from network); 12 Sep 1998 19:28:08 -0000 Received: from rotary99-pri.voicenet.com (HELO voicenet.com) (209.71.52.9) by mail11.voicenet.com with SMTP; 12 Sep 1998 19:28:08 -0000 Message-ID: <35FAC39C.2483C490@voicenet.com> Date: Sat, 12 Sep 1998 14:55:27 -0400 From: Uncle George Organization: None Avail X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: axp-list@redhat.com CC: redhat-devel-list@redhat.com, Matti Aarnio Subject: Re: my X server crashes References: <19980911185015Z92249-454+13@mea.tmt.tele.fi> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit took the latest rawhide XFree86-3.3.2.3-20.src.rpm. compiled server with -O0 -g, and installed XF86_SVGA. tried java/supermojo/wizard button. i still get this alignment problem. ---> APPARENTLY THIS HAS NOT BEEN FIXED BTW if the int* is not properly aligned, u gonna get these alignment faults. so i dont see how this problem is gonna change, in particular if u store a char* + offset into an int*, and then fetch as an int*. you are bound to screw up sometime. gat [root@LX bin]# gdb XF86_SVGA 249 Program received signal SIGSEGV, Segmentation fault. MGAFillStippledCPUToScreenColorExpand () at mga_xaarepl.c:265 265 *(destptr++) = (*scratch >> scratch2) | (gdb) l 260 scratch = (CARD32*)(srcp + (offset >> 3)); 261 scratch2 = offset & 0x07; 262 263 if(shift & ~31) { 264 if(scratch2) { 265 *(destptr++) = (*scratch >> scratch2) | 266 (scratch[1] << (32 - scratch2)); 267 } else 268 *(destptr++) = *scratch; 269 } else { (gdb) where #0 MGAFillStippledCPUToScreenColorExpand () at mga_xaarepl.c:265 #1 0x12006394c in MGAFillRectStippled () at mga_xaarepl.c:350 #2 0x120078738 in xf86PolyFillRect () at xf86frect.c:362 #3 0x12007b974 in DoPatternedFillSpans () at xf86spans.c:323 warning: Hit heuristic-fence-post without finding (gdb) p offset $1 = 11 (gdb) p srcp $2 = (unsigned char *) 0x1207f0860 'ÿ' , "à" (gdb) # Matti Aarnio wrote: > > when running my alpha/java jdk116 with a matrix & redhats XFree86 for > > 5.1, i get an alignment failure in the mga ( matrox video ) driver. > > i'm having trouble finding who to email this AXP alignment problem, but > > am unable to find a good email address. Ie the core team for > > matrox/linux. > > That is a known problem, and is fixed in my patch sets which > have (mostly) been incorporated with RedHat's rawhide development > series. > > You should get new working version of SVGA driver from > the RH5.1 updates, or from the 'rawhide' series > (ftp://ftp.redhat.com/pub/rawhide/alpha/) >