Closed Bug 1809528 Opened 1 year ago Closed 1 year ago

mozcrash.py doesn't ignore some inlined functions in panic stacks and only ever looks at the first 9 frames

Categories

(Testing :: Mozbase, defect)

Default
defect

Tracking

(firefox111 fixed)

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: gsvelto, Assigned: gsvelto)

References

Details

Attachments

(2 files, 1 obsolete file)

This is what's causing all signatures generated by mozcrash.py to be the same. First of all we don't skip the inlined panic frames correctly. Secondly even when we do skip them we don't find a proper signature if it's in frame 10 or deeper; mozcrash only ever looks at the first 9 frames so that's that.

Naturally we should really be fixing bug 867571 (yay 10yo bug!) instead of piling hacks on mozcrash.py, but since we don't have time for that it'll be hacks again.

Assignee: nobody → gsvelto
Status: NEW → ASSIGNED
Attachment #9311640 - Attachment is obsolete: true

We also print stderr unconditionally as the new stackwalker isn't as chatty as
the old one.

Whoops, I've got something very wrong with the patches. I was in the esr102 branch instead of being on central, I'll rebase them.

Things seem to be working properly even on Windows.

Pushed by gsvelto@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b81900bef876
[mozcrash] Remove support for the Breakpad stackwalker, we use rust-minidump across-the-board r=gbrown
https://hg.mozilla.org/integration/autoland/rev/9741cf4a6dd3
[mozcrash] Use JSON output from the rust-minidump stackwalker to generate the signature r=gbrown
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
Duplicate of this bug: 1487410
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: