[MPlayer-users] SIGBUS due to alignment issue in SSE2 optimised code
Thomas Zander
thomas.e.zander at googlemail.com
Sat Jun 29 16:26:20 EEST 2019
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
More information about the MPlayer-users
mailing list