Commit Graph
44 Commits
Author SHA1 Message Date
Steve Checkoway 360a2d6651 Fix warning. 2005-05-14 07:36:19 +00:00
Glenn Maynard 8eeb98c1ac try to show a PID for any signal 2005-04-29 21:04:47 +00:00
Glenn Maynard f9bcb3c78b fix 64-bit address output 2004-10-22 22:42:28 +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 a2fb826774 Writing to stdin just doesn't seem right. Also, why not just FILE *tty = fopen(/dev/stderr, w); if you worried about it having been closed by the crashed parent? 2004-08-26 21:30:59 +00:00
Glenn Maynard 7cb385a56f improve output 2004-06-16 03:39:43 +00:00
Glenn Maynard c51a588a45 license update 2004-05-15 08:23:53 +00:00
Glenn Maynard f952f9fc4f handle CrashData::SIGNAL in DARWIN 2004-04-16 07:00:45 +00:00
Glenn Maynard bf62e02420 fix crash notification not being displayed if stdout has been closed 2004-04-09 21:02:43 +00:00
Steve Checkoway a8626a2df4 Kill parent on OS X. 2004-04-05 08:06:49 +00:00
Steve Checkoway 20a8bab45c Clean up includes. 2004-04-05 05:22:32 +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 4091e0cfaa ForceCrashHandlerDeadlock 2004-03-20 21:36:10 +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
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 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 14f6a6f510 reduce crash handler dependency on StepMania.cpp 2004-03-11 23:58:49 +00:00
Glenn Maynard ad6a7d8ff2 write crashinfo to ~; in /tmp, it won't be written if some other user already has a crashinfo.txt there 2004-03-06 01:19:05 +00:00
Glenn Maynard b63eaa449c fix output 2004-02-15 22:41:08 +00:00
Glenn Maynard a21be8711d simplify 2003-12-22 02:20:49 +00:00
Glenn Maynard 202d35668f remove output 2003-11-11 21:22:27 +00:00
Glenn Maynard a3031073a7 demangle fix 2003-11-11 21:10:24 +00:00
Glenn Maynard 06b6f2d6bc Improve error handling, output crashed thread name 2003-10-21 09:00:15 +00:00
Steve Checkoway 0ede96ac63 Correct handling of demangling. 2003-09-18 10:17:32 +00:00
Steve Checkoway f5674096df um, remove the WTF, my bad. 2003-09-17 22:47:52 +00:00
Steve Checkoway d0b3e37631 Add name demangling for BACKTRACE_LOOKUP_METHOD_ATOS. 2003-09-17 21:55:43 +00:00
Glenn Maynard 006d188bb5 Sync Unix crash handler output with Windows (thread stacks above backtrace) 2003-08-28 22:17:42 +00:00
Glenn Maynard fa67577a4f improve output 2003-08-19 02:30:10 +00:00
Glenn Maynard f754f4259b SIGIOT is just an obscure name for SIGABRT 2003-08-19 01:32:07 +00:00
Glenn Maynard cca9a68b95 Cleanup, fix checkpoint output. 2003-08-16 20:54:15 +00:00
Steve Checkoway 586c31a1b6 Exit with an error code. 2003-08-12 01:43:52 +00:00
Steve Checkoway 3934e67cbd Removed ssprintf().
Fixed the buffer length constant.
Replaced some exit()s w/ return to get at least a partial crashlog.
Replaced exit() with _exit() in the forked process.
2003-08-12 00:53:32 +00:00
Steve Checkoway 75e75fde23 Show the Checkpoints in the crashinfo.txt. 2003-08-07 19:58:15 +00:00
Steve Checkoway db6659ba91 Allow undefined BACKTRACE_* but emit a compiler warning. 2003-08-07 18:29:35 +00:00
Steve Checkoway 1a60f4027d For all darwin, not just for a particular backtrace method 2003-08-03 12:57:39 +00:00
Steve Checkoway 15c9ef15d3 Don't emit () if there is no file name, not if there is no Symbol. 2003-08-03 12:06:14 +00:00
Steve Checkoway 4373bc534d remove unneeded debugging info 2003-08-03 08:10:53 +00:00
Steve Checkoway 1e5b735bcd Use HAVE_VERSION_INFO so that multiple archs can take advantage of a build number and date 2003-08-02 12:51:25 +00:00
Steve Checkoway 794de812fe Added formatting to match the other *nix. 2003-08-02 03:09:11 +00:00
Steve Checkoway 386dec74b2 name change and add the first crack at backtracing on OS X 2003-07-31 22:35:54 +00:00