Closed Bug 1840651 Opened 11 months ago Closed 11 months ago

[mozcrash] Print the process ID and type for every minidump we encounter

Categories

(Testing :: Mozbase, enhancement)

Default
enhancement

Tracking

(firefox117 fixed)

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: gsvelto, Assigned: gsvelto)

Details

Attachments

(1 file)

As per the title, this should help identify which crash belongs to which process.

Let's also print the PID, it won't hurt and it will certainly help

Summary: [mozcrash] Print the process type for every minidump we encounter → [mozcrash] Print the process ID and type for every minidump we encounter
Assignee: nobody → gsvelto
Status: NEW → ASSIGNED

For a crash like this one the output will change from:

PROCESS-CRASH | application crashed [@ None + None] | dom/media/autoplay/test/browser/browser.ini 
INFO - Crash dump filename: /var/folders/yn/mn96mnjd2rvfmzjwbmygq740000014/T/tmpurvm3rsy.mozrunner/minidumps/13E0A8D2-7C5B-48CE-BB2E-2AF61A3AFFF0.dmp
INFO - Operating system: Mac OS X
...

To something like:

PROCESS-CRASH | application crashed [@ None + None] | dom/media/autoplay/test/browser/browser.ini 
INFO - Crash dump filename: /var/folders/yn/mn96mnjd2rvfmzjwbmygq740000014/T/tmpurvm3rsy.mozrunner/minidumps/13E0A8D2-7C5B-48CE-BB2E-2AF61A3AFFF0.dmp
INFO - Process type: utility
INFO - Process pid: 1854
INFO - Operating system: Mac OS X
...
Pushed by gsvelto@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e3964660f121
[mozcrash] Print the process type and PID whenever we encounter a crash r=gbrown
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: