Commit Graph
139 Commits
Author SHA1 Message Date
Glenn Maynard ef219fce39 small fixes preparing for arch/Threads 2004-06-11 07:09:43 +00:00
Glenn Maynard b1a320fc95 Linuxthreads (pre-NPTL) sigaltstack is broken even if we're in 2.6. 2004-05-27 04:57:15 +00:00
Glenn Maynard dbef3cc14f export UsingNPTL 2004-05-27 04:56:09 +00:00
Glenn Maynard 73e5838b97 fix InitializePidThreadHelpers sometimes doing emory allocation in crash conditions
fix InitializePidThreadHelpers initializing multiple times
2004-05-25 06:54:37 +00:00
Glenn Maynard af88a2be4f Asserting copyright on a signal handler is dumb, but disclaiming warranty isn't. 2004-05-15 08:27:42 +00:00
Glenn Maynard c51a588a45 license update 2004-05-15 08:23:53 +00:00
Glenn Maynard c4d501081f s/__THROW/throw()/
fix assertion handling when !CRASH_HANDLER
improve assertion handling output
2004-05-06 09:08:41 +00:00
Glenn Maynard 24af9a4825 add SignalHandler::ResetSignalHandlers 2004-05-06 08:40:53 +00:00
Glenn Maynard e5de37f23c fix HAVE_DECL_SIGPWR check 2004-05-06 08:26:09 +00:00
Glenn Maynard 0b5644a9b9 make sigaltstack work on Darwin 2004-04-19 23:31:47 +00:00
Glenn Maynard ab4e87d7d7 don't ignore local symbols (fixes some backtraces) 2004-04-19 23:09:12 +00:00
Glenn Maynard 7f970858dc CrashSignalHandler works on DARWIN 2004-04-16 07:13:18 +00:00
Glenn Maynard 507b5ba7de make signalHandler work on DARWIN 2004-04-16 07:12:05 +00:00
Glenn Maynard 481886f8cf cleanup 2004-04-16 07:07:09 +00:00
Glenn Maynard f38983f3d3 implement GetSignalBacktraceContext on DARWIN 2004-04-16 07:03:14 +00:00
Glenn Maynard f952f9fc4f handle CrashData::SIGNAL in DARWIN 2004-04-16 07:00:45 +00:00
Glenn Maynard 6286f94cf4 missing header 2004-04-16 06:19:02 +00:00
Glenn Maynard 2cfb403220 fix PointsToValidCall for some types of CALL instructions
get a stack frame if we eg. "CALL NULL"
2004-04-10 20:18:49 +00:00
Glenn Maynard c885c95ee0 handle weird cases where 0 is listed in /proc/n/maps 2004-04-09 21:18:26 +00:00
Glenn Maynard bf62e02420 fix crash notification not being displayed if stdout has been closed 2004-04-09 21:02:43 +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 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 b26b6bed86 implement native reverse symbol lookup 2004-04-04 20:58:57 +00:00
Glenn Maynard c48c1e1802 fix top stack frame sometimes being lost 2004-04-04 20:49:24 +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
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 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