> > > layout is the most likely patch to have broken things... I haven't
> > > confirmed it is this particular patch yet, tomorrow I'll get some time to
> > > do it ..
> > >
> >
> > okay running client applications using
> >
> > setarch -L i386 glxgears
> >
> > makes them work.. I'll start looking for a bug in the the SIS client
> > side library..
>
> yeah. Look for 2GB assumptions - e.g. assumptions that pointers cast to
> integer will be positive values, such as:
>
> int i;
>
> i = malloc(somesize);
> if (i <= 0)
> handle_alloc_failure();
>
> here with the topdown layout you'd get a malloc 'failure'.
Just for completeness, Thomas Winischoffer tracked this down over the
weekend, I had stared at it previously to no great avail,
The issue was with the user space SiS Mesa driver having an
uninitialised structure on the stack for the copy command sent to the
DRM, with the old layout it would end up with zero'ed reserved fields
by luck most of the time, with the new one it went the other way..
the fix is now in Mesa CVS....
Dave.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]