Wondering if anyone has seen this before. I’m building with VS2019, which I don’t think has been done before.
I’m seeing a heap-corruption crash in Paths.cxx:
std::string Paths::pathToLibraryContainingFunction(void (*func)(void))
{
return boost::dll::symbol_location(*func).parent_path().string();
}
called by
static std::string pythonLibraryLocation = Paths::pathToLibraryContainingFunction(Py_Initialize);
It’s a RelWithDebInfo build.
Debugging, it seems like the path retrieved is garbage, the parent_path() ends up being empty, and then when the temporary objects are cleaned up, the heap corruption is detected.
I’ve tried to set PATH and PYTHONPATH to point to the superbuild python, but it didn’t change the behavior.
Anyone seen something similar before?