scrawl
732212070d
crashcatcher: complain when launching gdb fails
8 years ago
David Carlier
83bab29e4b
Mainly making compilable under OpenBSD.
...
Renaming one resource file as the space led to issue for qt/moc.
9 years ago
scrawl
d1375cd3a3
Crashcatcher: limit backtrace to a sensible number of stack frames
...
When a stack overflow occurs, trying to print the whole stack would cause the process to hang indefinitely.
9 years ago
Tobias Kortkamp
0659687bfb
Some fixes for building on FreeBSD
9 years ago
scrawl
93a76e2f56
Revert debce0fb80
, use a sleep() to work around the X11 bug
...
Problem with debce0fb80
is the crashed process won't be killed until the user accepts the message box, and it's harder to get to the message box when the window is in full screen or the cursor is locked.
9 years ago
scrawl
debce0fb80
crashcatcher: show the message box before killing crashed process
...
This change fixes a random X server lock-up that I get about 1 in 10 times when a crash is caught. I'm presuming it's an X server bug since faulty applications shouldn't be able to crash or freeze the X server under any circumstances.
9 years ago
scrawl
a47617c21f
Fix tab indentations in apps/ and components/
9 years ago
Bret Curtis
45299abe99
make it C98 compat
10 years ago
Bret Curtis
dcfadeb51a
fix typo and annoying gcc/clang unused return values in crash catcher
10 years ago
scrawl
7252cb63a6
Fix cppcheck issues
10 years ago
Bret Curtis
feb0ef8390
fixes building on systems with kFreeBSD kernel
11 years ago
Bret Curtis
bb1fe23f9c
fix building on GNU Hurd
11 years ago
scrawl
65e36793fc
Fix messagebox on crash showing wrong path
11 years ago
scrawl
47bd170d7e
Crashcatcher: create temp file in /tmp, not working directory (which may not have write access)
11 years ago
Sebastian Wick
925d28e4a7
crashcatcher uname error checking
11 years ago
pvdk
92234cf783
Changed crashcatcher's uname system info retrieval and cleaned indentation
11 years ago
scrawl
20d806b40c
Change is_debugger_attached to a different hack
11 years ago
scrawl
b9899696e3
Add a crash catcher for unix. When encountering a fatal signal, attach gdb and log backtrace.
11 years ago