Steve Checkoway
9019a4fbd1
or maybe not...
2003-11-02 01:46:25 +00:00
Steve Checkoway
1a3278a073
I guess gcc no longer likes &long(var). It only seems to accept &(long(var)).
2003-11-02 00:28:42 +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
Glenn Maynard
eb0daaf7e2
support g_bAutoRestart
2003-10-16 09:00:20 +00:00
Glenn Maynard
c3bc5440d5
add RestartProgram
2003-10-16 08:56:58 +00:00
Glenn Maynard
90cd567b48
Move codec dump to DShow renderer; it's usually not needed anymore,
...
and ACM codecs are a potential cause of crashes.
2003-10-02 09:36:49 +00:00
Glenn Maynard
22c9cb17f3
simplify
2003-10-01 20:54:37 +00:00
Glenn Maynard
ce3d18c607
unused
2003-10-01 08:24:23 +00:00
Glenn Maynard
9d7df5036c
Simplify. Use RageThread::HaltAllThreads.
2003-10-01 08:21:11 +00:00
Glenn Maynard
fabe1ff314
remove old code
2003-10-01 07:16:39 +00:00
Steve Checkoway
445c593b2a
Add vsync for OS X.
2003-09-22 11:14:31 +00:00
Glenn Maynard
a316e1cfa1
Cleanup, fix path.
2003-09-22 00:10:04 +00:00
Glenn Maynard
f21af04762
Use dbghelp for prodding DLLs. Leaving old code in place for now
...
until this gets some testing, but if it works well then we can kill a few
hundred lines of code.
2003-09-19 07:19:25 +00:00
Glenn Maynard
627a90fb0a
Improved C++ demangling.
2003-09-19 06:22:17 +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
7d919ad2aa
Avoid logging garbage
2003-09-16 02:50:55 +00:00
Glenn Maynard
8ca499e5c6
Handle systems where the video driver regkey isn't "0000".
...
Merge 9x and 2k/XP probing.
2003-09-07 02:35:22 +00:00
Glenn Maynard
15fa0dc1e6
Parse DivX Pro versions, though this is less important now that we
...
use FFMpeg. It's still useful, as we can fall back on DShow, but
eventually we should remove the fallback for MPEG4 so we can remove
this (so we don't nag people to upgrade when they don't need to).
2003-09-06 05:38:08 +00:00
Glenn Maynard
8a88cfdc7c
Must never call LOG->* methods from the crash handler
2003-09-05 19:44:10 +00:00
Glenn Maynard
3f19c51f27
simplify
2003-09-03 03:30:32 +00:00
Glenn Maynard
834195f462
fix more output truncation
2003-09-02 06:01:28 +00:00
Glenn Maynard
57f21d13d0
fix output truncation
2003-09-01 19:49:49 +00:00
Glenn Maynard
6e79f781bd
Remove the disassembler.
2003-09-01 02:49:58 +00:00
Glenn Maynard
3fdc0ff8a4
Remove the disassembler. It's never been useful, and it's a lot of code--
...
a lot of extra room for error in code we really want to be robust (the error
handler).
Remove "crashdump.dat". It was only useful for tracing crashes in
the disassembler.
2003-09-01 02:47:24 +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
Chris Danford
b4b20df751
Flush log at the beginning of CrashHandler so the log isn't cut off at the tail. Is there a problem with this? I can't think of a reason why fflush would need to allocate memory.
2003-08-26 08:18:49 +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
Glenn Maynard
b2e86172d3
Unneeded headers.
2003-08-14 23:05:49 +00:00
Glenn Maynard
a29f74b84b
Lots of people report crashes with DivX 5.0.2 and 5.0.3. Warn about it.
2003-08-14 23:04:27 +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
Glenn Maynard
8ee7dc93a6
use CHECKPOINT
2003-08-05 01:32:21 +00:00
Glenn Maynard
1863b166f2
use GetCheckpointLogs
2003-08-05 01:29:36 +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
615e11ed42
Use the signal handler as well as the PowerPC Exception Handler. Argh...
2003-08-03 12:04:13 +00:00
Steve Checkoway
4373bc534d
remove unneeded debugging info
2003-08-03 08:10:53 +00:00
Glenn Maynard
e3625db111
fix warnings
2003-08-03 02:47:43 +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