Commit Graph

42 Commits (7b064920dbc1766a28279b72379b7f6383f88a4f)

Author SHA1 Message Date
elsid 2ebe83c4d5
Use proper order for printf arguments 5 months ago
elsid 1e07935366
Make crashCatcherInstall no-op for Android
The crashcatcher.cpp is not linked on Android because it's not supported but the
function need to have some definition. Make it empty to avoid link failures.
11 months ago
elsid b96e32144c
Support lldb in crash catcher 12 months ago
elsid 0095cb604f
Handle sysctl errors without assert 12 months ago
elsid 4efc0e20a3
Report errors on handling the crash 12 months ago
elsid acb246cbf2
Report errors on printing gdb info 12 months ago
elsid 140cc53b55
Report errors on installing crash handler 12 months ago
elsid 2ef286b27a
Make sure function handling crash does not return 12 months ago
elsid fffc6101b7
Remove unnecessary nesting 12 months ago
elsid 55501a02c0
Define only one crashCatcherInstall function 12 months ago
elsid fc12728d25
Move crash_switch variable to cpp file 12 months ago
elsid 8348557893
Move crash handling out of crash handler installation 12 months ago
elsid 7763fe73d8
Make it clear handled signals are always the same 12 months ago
elsid d54bb5cb5a
Declare variables closer to where they are used 12 months ago
elsid d6f1fbe2c9
Remove unused user info function 12 months ago
elsid 388a73376c
Use std::optional for siginfo 12 months ago
elsid c95c8fcc36
Add missing description for SIGABRT 12 months ago
elsid 48c3268bcb
Reduce code duplication for finding signal description 12 months ago
elsid 98844a692d
Regroup crash catcher includes 12 months ago
Andrzej Głuszak 9b0a499b58 Remove strerror usages 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
Project579 e5c417c968 Make sure all paths are passed as std::filesystem::path instead of std::string where possible. 2 years ago
Arnaud Dochain 1163c12645 Allows to build on macos 10.15 2 years ago
elsid d2ed62ec3a
Allow to disable crash catcher on Windows 3 years ago
jvoisin 4e4debb1cb Remove even more of boost::filesystem 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
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
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
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