Skip to content

Segfault on call to vmaCreateAllocator() when using c++11 #472

@mjdave

Description

@mjdave

This is on a raspberry pi 5, clean and up to date, VMA 3.2.1.

I had a consistent segfault on line 12928 in the VmaAllocator_T constructor, called via 15075, and was able to fix it by changing from c++11 to c++17 with set (CMAKE_CXX_STANDARD 17) in my project's CMakeLists.txt.

I'm sorry I don't know enough about c++ to help further, but thought this might be useful, and it could maybe give a compile error instead of a runtime one. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginput neededWaiting for more information

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions