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
throwstd::runtime_error("Could not start crash monitor process");
188
193
194
+
CloseHandle(pi.hProcess);
195
+
CloseHandle(pi.hThread);
196
+
189
197
waitMonitor();
190
198
}
191
199
@@ -222,7 +230,7 @@ namespace Crash
222
230
// must remain until monitor has finished
223
231
waitMonitor();
224
232
225
-
std::string message = "OpenMW has encountered a fatal error.\nCrash log saved to '" + std::string(mShm->mStartup.mCrashDumpFilePath) + "'.\nPlease report this to https://gitlab.com/OpenMW/openmw/issues !";
233
+
std::string message = "OpenMW has encountered a fatal error.\nCrash log saved to '" + getCrashDumpPath(*mShm) + "'.\nPlease report this to https://gitlab.com/OpenMW/openmw/issues !";
Copy file name to clipboardexpand all lines: components/crashcatcher/windows_crashmonitor.cpp
+3-2
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
13
13
#include"windows_crashcatcher.hpp"
14
14
#include"windows_crashshm.hpp"
15
+
#include"windowscrashdumppathhelpers.hpp"
15
16
#include<components/debug/debuglog.hpp>
16
17
17
18
namespaceCrash
@@ -207,7 +208,7 @@ namespace Crash
207
208
{
208
209
handleCrash(true);
209
210
TerminateProcess(mAppProcessHandle, 0xDEAD);
210
-
std::string message = "OpenMW appears to have frozen.\nCrash log saved to '" + std::string(mShm->mStartup.mFreezeDumpFilePath) + "'.\nPlease report this to https://gitlab.com/OpenMW/openmw/issues !";
211
+
std::string message = "OpenMW appears to have frozen.\nCrash log saved to '" + getFreezeDumpPath(*mShm) + "'.\nPlease report this to https://gitlab.com/OpenMW/openmw/issues !";
0 commit comments