Commit Graph

64 Commits

Author SHA1 Message Date
Glenn Maynard 22570a4c33 cleanup 2004-09-08 21:19:13 +00:00
Glenn Maynard 4d829e3d29 wait, no. It's GetThreadBacktraceContext's job to suspend the thread. 2004-09-08 21:17:43 +00:00
Steve Checkoway 03e703e447 Fix OS X compile. 2004-09-08 08:35:07 +00:00
Glenn Maynard 96d780514e ForceCrashHandlerDeadlock(GetInvalidThreadId()) support 2004-09-08 08:08:06 +00:00
Glenn Maynard 8c92f9ec0f cleanup, simplify 2004-09-08 07:34:38 +00:00
Steve Checkoway f08a2d00c9 Remove Exceptions since OS X does not catch them. Instead, it waits for the signal. 2004-09-07 13:44:06 +00:00
Steve Checkoway 54f869a424 If it is invalid, GetThreadBacktraceContext will fail anyway. 2004-09-07 13:25:47 +00:00
Steve Checkoway a50839e1d0 Remove stubs, const fix 2004-09-07 12:40:44 +00:00
Steve Checkoway 0669938e81 Fix comment 2004-09-07 11:12:29 +00:00
Glenn Maynard 8ce2ae57d9 whoops 2004-06-16 03:41:33 +00:00
Glenn Maynard 7cb385a56f improve output 2004-06-16 03:39:43 +00:00
Glenn Maynard 0805aef930 ForceCrashHandlerDeadlock is only implemented in Linux 2004-06-12 01:01:30 +00:00
Glenn Maynard ef219fce39 small fixes preparing for arch/Threads 2004-06-11 07:09:43 +00:00
Glenn Maynard c51a588a45 license update 2004-05-15 08:23:53 +00:00
Glenn Maynard 7f970858dc CrashSignalHandler works on DARWIN 2004-04-16 07:13:18 +00:00
Glenn Maynard 66337428c7 comment 2004-04-07 07:41:58 +00:00
Glenn Maynard f8d81ce6a9 fix hangs after crash 2004-04-07 07:40:02 +00:00
Steve Checkoway 20a8bab45c Clean up includes. 2004-04-05 05:22:32 +00:00
Glenn Maynard 466a271917 reenable HaltAllThreads 2004-03-28 06:06:10 +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
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 3abe83c71e readlink(/proc/pid/exe) instead of using argv[0] 2004-03-22 05:27:25 +00:00
Glenn Maynard 4091e0cfaa ForceCrashHandlerDeadlock 2004-03-20 21:36:10 +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
Steve Checkoway c35f4b1c98 s/theException/e/ 2004-03-19 08:30:58 +00:00
Glenn Maynard 308c68dc05 move SignalCodeName to CrashHandlerChild; not used on DARWIN 2004-03-19 08:28:14 +00:00
Glenn Maynard 0b34216843 OS X crash handling cleanup 2004-03-19 08:17:44 +00:00
Glenn Maynard f7d681e72f add CrashData struct
log more detailed signal information
2004-03-19 06:56:18 +00:00
Glenn Maynard 7f7667cac7 use ucontext_t 2004-03-19 05:03:19 +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 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
Glenn Maynard eb936c6deb add sanity check 2004-02-20 04:11:01 +00:00
Glenn Maynard d82aed55b2 const fix
improve get_readable_ranges
2004-02-16 08:05:29 +00:00
Glenn Maynard 8119067e64 _exit from crash, not exit 2004-02-15 06:33:36 +00:00
Glenn Maynard 563ccc160c spawn_child_process doesn't return 2004-02-15 06:32:07 +00:00
Glenn Maynard 638a15a55d off-by-one 2004-01-29 21:20:05 +00:00
Glenn Maynard de249cb80a const fix 2004-01-29 21:16:57 +00:00
Glenn Maynard d4338898e0 cleanup 2004-01-13 00:01:07 +00:00
Glenn Maynard 24016f1b84 retry writes on EINTR a couple times 2004-01-12 23:54:13 +00:00
Glenn Maynard 277f49c14e cleanup 2004-01-02 04:31:15 +00:00
Glenn Maynard eb63dc754f fix /proc/#/maps parse faliures, formatting cleanup 2004-01-02 04:13:43 +00:00