Open rminderhoud opened 5 years ago
Actually, it appears this only occurs if you try to destroy a gdb right after creation without closing it:
Crashes:
const wchar_t* path = L"C:\\Users\\RALPHM~1\\AppData\\Local\\Temp\\test.gdb";
FileGDBAPI::Geodatabase fgdb;
FILEGDBAPI::CreateGeodatabase(path, fgdb);
FileGDBAPI::DeleteGeodatabase(path);
Works:
const wchar_t* path = L"C:\\Users\\RALPHM~1\\AppData\\Local\\Temp\\test.gdb";
FileGDBAPI::Geodatabase fgdb;
FileGDBAPI::CreateGeodatabase(path, fgdb);
FileGDBAPI::CloseGeodatabase(fgdb);
FileGDBAPI::DeleteGeodatabase(path);
this question maybe is connect with yous question ,but i don't know why .
Version: filegdb-api-1.5.1-vs2017 (x64) Toolchain: VS2017 (15.9.7) -- Windows SDK 8.1 -- Platform toolset v141 OS: Windows 10 (10.0.17134)
It seems calling
DeleteGeodatabase
causes a crash on my system. Here is the errorspit out by the debugger:And here is the call stack:
Example invocation:
Using a long path does not resolve the issue.