You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: 2.0.10 Reported for operating system, platform: OpenBSD, Other
Comments on the original bug report:
On 2019-10-21 01:52:59 +0000, Simon Howard wrote:
Created attachment 3989
Patch to fix bug.
In SDL_cpuinfo.c the default value for SDL_SIMDAlignment is set to 4 unless system-specific CPU features are detected. This can cause SDL_SIMDAlloc() to crash on MIPS64 systems because memory is allocated on 4-byte boundaries, but MIPS64 requires 8-byte alignment (unaligned accesses cause a Bus Error).
Changing to sizeof(void *) should make for a safer default and fixes the crash. Diff attached.
On 2019-10-21 02:19:54 +0000, Ryan C. Gordon wrote:
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 2.0.10
Reported for operating system, platform: OpenBSD, Other
Comments on the original bug report:
On 2019-10-21 01:52:59 +0000, Simon Howard wrote:
On 2019-10-21 02:19:54 +0000, Ryan C. Gordon wrote:
The text was updated successfully, but these errors were encountered: