From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30954 invoked from network); 22 Sep 1998 12:01:37 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 22 Sep 1998 12:01:37 -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 IAA00390 for ; Tue, 22 Sep 1998 08:01:01 -0400 Received: (qmail 26065 invoked from network); 22 Sep 1998 12:00:25 -0000 Received: from rotary942-pri.voicenet.com (HELO voicenet.com) (209.71.52.42) by mail11.voicenet.com with SMTP; 22 Sep 1998 12:00:25 -0000 Message-ID: <36070789.13CA8643@voicenet.com> Date: Mon, 21 Sep 1998 22:12: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, Matti Aarnio Subject: Re: my X server crashes References: <19980913000603Z92249-454+14@mea.tmt.tele.fi> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit lets see, offset = 11 , and srcp = 0x1207f0860, therefor scratch = srcp + ( offset >>3 ) will yield 1207f0861. and then *scratch ( which is an int *) with get alignment fault. hopes this helps in ur analysis. Matti Aarnio wrote: > > [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 > > (gdb) p offset > > $1 = 11 > > (gdb) p srcp > > $2 = (unsigned char *) 0x1207f0860 'ÿ' , "à" > > (gdb) > > Hmm.. srcp works ok, what the destptr points to ?