Commit Graph
230 Commits
Author SHA1 Message Date
Steve Checkoway a5e2e634ea clean up 2004-04-01 10:33:53 +00:00
Glenn Maynard 451a23e159 add glibc assert() handlers, mostly for ALSA 2004-03-30 00:43:35 +00:00
Glenn Maynard 01ea004030 default string in case confstr is broken 2004-03-29 20:47:29 +00:00
Glenn Maynard 72feb28ec5 cleanup 2004-03-28 23:19:56 +00:00
Glenn Maynard 466a271917 reenable HaltAllThreads 2004-03-28 06:06:10 +00:00
Glenn Maynard 9da02c8c52 confstr fix? 2004-03-28 02:37:36 +00:00
Glenn Maynard 631bb482fb Handle _CS_GNU_LIBPTHREAD_VERSION at runtime, not compile-itme; getting
this string is important.
2004-03-28 00:15:23 +00:00
Glenn Maynard c51170c7b7 handle CrashData::FORCE_CRASH_THIS_THREAD in recursive crashes 2004-03-26 03:40:01 +00:00
Steve Checkoway 915e48ad17 size_t will never equal -1 2004-03-24 17:32:31 +00:00
Steve Checkoway f05139187b cleanup 2004-03-24 17:20:36 +00:00
Steve Checkoway a27380fb4e Yet more files 2004-03-24 17:20:17 +00:00
Steve Checkoway b3062e7c5a Add two headers. 2004-03-24 17:14:49 +00:00
Steve Checkoway 576ac720c6 Add wrapper for the CoreAudio care of Apple. 2004-03-24 16:59:17 +00:00
Glenn Maynard 5b2b0c42eb simplify 2004-03-24 10:03:17 +00:00
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