Commit Graph

36 Commits (dd5901d3517cc519819a2c45b37b1fd93e571ce8)

Author SHA1 Message Date
elsid 0dcb1f5aac
Fix build on Windows
Use wrapper header over Windows.h to undefine far and near in a single place.
3 years ago
ζeh Matt ba30b37bb4
Add missing include to unordered_map 3 years ago
AnyOldName3 fa05b0b96c Include <atomic>
Should fix compilation on CI
3 years ago
AnyOldName3 0e29a760d8 Tidy up includes 3 years ago
AnyOldName3 f05cd901cf Show messagebox while OpenMW appears to be frozen
If it thaws, the messagebox disappears again.
The user can press the Abort button to kill OpenMW and generate a crash
dump.
3 years ago
AnyOldName3 d15c2922a9 Stop monitoring closed windows
If it gets repalced, the new one will be watched instead
3 years ago
AnyOldName3 97396da74c Get rid of break
It might look confusing with the breaks in the switch below
3 years ago
AnyOldName3 fe1523d16d Fix signed/unsigned mismatch 3 years ago
AnyOldName3 c746a8abb7 Attempt to catch freezes on Windows 3 years ago
elsid 98a7d90ee2
Assume SIGSTKSZ is not a constant
SIGSTKSZ is not defined as constant since glibc 2.34:
https://sourceware.org/git/?p=glibc.git;a=commit;h=6c57d320484988e87e446e2e60ce42816bf51d53
3 years ago
Andrei Kortunov f9d42ed396 Fix MSVC's C4267 warnings 4 years ago
jvoisin 813969a46e Fix an off-by-one in windows_crashcatcher.cpp 4 years ago
Andrei Kortunov 2009916dd8 Fix dead code 4 years ago
fredzio 4058e117ca Don't clobber game log file when we collect a stack trace.
When the crash catcher catch a signal it forks to collect data about its
parent. In the process the child reinitialize the log file, which ends
up empty.
4 years ago
Andrei Kortunov 5f6f2c15b1 An another attempt to suppress Coverity warning about mkstemp 4 years ago
Andrei Kortunov 45b1c68af4 Remove annotation which does not work 4 years ago
CedricMocquillon cc5c6fe3ad Use data() method 4 years ago
CedricMocquillon adeb4fe02f Handle case where the log path has more that MAX_PATH characters 4 years ago
CedricMocquillon f400116bcd Use 32767 characters for log path 4 years ago
CedricMocquillon 3eb2b32123 Fix typpo issue on arguments 4 years ago
CedricMocquillon e2041de969 Use the incremental approach to handle long path 4 years ago
CedricMocquillon 73afc55462 Fork the current process to monitor exe, generate minidump on crash 4 years ago
Andrei Kortunov 8084a336b5 Replace zeroes and nulls by nullptrs 4 years ago
Andrei Kortunov 00503d86e1 Try to disable CoverityScan warning in code with explanation 4 years ago
elsid 066f0a744f
Add env variable to enable/disable crash catcher 5 years ago
Capostrophic 9106e3646c Fix outdated bug tracker links 5 years ago
Andrei Kortunov f1db97fbbd Improve info message about missing GDB (bug #4341) 6 years ago
Frederic Chardon a78d98df27 Fix crashcatcher 6 years ago
Andrei Kortunov e06f0b797a Replace all NULLs to nullptr 6 years ago
Andrei Kortunov a262e4b342 Print warning, if can not close or remove temporary file 6 years ago
Andrei Kortunov 1452684d9e Use new logging system for components 6 years ago
Andrei Kortunov 369ea7e177 Check if a temporary file was successfully closed 7 years ago
Nikolay Kasyanov 21f198af7a Fix debugger detection on macOS (#4511) 7 years ago
Andrei Kortunov 16a4df25d6 Make void function to do not return value 7 years ago
Alexander Stillich 725cc94210 Renamed cc_install to something less cryptic (crashCatcherInstall) 7 years ago
Doc West 467989cdd5 Moved crashcatcher to a component and also use it in CS
Reworked debugger detection (failed on gdb 7.11), it now uses /proc to detect the debugger
7 years ago