PID available in crashreport?
Categories
(Toolkit :: Crash Reporting, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox93 | --- | fixed |
People
(Reporter: mjf, Assigned: gsvelto)
Details
Attachments
(1 file)
It is possible that I'm overlooking something, or don't know where to look, but I can't find the PID of the crashed process in the crash dump on try. Ex:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=285427933&repo=mozilla-central&lineNumber=39342
I can deduce from the stack trace that we're in a content process, but I'm having trouble figuring out which content process crashed since one is in the process of going away, and one is in the process of starting work.
Assignee | ||
Comment 1•4 years ago
|
||
The minidump contains the crashed process PID. If you download it and feed it to minidump_dump
you can see it. In this case for example:
$ minidump_dump 9511d927-9b59-44b6-9614-3c94f55e6c96.dmp 2>/dev/null | grep process_id
process_id = 11836
However I don't think we surface it in any other way. It would be a matter of modifying the minidump_stackwalker
tool used in automation to dump it out.
Reporter | ||
Comment 2•4 years ago
|
||
(In reply to Gabriele Svelto [:gsvelto] from comment #1)
The minidump contains the crashed process PID. If you download it and feed it to
minidump_dump
you can see it. In this case for example:$ minidump_dump 9511d927-9b59-44b6-9614-3c94f55e6c96.dmp 2>/dev/null | grep process_id process_id = 11836
However I don't think we surface it in any other way. It would be a matter of modifying the
minidump_stackwalker
tool used in automation to dump it out.
I have no experience w/ minidump_dump and which minidump_dump
doesn't turn up anything. Where do I find it?
It does seem like having it printed out in automation would be a nice solution.
Reporter | ||
Comment 3•4 years ago
|
||
Sorry - I found instructions here: https://chromium.googlesource.com/breakpad/breakpad/
Assignee | ||
Comment 4•4 years ago
|
||
Yeah it's not super-simple, it would be best to have it in the test log directly.
Comment 5•4 years ago
|
||
The priority flag is not set for this bug.
:gsvelto, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 6•4 years ago
|
||
Putting it in the right component and setting it to P3. Will, I'll work on this as soon as I'll have time since it requires changes to the stack walker to spit out this information when analyzing a dump.
Updated•3 years ago
|
Comment 7•3 years ago
|
||
Assignee | ||
Comment 8•3 years ago
|
||
Steve, do you want me to pick up the patch and finish it?
Comment 9•3 years ago
|
||
(In reply to Gabriele Svelto [:gsvelto] from comment #8)
Steve, do you want me to pick up the patch and finish it?
Yes, please do!
Comment 11•3 years ago
|
||
I'm not sure I understand this bug. It's a bug in the socorro processor, but the attached patch is against the crash reporter. Is the PID not available in the minidump for minidump-stackwalk to extract or is there other work being done here?
If it's work that needs to be done in minidump-stackwalk, we should probably have an issue in either of those repos:
Assignee | ||
Comment 12•3 years ago
|
||
It's about minidump-stackwalk but not the version we use in Socorro, it's about the version in m-c. I miscategorized this one, moving it back to crash reporting.
Updated•3 years ago
|
Comment 13•3 years ago
|
||
Pushed by gsvelto@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a4b960c51c4b Display tid of crashing thread in minidump_stackwalk output. r=sfink
Comment 14•3 years ago
|
||
bugherder |
Description
•