Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibly an alignment problem on iOS armv7 32bit #299

Closed
datgame opened this issue Jan 12, 2015 · 1 comment
Closed

Possibly an alignment problem on iOS armv7 32bit #299

datgame opened this issue Jan 12, 2015 · 1 comment

Comments

@datgame
Copy link

datgame commented Jan 12, 2015

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.

@Groovounet
Copy link
Member

Hi,

I suspect that this is a duplicate bug from #303 which should be fixed in GLM 0.9.6.2.

Thanks,
Christophe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants