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
This was caught by UBSAN (exact repro is project specific but if required I can try building a clean one)
The gist is that runtime error: constructor call on misaligned address 0xeefae004 for type 'Luau::AstExprConstantNumber', which requires 8 byte alignment
while Allocator attempts to do some alignment, its not doing anything explicitly when allocating new pages. on 32bit platform this leads to whole Page being OK-aligned but since we are returning page->data its 4 bytes offsetted and is not 8 byte aligned anymore
One of the solutions is just to add alignas(8) to data member in Page type
The text was updated successfully, but these errors were encountered:
This was caught by UBSAN (exact repro is project specific but if required I can try building a clean one)
The gist is that
runtime error: constructor call on misaligned address 0xeefae004 for type 'Luau::AstExprConstantNumber', which requires 8 byte alignment
while Allocator attempts to do some alignment, its not doing anything explicitly when allocating new pages. on 32bit platform this leads to whole Page being OK-aligned but since we are returning page->data its 4 bytes offsetted and is not 8 byte aligned anymore
One of the solutions is just to add
alignas(8)
todata
member inPage
typeThe text was updated successfully, but these errors were encountered: