SIGBUS due to alignment issue in SSE2 optimised code

Thomas Zander <[email protected]>
Newsgroups gmane.comp.video.mplayer.user
Message-ID <[email protected]>
Hi,

on FreeBSD mplayer crashes reproducibly under these circumstances:
- 1080p content
- PGS subtitle
- SSE2 available; mplayer compiled with HAVE_SSE2

SIGBUS occurs in sub/osd_template.c:152 because _mm_load_si128 receives
srca which is not aligned on 16 bytes.

Changing all _mm_load_si128 to _mm_loadu_si128 in this file works
around the problem, but the better fix might be to ensure srca
is 16 byte aligned, correct?

Best
Riggs
_______________________________________________
MPlayer-users mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.