Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved Crash Handling #184

Merged
merged 4 commits into from
Apr 15, 2012
Merged

Improved Crash Handling #184

merged 4 commits into from
Apr 15, 2012

Conversation

Hoikas
Copy link
Member

@Hoikas Hoikas commented Mar 30, 2012

Removed the not-user-friendly stack trace dialog and its associated unreliable crash handling code. It has been replaced with a watchdog process that creates a Win32 minidump ("crash.dmp") in the log folder on crashes. This is more reliable in the undefined crashed state and should allow us to capture better debug information.

I used http://www.nynaeve.net/?p=128 as a reference for creating this model.

pfCrashHandler includes a client that watches plClient for crashes. When
it detects a crash, it lets the plCrashSrv (plCrashHandler.exe) know about
it. We then produce a mninidump, then signal the client that it's OK to
show a crash dialog. See http://www.nynaeve.net/?p=128 for a good
explanation of why I split the crash logic into another process.
@Mystler
Copy link
Contributor

Mystler commented Apr 13, 2012

Instead of getting a stack error (which I can exit by hitting enter), I am now stuck in a black screen and I have to kill the process. Furthermore, I found no crash dump in my log folder, so I guess there has none been created at all.

@Hoikas
Copy link
Member Author

Hoikas commented Apr 13, 2012

Did you copy UruCrashHandler.exe or plCrashHandler.exe to your Uru folder? Uru waits on the crash handler executable to finish working before it tells you anything has gone wrong... In my tests, that delay was unnoticeable.

@Mystler
Copy link
Contributor

Mystler commented Apr 13, 2012

Yeah, that did it. I missed that the crash handler is in a new executable.

branan added a commit that referenced this pull request Apr 15, 2012
@branan branan merged commit 83476b4 into H-uru:master Apr 15, 2012
Deledrius pushed a commit to Deledrius/Plasma that referenced this pull request Dec 4, 2012
Hoikas pushed a commit to Hoikas/Plasma that referenced this pull request Dec 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants