Closed Bug 1306449 Opened 8 years ago Closed 8 years ago

Add IPCMessageName to SendMessageW and SendMessage signatures

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mccr8, Assigned: marco)

References

Details

Attachments

(2 files)

We crash in mozilla::ipc::ProcessLink::SendMessage and mozilla::ipc::ProcessLink::SendMessageW, usually when the message is too large, but it is important to know what the message actually is, so it would be good if the signature somehow contained the value of IPCMessageName.

For instance, it is PContent::Msg_PBlobConstructor in this crash:
bp-dd10b80e-4134-4238-896c-6f5642160929#tab-metadata
I'll try to implement this.
Assignee: nobody → mcastelluccio
Attachment #8796515 - Attachment description: pr.txt → Link to Github pull-request: https://github.com/mozilla/socorro/pull/3496
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/f97937e6aa4f4008f039f907cf1734c23708ebce
Fixes bug 1306449 - Augment signatures that have the IPC Message Name annotation (#3496)

* Create new rule to augment signatures when the 'IPC Message Name' annotation is present

* Fix comment for the 'SignatureIPCChannelError' class

* Add SignatureIPCMessageName rule to the list of Mozilla rules

* Test the SignatureIPCMessageName rule

* Remove unused parameter

* Make the action of the SignatureIPCMessageName rule clearer

* Apply SignatureIPCMessageName rule before the SigTrunc one
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
This doesn't work. It uses ``raw_crash['ipc_message_name']`` but the field is actually called ``IPCMessageName`` in the raw_crash. Marco, do you want to fix that?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/5ab7d5c56fb82fdc97bd29ea90bb5f10a0a64861
Fixes bug 1306449 - Use IPCMessageName from raw_crash, not ipc_message_name. (#3521)
Status: REOPENED → RESOLVED
Closed: 8 years ago8 years ago
Resolution: --- → FIXED
We have verified this in stage by reprocessing one crash and noticing that it gets the new correct signature.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: