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
Getting exception EXC_BAD_ACCESS (SIGBUS), subtype EXC_ARM_DA_ALIGN in vec3 default ctor.
This does not happen on arm64, nor in the ios-simulator (both 32 and 64 bit tested).
The problematic struct where the vec3 member is, is packed using #pragma pack(1).
Not packing the structs avoids the problem.
I found the GLM_FORCE_PURE macro to disable simd, as I figured those might crash on bad alignment, but setting this makes no difference.
The text was updated successfully, but these errors were encountered:
Getting exception EXC_BAD_ACCESS (SIGBUS), subtype EXC_ARM_DA_ALIGN in vec3 default ctor.
This does not happen on arm64, nor in the ios-simulator (both 32 and 64 bit tested).
The problematic struct where the vec3 member is, is packed using #pragma pack(1).
Not packing the structs avoids the problem.
I found the GLM_FORCE_PURE macro to disable simd, as I figured those might crash on bad alignment, but setting this makes no difference.
The text was updated successfully, but these errors were encountered: