Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. COI don't understand how `MiniDumpWriteDump` has any more of a chance to succeed when run from another process. If locks are held then those locks are held. It doesn't matter which process is trying to access the locked resource. Plus, since `MiniDumpWriteDump` is not thread-safe you are doomed either way. Unless you can synchronize all threads (which you cannot, since your program is in an indeterminate state) there is no guarantee for success. What you say sounds plausible, but doesn't provide a rationale of why the guard process will have a higher chance for success.
      singulars
    2. COThread-safety is of no concern, you only have one thread calling MiniDumpWriteDump(). Whether the process is so corrupted that basic calls like CreateFile() and HeapAlloc() that MDWD needs to get its job done can fail most certainly is a concern. It is a filter of sorts, if you do it in-process then you'll never get to see the really bad crashes that are impossible to debug. Good thing, perhaps.
      singulars
    3. COThanks for the response. Still not quite convinced here: If a process is so corrupted that `CreateFile` fails (correct me, but can it fail unless kernel memory is corrupted?) then you could also argue that `SetEvent` will. The same goes for `HeapAlloc` basically, unless it fails for OOM. I would assume that MDWD works on 'preallocated' static data, though - this would also explain why it is not thread-safe. On a less technical note, have you had a minidump generated out-of-context that an in-process solution would probably not have?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload