Closed Bug 1162703 Opened 9 years ago Closed 9 years ago

[skiplist] Add mozilla::ipc::MessageChannel::Send to prefix skiplist

Categories

(Socorro :: Backend, task)

task
Not set
normal

Tracking

(firefox40+ fixed)

RESOLVED FIXED
Tracking Status
firefox40 + fixed

People

(Reporter: billm, Unassigned)

References

Details

I'm not sure how the skiplist stuff works. But here's an example crash:
https://crash-stats.mozilla.com/report/index/918b1ecb-8a06-47b7-b66a-8a5442150430

The signature we get for this crash is:
mozalloc_abort(char const* const) | NS_DebugBreak | mozilla::ipc::MessageChannel::DebugAbort(char const*, int, char const*, char const*, bool) | mozilla::ipc::MessageChannel::Send(IPC::Message*, IPC::Message*)

I would prefer that instead the signature should be:
mozalloc_abort(char const* const) | NS_DebugBreak | mozilla::ipc::MessageChannel::DebugAbort(char const*, int, char const*, char const*, bool) | mozilla::ipc::MessageChannel::Send(IPC::Message*, IPC::Message*) | mozilla::dom::PBrowserChild::SendSyncMessage(nsString const&, mozilla::dom::ClonedMessageData const&, nsTArray<mozilla::jsipc::CpowEntry> const&, IPC::Principal const&, nsTArray<nsString>*)

The last function (SendSyncMessage) is really what distinguishes these crashes, so it makes sense to separate crashes based on it. Right now they're all grouped together and it's hard to get a sense of which message type causes the most trouble.
See Also: → e10s-socorro
Blocks: e10s-socorro
What we need here is to add mozilla::ipc::MessageChannel::Send to the prefix list, which means that when we encounter that frame, we'll add the next one after a | character, just like we already do for mozilla::ipc::MessageChannel::DebugAbort.

jimm, does that sounds right?

Lars, can you do that?
Flags: needinfo?(lars)
Flags: needinfo?(jmathies)
Summary: [skiplist] Show sending message IPC debug assertions → [skiplist] Add mozilla::ipc::MessageChannel::Send to prefix skiplist
(In reply to Robert Kaiser (:kairo@mozilla.com) from comment #4)
> What we need here is to add mozilla::ipc::MessageChannel::Send to the prefix
> list, which means that when we encounter that frame, we'll add the next one
> after a | character, just like we already do for
> mozilla::ipc::MessageChannel::DebugAbort.
> 
> jimm, does that sounds right?

Yes we want to add the Send frame from each platform to the prefix list.
Flags: needinfo?(jmathies)
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/8ff508cea08180260fd091fa9efb1315e868ddf8
Merge pull request #2836 from twobraids/message_channel_send

Fixes Bug 1162703 - added mozilla::ipc::MessageChannel::Send to prefix
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Adding a tracking flag for FF40 as this was mentioned in last week's channel meeting.
I think this is now fixed. Please resubmit if it is not the case.
(In reply to Sylvestre Ledru [:sylvestre] from comment #8)
> I think this is now fixed. Please resubmit if it is not the case.

I haven't seen a Socorro release being shipped since that was landed, so it's fixed on Socorro master, but not in production yet.
You need to log in before you can comment on or make changes to this bug.