Closed Bug 694345 Opened 13 years ago Closed 13 years ago

Implement signature generation for single-process hangs

Categories

(Socorro :: General, task)

x86_64
Windows 7
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: benjamin, Assigned: lars)

References

Details

In bug 429592 we are adding a new type of crash report: a report where Firefox has not returned to its event loop for 30 seconds so we kill it off on purpose.

This will be accompanied by an annotation Hang=1.

Later we may want some specialized reports out of socorro, but for now we should make the signature useful. If a report has the Hang=1 annotation, then we should take the normal signature from *Thread 0* and prepand "chromehang | ". Note that thread 0 will not be the crashing thread, which is what we normally use for signatures.

This will distinguish the reports from the plugin hang report pairs which have a "hang | " prefix.
Depends on: hang-detector
point of clarification: "take the normal signature from *Thread 0*" - is there ever a chance that the processed minidump will identify a different thread as the "crashing thread"?  In other words, if Hang=1 appears in the metadata, the processor generates the signature from Thread-0 regardless of what thread the processed minidump says is responsible.
The processed minidump will always identify another thread as the crashing thread. And yes, always generate the signature from thread 0.
I'm taking this on and will try to squeeze it into the next release,
Assignee: nobody → lars
Target Milestone: --- → 2.3.1
Commits pushed to https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/87ad8833d44814069c5dce52bcf4fca3b832182a
fixed enhancement request bug 694345 - added "chromehang"

fixed misbehaving unit tests

fixed incorrect comment

made sure that Hang is interpretted as an int.

https://github.com/mozilla/socorro/commit/4c2478eaca6c77d27c102ca1f58a0d7300b6f9b5
Merge pull request #96 from twobraids/2.3.1

bug 694345 - added "chromehang" signature prefix
Commit pushed to https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/d11293a0a60ec602198cfabcaca271e77d428c5f
Merge pull request #95 from twobraids/master

Bug 694345 - Implement signature generation for single-process hangs
this is now staged to be part of 2.3.1 -- will be included in the next push to production.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: Socorro → General
Product: Webtools → Socorro
You need to log in before you can comment on or make changes to this bug.