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 |
|
Glenn Maynard
|
8b5d89b8f8
|
pass siginfo_t and ucontext_t to signal handlers
|
2004-03-19 05:01:23 +00:00 |
|
Glenn Maynard
|
4ad45bbd7f
|
sa.sa_handler -> sa.sa_flags
use SA_NODEFER
|
2004-03-19 04:43:24 +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
|
8df036b3d8
|
more missing stdint types
|
2004-03-18 01:39:05 +00:00 |
|
Ben Anderson
|
6fca202800
|
Not all Linux systems have a header that declares _CS_GNU_LIBPTHREAD_VERSION (Slackware 9.0 included apparently)
|
2004-03-14 19:46:16 +00:00 |
|
Steve Checkoway
|
b963effa31
|
Compile SM using a precompiled prefix header on OS X.
|
2004-03-14 08:53:09 +00:00 |
|
Glenn Maynard
|
08db59fa25
|
set up a barrier page at the end of sigaltstack
|
2004-03-14 01:37:07 +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 |
|
Steve Checkoway
|
a5f8f3bc23
|
Open the correct file when crashing.
|
2004-03-11 10:01:09 +00:00 |
|
Steve Checkoway
|
6117ca2fc6
|
Add missing header. (There's really no need for "global.h" here since it's only using CString.)
|
2004-03-06 07:05:27 +00:00 |
|
Glenn Maynard
|
15ff990a13
|
crashinfo path (untested)
|
2004-03-06 01:20:24 +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 |
|
Steve Checkoway
|
d5c1d315db
|
Fix linking for OS X 10.2.7 and 10.3.x
|
2004-02-28 10:57:42 +00:00 |
|
Glenn Maynard
|
c1e2bc133c
|
cleanup
|
2004-02-27 09:55:12 +00:00 |
|
Glenn Maynard
|
4fadb34a06
|
output cleanup, don't log display name twice
|
2004-02-27 09:45:22 +00:00 |
|
Steve Checkoway
|
765b68aace
|
*** empty log message ***
|
2004-02-26 13:40:01 +00:00 |
|
Glenn Maynard
|
67fbd40cf7
|
don't use GetThreadId
|
2004-02-25 23:14:28 +00:00 |
|
Glenn Maynard
|
93c86a63a4
|
on mutex deadlock, get a backtrace of the thread that we're deadlocked
with
|
2004-02-25 21:08:10 +00:00 |
|
Glenn Maynard
|
5cb9970c4e
|
split out do_backtrace
|
2004-02-25 08:34:26 +00:00 |
|
Steve Checkoway
|
f48728e003
|
This should have C linkage.
|
2004-02-24 05:00:03 +00:00 |
|
Glenn Maynard
|
6ff5eba04d
|
Forcibly terminate after a crash.
|
2004-02-23 00:47:18 +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
|
f564e94028
|
move my_localtime_r, my_gmtime_r to arch_setup
|
2004-02-14 08:22:30 +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 |
|
Steve Checkoway
|
70d0cf1763
|
I forgot to check this in a while ago. I have no idea why including the correct header doesn't seem to fix the problem. Oh well, this works.
|
2004-01-29 06:59:55 +00:00 |
|
Glenn Maynard
|
a711474757
|
windows's nonportable int64_t junk
|
2004-01-19 22:19:42 +00:00 |
|
Glenn Maynard
|
ae54bae77f
|
crash -> debug_crash
|
2004-01-19 21:10:04 +00:00 |
|
Glenn Maynard
|
a8e73bc3d7
|
trying to fix crash handler hangs when subthreads crash while the
main thread is holding a mutex
|
2004-01-17 00:34:34 +00:00 |
|
Glenn Maynard
|
e40c819dc2
|
cosmetic
|
2004-01-14 22:18:27 +00:00 |
|
Glenn Maynard
|
651e590200
|
cleanup, hotkeys, don't close if enter pressed (too easy to accidentally close
if pressing enter quickly during a crash)
|
2004-01-13 06:43:50 +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
|
6ac866c0de
|
fix crash handler deadlock
|
2004-01-12 01:37:00 +00:00 |
|
Glenn Maynard
|
436300861c
|
Fix incorrect "Couldn't find primary display driver; logging all drivers":
|
2004-01-08 08:20:00 +00:00 |
|
Glenn Maynard
|
bafb5622d4
|
cleanup
|
2004-01-05 19:52:48 +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 |
|