Closed Bug 1800132 Opened 2 years ago Closed 2 years ago

Add webrtc lib related debug frames to irrelevant list

Categories

(Socorro :: Signature, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jimm, Assigned: gsvelto)

References

Details

Attachments

(1 file)

We'd like to request that a set of frames associated with fatal error handling in libwebrtc be skipped in signature processing such that we get better visibility of issues on crashstats.

example reports:
https://crash-stats.mozilla.org/report/index/cf98f86b-bc73-420a-8b47-577030221110
https://crash-stats.mozilla.org/report/index/b75873e4-747e-44d1-8b68-2cfcb0221110
all the top frames down to and including FatalLogCall should be skipped.

example of how these get aggregated -
https://crash-stats.mozilla.org/search/?topmost_filenames=~webrtc&date=%3E%3D2022-11-03T18%3A39%3A00.000Z&date=%3C2022-11-10T18%3A39%3A00.000Z&_facets=signature&_facets=process_type&_sort=-date&_columns=date&_columns=signature&_columns=product&_columns=version&_columns=build_id&_columns=platform#facet-signature

This is pretty straightforward to do. There's documentation here:

I can probably get to it late next week if no one gets to it first.

Jim: Are you looking for something like this?

app@socorro:/app$ socorro-cmd signature cf98f86b-bc73-420a-8b47-577030221110
Crash id: cf98f86b-bc73-420a-8b47-577030221110
Original: wil::details::DebugBreak
New:      wil::details::DebugBreak | (anonymous namespace)::WriteFatalLogAndAbort | rtc::webrtc_checks_impl::FatalLog | rtc::webrtc_checks_impl::LogStreamer<T>::CallCheckOp
Same?:    False
Flags: needinfo?(jmathies)
Flags: needinfo?(jmathies) → needinfo?(willkg)

The signature gets too long and gets truncated if we keep all those frames in it.

Here's the stack for cf98f86b-bc73-420a-8b47-577030221110:

wil::details::DebugBreak
(anonymous namespace)::WriteFatalLogAndAbort
rtc::webrtc_checks_impl::FatalLog
rtc::webrtc_checks_impl::LogStreamer<T>::CallCheckOp
rtc::webrtc_checks_impl::LogStreamer<T>::CallCheckOp
rtc::webrtc_checks_impl::LogStreamer<T>::CallCheckOp
rtc::webrtc_checks_impl::FatalLogCall<T>::operator&
webrtc::RtpPacketizerH264::PacketizeStapA
webrtc::RtpPacketizerH264::GeneratePackets
...

Can you indicate which frames you want in the signature and which ones aren't meaningful and should be omitted from the signature?

Flags: needinfo?(willkg)

I can handle this one

Assignee: nobody → gsvelto
Status: NEW → ASSIGNED
Priority: -- → P2
Summary: [Skiplist] Skip webrtc lib related debug frames → Add webrtc lib related debug frames to irrelevant list

This was pushed to prod in bug #1804294. Marking as FIXED.

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
See Also: → 1808025
See Also: → 1808029
See Also: → 1808036
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: