jvoisin
813969a46e
Fix an off-by-one in windows_crashcatcher.cpp
2021-05-02 11:21:54 +00:00
Andrei Kortunov
2009916dd8
Fix dead code
2021-04-19 15:38:02 +04:00
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.
2021-04-17 13:14:01 +02:00
Andrei Kortunov
5f6f2c15b1
An another attempt to suppress Coverity warning about mkstemp
2021-04-14 08:07:43 +04:00
Andrei Kortunov
45b1c68af4
Remove annotation which does not work
2021-04-10 12:32:12 +04:00
CedricMocquillon
cc5c6fe3ad
Use data() method
2020-12-13 20:50:48 +01:00
CedricMocquillon
adeb4fe02f
Handle case where the log path has more that MAX_PATH characters
2020-12-13 14:10:44 +01:00
CedricMocquillon
f400116bcd
Use 32767 characters for log path
2020-12-13 14:09:44 +01:00
CedricMocquillon
3eb2b32123
Fix typpo issue on arguments
2020-12-13 14:09:14 +01:00
CedricMocquillon
e2041de969
Use the incremental approach to handle long path
2020-12-12 21:47:50 +01:00
CedricMocquillon
73afc55462
Fork the current process to monitor exe, generate minidump on crash
2020-12-12 20:17:26 +01:00
Andrei Kortunov
8084a336b5
Replace zeroes and nulls by nullptrs
2020-11-29 11:14:07 +04:00
Andrei Kortunov
00503d86e1
Try to disable CoverityScan warning in code with explanation
2020-10-28 18:01:42 +04:00
elsid
066f0a744f
Add env variable to enable/disable crash catcher
2020-04-25 15:42:06 +02:00
Capostrophic
9106e3646c
Fix outdated bug tracker links
2020-04-22 01:45:11 +03:00
Andrei Kortunov
f1db97fbbd
Improve info message about missing GDB (bug #4341 )
2019-05-30 14:51:31 +04:00
Frederic Chardon
a78d98df27
Fix crashcatcher
2019-01-17 10:38:34 +00:00
Andrei Kortunov
e06f0b797a
Replace all NULLs to nullptr
2018-10-09 10:21:12 +04:00
Andrei Kortunov
a262e4b342
Print warning, if can not close or remove temporary file
2018-09-11 11:11:27 +04:00
Andrei Kortunov
1452684d9e
Use new logging system for components
2018-08-14 19:42:41 +04:00
Andrei Kortunov
369ea7e177
Check if a temporary file was successfully closed
2018-08-01 20:36:29 +04:00
Nikolay Kasyanov
21f198af7a
Fix debugger detection on macOS ( #4511 )
2018-07-15 12:36:01 +02:00
Andrei Kortunov
16a4df25d6
Make void function to do not return value
2018-07-10 09:36:39 +04:00
Alexander Stillich
725cc94210
Renamed cc_install to something less cryptic (crashCatcherInstall)
2018-07-09 16:25:55 +02:00
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
2018-07-09 16:25:55 +02:00