You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we read minidumps from the crashpad directory when we are notified by Electron that a renderer or child process has crashed. We assume that all the minidumps we find correspond the the Electron event. All minidumps we read at startup are assumed to be main process crashes because they cause the process to exit immediately.
Although these assumptions are usually correct, I've personally seen events recorded incorrectly and so have other users (#1045).
Solution Brainstorm
Using the Rust minidump crate, I found that there is crashpad specific stream which contains the following info:
Problem Statement
Currently we read minidumps from the crashpad directory when we are notified by Electron that a renderer or child process has crashed. We assume that all the minidumps we find correspond the the Electron event. All minidumps we read at startup are assumed to be main process crashes because they cause the process to exit immediately.
Although these assumptions are usually correct, I've personally seen events recorded incorrectly and so have other users (#1045).
Solution Brainstorm
Using the Rust
minidump
crate, I found that there is crashpad specific stream which contains the following info:For an Electron renderer minidump this results in:
I've looked at both the
node-minidump
code and the Rustminidump
crate code and it looks like this shouldn't be overly complex to parse these out.If we can access the
process_type
in the minidump we no longer need to guess which process the minidump came from.The text was updated successfully, but these errors were encountered: