Glenn Maynard
|
4352995df0
|
atos BacktraceNames::FromAddr: use getpid(), not getppid()
|
2004-03-24 09:58:50 +00:00 |
|
Glenn Maynard
|
d34f838e2f
|
OS X: fix sm_crash()
|
2004-03-24 08:52:43 +00:00 |
|
Glenn Maynard
|
b461476016
|
better error handling
may need to read() more than once
|
2004-03-24 08:26:47 +00:00 |
|
Glenn Maynard
|
9730d2cadc
|
fix writing
fix error output
|
2004-03-24 08:22:38 +00:00 |
|
Glenn Maynard
|
3f3f6ad8ce
|
don't return from the exception handler; that'll just crash
|
2004-03-24 07:25:53 +00:00 |
|
Glenn Maynard
|
b0a8409a43
|
fix crash when write to parent fails
|
2004-03-24 07:22:02 +00:00 |
|
Glenn Maynard
|
6762ebf0ad
|
cleanup
block SIGPIPE
|
2004-03-24 00:21:43 +00:00 |
|
Glenn Maynard
|
3abe83c71e
|
readlink(/proc/pid/exe) instead of using argv[0]
|
2004-03-22 05:27:25 +00:00 |
|
Glenn Maynard
|
642b9ba141
|
failed PtraceAttach isn't fatal
|
2004-03-21 04:27:21 +00:00 |
|
Glenn Maynard
|
e779e80350
|
give RageMutexes names, so they can be identified more easily
|
2004-03-21 04:10:43 +00:00 |
|
Glenn Maynard
|
527be89140
|
cleanup
|
2004-03-21 03:40:26 +00:00 |
|
Glenn Maynard
|
dfec26c3b2
|
backtrace: attempt to recover from lost frame pointers
|
2004-03-21 03:36:54 +00:00 |
|
Glenn Maynard
|
4091e0cfaa
|
ForceCrashHandlerDeadlock
|
2004-03-20 21:36:10 +00:00 |
|
Glenn Maynard
|
b44cd86843
|
cleanup
|
2004-03-19 21:37:31 +00:00 |
|
Glenn Maynard
|
4e5d430926
|
simplify
don't need esp
|
2004-03-19 21:28:59 +00:00 |
|
Glenn Maynard
|
60e2a38dc7
|
cleanup Linux GetBacktrace
|
2004-03-19 21:17:44 +00:00 |
|
Glenn Maynard
|
77509653d9
|
cleanup
|
2004-03-19 21:01:40 +00:00 |
|
Glenn Maynard
|
5ead4a6530
|
GetThreadBacktraceContext leaves the given thread suspended
|
2004-03-19 20:39:15 +00:00 |
|
Glenn Maynard
|
5dd5bda234
|
remove GetThreadBacktraceContext; GetBacktrace( x, NULL ) gets the current backtrace
|
2004-03-19 09:25:45 +00:00 |
|
Glenn Maynard
|
361a88f4b9
|
no GetSignalBacktraceContext or CrashSignalHandler on DARWIN
|
2004-03-19 08:48:47 +00:00 |
|
Glenn Maynard
|
ff4291bc43
|
fix "crash handler crashed" detection
|
2004-03-19 08:41:46 +00:00 |
|
Glenn Maynard
|
61bcf2295b
|
cleanup
|
2004-03-19 08:40:55 +00:00 |
|
Steve Checkoway
|
834be3b4ee
|
unneeded header
|
2004-03-19 08:35:50 +00:00 |
|
Steve Checkoway
|
c35f4b1c98
|
s/theException/e/
|
2004-03-19 08:30:58 +00:00 |
|
Glenn Maynard
|
2311b8ccf9
|
oops
|
2004-03-19 08:29:11 +00:00 |
|
Glenn Maynard
|
308c68dc05
|
move SignalCodeName to CrashHandlerChild; not used on DARWIN
|
2004-03-19 08:28:14 +00:00 |
|
Steve Checkoway
|
4c1d80c810
|
Add missing includes.
|
2004-03-19 08:26:39 +00:00 |
|
Glenn Maynard
|
f4b442cf23
|
const fix
|
2004-03-19 08:18:54 +00:00 |
|
Glenn Maynard
|
f64db13d4d
|
fix
|
2004-03-19 08:18:22 +00:00 |
|
Glenn Maynard
|
0b34216843
|
OS X crash handling cleanup
|
2004-03-19 08:17:44 +00:00 |
|
Glenn Maynard
|
53ba5a735f
|
signal.h
|
2004-03-19 07:08:40 +00:00 |
|
Glenn Maynard
|
58067a1625
|
cleanup
|
2004-03-19 07:03:42 +00:00 |
|
Glenn Maynard
|
f7d681e72f
|
add CrashData struct
log more detailed signal information
|
2004-03-19 06:56:18 +00:00 |
|
Glenn Maynard
|
01acd9442c
|
const fix
|
2004-03-19 06:25:45 +00:00 |
|
Glenn Maynard
|
4d4493c449
|
cleanup
|
2004-03-19 05:04:04 +00:00 |
|
Glenn Maynard
|
7f7667cac7
|
use ucontext_t
|
2004-03-19 05:03:19 +00:00 |
|
Glenn Maynard
|
8b5d89b8f8
|
pass siginfo_t and ucontext_t to signal handlers
|
2004-03-19 05:01:23 +00:00 |
|
Glenn Maynard
|
4ad45bbd7f
|
sa.sa_handler -> sa.sa_flags
use SA_NODEFER
|
2004-03-19 04:43:24 +00:00 |
|
Glenn Maynard
|
03c9ff66e4
|
Block SIGPIPE in CrashSignalHandler.
|
2004-03-19 03:23:42 +00:00 |
|
Glenn Maynard
|
877cb324d1
|
better output on extra signal
|
2004-03-19 03:13:27 +00:00 |
|
Glenn Maynard
|
8df036b3d8
|
more missing stdint types
|
2004-03-18 01:39:05 +00:00 |
|
Ben Anderson
|
6fca202800
|
Not all Linux systems have a header that declares _CS_GNU_LIBPTHREAD_VERSION (Slackware 9.0 included apparently)
|
2004-03-14 19:46:16 +00:00 |
|
Steve Checkoway
|
b963effa31
|
Compile SM using a precompiled prefix header on OS X.
|
2004-03-14 08:53:09 +00:00 |
|
Glenn Maynard
|
08db59fa25
|
set up a barrier page at the end of sigaltstack
|
2004-03-14 01:37:07 +00:00 |
|
Glenn Maynard
|
5d6063681c
|
split out backtracing and symbol lookup
add support for backtracing other threads
|
2004-03-12 05:15:32 +00:00 |
|
Glenn Maynard
|
35688b1a21
|
sig handler fix
|
2004-03-12 03:03:09 +00:00 |
|
Glenn Maynard
|
6ba7f1d2e6
|
reduce SignalHandler dependency on StepMania.cpp
|
2004-03-12 01:09:38 +00:00 |
|
Glenn Maynard
|
14f6a6f510
|
reduce crash handler dependency on StepMania.cpp
|
2004-03-11 23:58:49 +00:00 |
|
Steve Checkoway
|
a5f8f3bc23
|
Open the correct file when crashing.
|
2004-03-11 10:01:09 +00:00 |
|
Steve Checkoway
|
6117ca2fc6
|
Add missing header. (There's really no need for "global.h" here since it's only using CString.)
|
2004-03-06 07:05:27 +00:00 |
|