Commit Graph
93 Commits
Author SHA1 Message Date
Glenn Maynard e779e80350 give RageMutexes names, so they can be identified more easily 2004-03-21 04:10:43 +00:00
Glenn Maynard 8df036b3d8 more missing stdint types 2004-03-18 01:39:05 +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
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
Glenn Maynard 6ff5eba04d Forcibly terminate after a crash. 2004-02-23 00:47:18 +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 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 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 359f991db3 "Couldn't find primary display driver; logging all drivers" 2003-12-21 06:22:02 +00:00
Glenn Maynard 10162b7398 fsync 2003-12-21 06:21:19 +00:00
Glenn Maynard a2b432cdfb fix paths 2003-12-12 09:14:09 +00:00
Glenn Maynard 8998725110 move XBOX special case 2003-12-07 04:17:17 +00:00
Glenn Maynard a6b072c9ca Move debugging options into a separate INI section, since I use them
very frequently, and they're mostly not available in the menus.

Add LogCheckpoints.

Move checkpoint code into a namespace.
2003-11-24 00:23:18 +00:00
Glenn Maynard b72d42361a add headers 2003-11-14 17:17:36 +00:00
Glenn Maynard 682789980c Define WIN32_LEAN_AND_MEAN
Disable warning 4201.
2003-11-14 17:16: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
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
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
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 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
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
Glenn Maynard e3625db111 fix warnings 2003-08-03 02:47:43 +00:00