Re: XFree 4.4.0 server crash on amd64 while running xsuite
On Fri, Jun 25, 2004 at 10:53:07AM -0700, Mark Vojkovich wrote: > On Fri, 25 Jun 2004, Nicolas Joly wrote: > > > On Thu, Jun 24, 2004 at 10:13:54AM -0700, Mark Vojkovich wrote: > > >It might be that there is some mismatch in types on amd64. > > > Eg. FB_SHIFT vs FbBits. It's hard to follow what's going on > > > in fb.h. > > > > Agreed, i'm not comfortable with that piece of code. > > > > But, in my case, FB_SHIFT is defined to 5 and sizeof(FbBits) to 4. > >There is some code in fb.h that suggests that it might have been > expecting FB_SHIFT == 6 for amd64. Seems like it should have worked > either way though. I thought about it, but the only define for FB_SHIFT (in fb.h): #ifndef FB_SHIFT #define FB_SHIFTLOG2_BITMAP_PAD #endif and LOG2_BITMAP_PAD is only defined in servermd.h : #ifndef BITMAP_SCANLINE_PAD #define BITMAP_SCANLINE_PAD 32 #define LOG2_BITMAP_PAD 5 #define LOG2_BYTES_PER_SCANLINE_PAD 2 #endif I suspect it cannot be changed easily ... >Looks like it walked off the edge of the "FbStip *src" array. > I suspect: > > src += srcStride; >or > src += srcX >> FB_STIP_SHIFT; > > is overincrementing. I'll check this. -- Nicolas Joly Biological Software and Databanks. Institut Pasteur, Paris. ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: XFree 4.4.0 server crash on amd64 while running xsuite
On Fri, 25 Jun 2004, Nicolas Joly wrote: > On Thu, Jun 24, 2004 at 10:13:54AM -0700, Mark Vojkovich wrote: > >It might be that there is some mismatch in types on amd64. > > Eg. FB_SHIFT vs FbBits. It's hard to follow what's going on > > in fb.h. > > Agreed, i'm not comfortable with that piece of code. > > But, in my case, FB_SHIFT is defined to 5 and sizeof(FbBits) to 4. There is some code in fb.h that suggests that it might have been expecting FB_SHIFT == 6 for amd64. Seems like it should have worked either way though. Looks like it walked off the edge of the "FbStip *src" array. I suspect: src += srcStride; or src += srcX >> FB_STIP_SHIFT; is overincrementing. Mark. > > > On Thu, 24 Jun 2004, Nicolas Joly wrote: > > > > > On Thu, Jun 24, 2004 at 07:56:53AM -0400, David Dawes wrote: > > > > On Fri, Jun 18, 2004 at 02:55:17PM +0200, Nicolas Joly wrote: > > > > >Hi, > > > > > > > > > >I just got a XFree 4.4.0 server crash, on my amd64 workstation while > > > > >running XFree xsuite. > > > > > > > > Try running the XFree86 server from within gdb and see what the stack trace > > > > reports when it crashes. > > > > > > Program received signal SIGSEGV, Segmentation fault. > > > 0x006e939b in fbBltOne () > > > (gdb) bt > > > #0 0x006e939b in fbBltOne () > > > #1 0x006f1d65 in fbPutXYImage () > > > #2 0x006f1985 in fbPutImage () > > > #3 0x0059790c in XAAPutImagePixmap () > > > #4 0x006ad91c in ProcPutImage () > > > #5 0x006aa40a in Dispatch () > > > #6 0x006bbc2a in main () > > > #7 0x00405568 in ___start () > > > > > > -- > > > Nicolas Joly > > > > > > Biological Software and Databanks. > > > Institut Pasteur, Paris. > > > ___ > > > Devel mailing list > > > [EMAIL PROTECTED] > > > http://XFree86.Org/mailman/listinfo/devel > > > > > ___ > > Devel mailing list > > [EMAIL PROTECTED] > > http://XFree86.Org/mailman/listinfo/devel > > -- > Nicolas Joly > > Biological Software and Databanks. > Institut Pasteur, Paris. > ___ > Devel mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/devel > ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: XFree 4.4.0 server crash on amd64 while running xsuite
On Thu, Jun 24, 2004 at 10:13:54AM -0700, Mark Vojkovich wrote: >It might be that there is some mismatch in types on amd64. > Eg. FB_SHIFT vs FbBits. It's hard to follow what's going on > in fb.h. Agreed, i'm not comfortable with that piece of code. But, in my case, FB_SHIFT is defined to 5 and sizeof(FbBits) to 4. > On Thu, 24 Jun 2004, Nicolas Joly wrote: > > > On Thu, Jun 24, 2004 at 07:56:53AM -0400, David Dawes wrote: > > > On Fri, Jun 18, 2004 at 02:55:17PM +0200, Nicolas Joly wrote: > > > >Hi, > > > > > > > >I just got a XFree 4.4.0 server crash, on my amd64 workstation while > > > >running XFree xsuite. > > > > > > Try running the XFree86 server from within gdb and see what the stack trace > > > reports when it crashes. > > > > Program received signal SIGSEGV, Segmentation fault. > > 0x006e939b in fbBltOne () > > (gdb) bt > > #0 0x006e939b in fbBltOne () > > #1 0x006f1d65 in fbPutXYImage () > > #2 0x006f1985 in fbPutImage () > > #3 0x0059790c in XAAPutImagePixmap () > > #4 0x006ad91c in ProcPutImage () > > #5 0x006aa40a in Dispatch () > > #6 0x006bbc2a in main () > > #7 0x00405568 in ___start () > > > > -- > > Nicolas Joly > > > > Biological Software and Databanks. > > Institut Pasteur, Paris. > > ___ > > Devel mailing list > > [EMAIL PROTECTED] > > http://XFree86.Org/mailman/listinfo/devel > > > ___ > Devel mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/devel -- Nicolas Joly Biological Software and Databanks. Institut Pasteur, Paris. ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
SoftOnCD.SpecialOfffersForYou.MOreInside
http://tqqqt.mhcnjcnn.info/?ve1AxM_F4z6Uh__cGLLx ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel