Getting rid of alignment faults in userspace

Dave Martin dave.martin at linaro.org
Mon Jun 20 10:28:34 UTC 2011


On Sat, Jun 18, 2011 at 10:48:16AM -0400, Nicolas Pitre wrote:
> On Sat, 18 Jun 2011, Arnd Bergmann wrote:
> 
> > On Friday 17 June 2011, Nicolas Pitre wrote:
> > > On Fri, 17 Jun 2011, Arnd Bergmann wrote:
> > > > On Friday 17 June 2011 14:10:11 Dave Martin wrote:
> > > > 
> > > > > As part of the general effort to make open source on ARM better, I think 
> > > > > it would be great if we can disable the alignment fixups (or at least
> > > > > enable logging) and work with upstreams to get the affected packages
> > > > > fixed.
> > 
> > > The only effective rate limiting configuration I would recommend is to 
> > > SIGBUS misaligned accesses by default.  And that's also supported 
> > > already with the right flag.
> > > 
> > 
> > So should we change the default in the prerelease kernels to enable SIGBUS?
> > The immediate result of that would be to break firefox, which would
> > cause a lot of questions on the mailing list.
> 
> Only if we really plan on fixing Firefox, and upstream is 
> interested in accepting the fix.  Otherwise there is no point, 
> especially when it is possible for those actually interested in this 
> issue to change the misaligned access behavior at run time for 
> themselves.

It looks like the maemo guys beat us to this whole exercise.

This bug has already been reported and fixed upstream.

https://bugzilla.mozilla.org/show_bug.cgi?id=634594

It looks like it's fixed in mozilla-5.0 (and Ubuntu oneiric)

Cheers
---Dave



More information about the ubuntu-devel mailing list