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
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
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
b63eaa449c
fix output
2004-02-15 22:41:08 +00:00
Glenn Maynard
a314298d68
fix altsigstack never being used
...
allocate a larger altsigstack
handle failed altsigstack alloc better
2004-02-15 22:29:51 +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
09d6eb2ab8
clena exit on ^C
2004-01-03 06:50:23 +00:00
Glenn Maynard
8c6249aa8c
GetKernel return in decimal instead of hex
2004-01-02 07:01:27 +00:00
Glenn Maynard
75795a6afb
No alt signal stack on Linux 2.4.
2004-01-02 05:04:03 +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
Glenn Maynard
a21be8711d
simplify
2003-12-22 02:20:49 +00:00
Glenn Maynard
cfd9369267
fix BACKTRACE_METHOD_BACKTRACE
2003-12-01 19:42:46 +00:00
Glenn Maynard
00484f881b
add GetSysInfo
2003-11-28 21:17:11 +00:00
Glenn Maynard
6b8343ed90
Move checkpoint code into a namespace.
2003-11-24 00:23:52 +00:00
Glenn Maynard
08127cd8cb
Separate signal stack.
2003-11-11 22:28:26 +00:00
Glenn Maynard
5018487e0c
Handle separate signal handler stacks
2003-11-11 22:21:33 +00:00
Glenn Maynard
76d1eed9f9
Simplify, fixes, a hack to work on 2.6 kernels.
2003-11-11 21:31:03 +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
2bf68f6938
show itoa
2003-10-23 19:35:33 +00:00
Glenn Maynard
65fac63962
Make sure all threads are killed
2003-10-21 09:01:06 +00:00
Glenn Maynard
06b6f2d6bc
Improve error handling, output crashed thread name
2003-10-21 09:00:15 +00:00
Glenn Maynard
192d05a9c2
slightly cleaner shutdown after crash
2003-10-21 07:21:07 +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
92b7594d6d
SIGHUP isn't a crash.
2003-08-29 04:14:47 +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
Sean Burke
9a074a9c7d
Let the UNIX crash handler work again. Hackish.
2003-08-07 11:24:01 +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