Closed Bug 1039575 Opened 10 years ago Closed 10 years ago

GMP plugins: getting a crash ID into GMPParent::ActorDestroy

Categories

(Core :: WebRTC, defect)

x86_64
Linux
defect
Not set
normal
Points:
8

Tracking

()

RESOLVED FIXED
mozilla33
Iteration:
33.3

People

(Reporter: benjamin, Assigned: benjamin)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

This is a partial breakdown of bug 1009760. I thought it would be really simple to get a crash ID into GMPParent::ActorDestroy and I was quite wrong. Most of the problems are related to the fact that GMPParent doesn't live on the main thread, so many of the support functions that would normally just work need adjustment. But I think I have it working!
Depends on: 1039577
Depends on: 1039579
Attached patch bug1039575 (deleted) — Splinter Review
Attachment #8456972 - Flags: review?(ted)
Followup, need to always return from this method. Should be folded in before landing.
Comment on attachment 8456972 [details] [diff] [review] bug1039575 Review of attachment 8456972 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/media/gmp/GMPParent.cpp @@ +254,5 @@ > +#ifdef MOZ_CRASHREPORTER > +void > +GMPParent::WriteExtraDataForMinidump(CrashReporter::AnnotationTable& notes) > +{ > + notes.Put(NS_LITERAL_CSTRING("GMPPlugin"), NS_LITERAL_CSTRING("1")); Oh, well, this answered my question from the other review... @@ +287,5 @@ > void > GMPParent::ActorDestroy(ActorDestroyReason aWhy) > { > + if (AbnormalShutdown == aWhy) { > + nsString dumpID; You should put this inside the ifdef.
Attachment #8456972 - Flags: review?(ted) → review+
Target Milestone: --- → mozilla33
QA Whiteboard: [qa-]
Status: NEW → ASSIGNED
Iteration: --- → 33.3
Flags: firefox-backlog+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: