<p dir="ltr"><br>
On Oct 5, 2012 10:02 AM, "XilasZ" <<a href="mailto:xilasz@gmail.com">xilasz@gmail.com</a>> wrote:<br>
><br>
> As some of you may know, Tegra3 on the HTC OneX is a quad core, but there is a big issue (at least on my device) :<br>
><br>
> Core0 can do unaligned memory access, but the others can't, unaligned access on core1/core2/core3 will trigger a SIGBUS signal which will crash the app.<br>
> libav use unaligned memory access when decoding on arm, i got random SIGBUS crashes when playing h264 videos.<br>
> We checked this with mru, it's not a bug in libav or vlc, so it's either the cpu itself or the kernel (version 2.6.39.4 on my device).<br>
><br>
> To workaround this, i use the attached patch, which disable unaligned memory access. I never had a single SIGBUS crash since.<br>
><br>
> I didn't notice any performance change, I guess it might be slower.<br>
> I think we can do a little bench (edward ? :) ), and push it if it's acceptable.<br>
><br>
> What do you think ?</p>
<p dir="ltr">The OneX being a widespread device we can't just ignore the issue so do what you have to do but a benchmark would be very welcome indeed.</p>
<p dir="ltr">-- <br>
Ludovic Fauvet <br>
</p>