Jump to content

Apllication crashes when using standart allocator


photo

Recommended Posts

Posted

Aplication built with not defined USE_MEMORY macro (standart new operator is used in this case, as I understand) crahes in vec4 copy constructor. Crash happens while performing one of sse instructions. Bug disappeared after removing USE_SSE and USE_SSE2 macro definitions.

 

It is easy to reproduce this bug: simply open unigine_vc2008.vcproj from Unigine distribution, remove USE_MEMORY macro form prepocessor definition and build. Using resulting library will cause application crash.

Posted

It's not a bug. SSE, ALTIVEC and NEON requires strong data alignment which can't be satisfied without internal memory manager.

×
×
  • Create New...