Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Let Windows create memory dump on program crash #392

Closed
2 tasks done
hugbug opened this issue Jun 10, 2017 · 0 comments
Closed
2 tasks done

Let Windows create memory dump on program crash #392

hugbug opened this issue Jun 10, 2017 · 0 comments
Milestone

Comments

@hugbug
Copy link
Member

hugbug commented Jun 10, 2017

When NZBGet crashes it attempts to write call stack into log-file. For that purpose it installs an exception handler. After doing its job the handler terminates the program. It does it in a way preventing Windows from creating memory dump. However such memory dumps can be useful for debugging.

In this issue:

  • rework exception handler to let Windows writing memory dumps, after the call stack is logged.
  • provide an option to disable writing of call stack traces. The exception handler (required to write call stack trace) brings the program into a state which is different from the state when the crash occurred. The created memory dumps become less useful.
@hugbug hugbug added this to the v19 milestone Jun 10, 2017
hugbug added a commit that referenced this issue Jun 10, 2017
Also renamed option "DumpCore" to "CrashDump"; new option "CrashTrace".
hugbug added a commit to nzbget/nzbget.github.io that referenced this issue Jun 10, 2017
@hugbug hugbug closed this as completed Jun 10, 2017
hugbug added a commit that referenced this issue Jun 10, 2017
hugbug added a commit to nzbget/nzbget.github.io that referenced this issue Jun 10, 2017
hugbug added a commit that referenced this issue Oct 9, 2017
Also renamed option "DumpCore" to "CrashDump"; new option "CrashTrace".
hugbug added a commit that referenced this issue Oct 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant