Closed
Bug 1155908
Opened 9 years ago
Closed 9 years ago
[e10s] Plugin crash reports should include the content process minidump
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(e10s+, firefox40 verified)
VERIFIED
FIXED
mozilla40
People
(Reporter: jimm, Assigned: jimm)
Details
Attachments
(1 file, 6 obsolete files)
4.40 KB,
patch
|
Details | Diff | Splinter Review |
Currently we get the plugin and browser process, and occasionally 3rd party flash processes, but we don't get the content process. Need to fix this for doing plugin crash/hang analysis.
Assignee | ||
Updated•9 years ago
|
Summary: [e10s] Plugin crash reports should include the content process stack → [e10s] Plugin crash reports should include the content process minidump
Assignee | ||
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8594330 -
Attachment is obsolete: true
Attachment #8594331 -
Flags: review?(wmccloskey)
Assignee | ||
Comment 3•9 years ago
|
||
example: https://crash-stats.mozilla.com/report/index/d97ca6e0-b51e-4c89-a2e7-e5b052150418
Comment 4•9 years ago
|
||
Will this work correctly in the non-e10s case?
Assignee | ||
Comment 5•9 years ago
|
||
(In reply to Benjamin Smedberg [:bsmedberg] from comment #4) > Will this work correctly in the non-e10s case? The code added is in PluginModuleChromeParent, so I think it doesn't get called. I'll check to be sure though.
Comment on attachment 8594331 [details] [diff] [review] patch Review of attachment 8594331 [details] [diff] [review]: ----------------------------------------------------------------- Yeah, I think this will break non-e10s. PluginModuleChromeParent is used for OOP plugins in non-e10s and mContentParent will be null there. I think you just need a null check. Also, the code is Windows-only, and I think it would be easy to generalize. CreateFlashMinidump could be renamed to CreateAdditionalPluginMinidump or something. It could use ScopedProcessHandle and stop using a DWORD for the pid. Then I think it would work on all platforms.
Attachment #8594331 -
Flags: review?(wmccloskey)
Assignee | ||
Comment 7•9 years ago
|
||
(In reply to Bill McCloskey (:billm) from comment #6) > Comment on attachment 8594331 [details] [diff] [review] > patch > > Review of attachment 8594331 [details] [diff] [review]: > ----------------------------------------------------------------- > > Yeah, I think this will break non-e10s. PluginModuleChromeParent is used for > OOP plugins in non-e10s and mContentParent will be null there. I think you > just need a null check. Ah yes, the module names threw me. Added a check for mContentParent around this. > Also, the code is Windows-only, and I think it would be easy to generalize. Are you sure? I don't see any windows ifdef'ing around this code block.
Assignee | ||
Comment 8•9 years ago
|
||
> > Also, the code is Windows-only, and I think it would be easy to generalize. > > Are you sure? I don't see any windows ifdef'ing around this code block. Oh I see, MOZ_CRASHREPORTER_INJECTOR only turns on for windows via configure. Will update. http://mxr.mozilla.org/mozilla-central/source/configure.in#6057
Assignee | ||
Comment 9•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e2d6449911ee
Attachment #8594331 -
Attachment is obsolete: true
Attachment #8595346 -
Flags: review?(wmccloskey)
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8595346 [details] [diff] [review] patch v.2 wrong patch
Attachment #8595346 -
Attachment is obsolete: true
Attachment #8595346 -
Flags: review?(wmccloskey)
Assignee | ||
Comment 11•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8595350 -
Flags: review?(wmccloskey)
Comment on attachment 8595350 [details] [diff] [review] patch v.2 Review of attachment 8595350 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/plugins/ipc/PluginModuleParent.cpp @@ +1119,5 @@ > if (processId == 0) { > return false; > } > > base::ProcessHandle handle; Please use ScopedProcessHandle. @@ +1231,1 @@ > } Something seems wrong with the indentation here. Can you please fix?
Attachment #8595350 -
Flags: review?(wmccloskey) → review+
Assignee | ||
Comment 13•9 years ago
|
||
- updated per comments
Attachment #8595350 -
Attachment is obsolete: true
Assignee | ||
Comment 14•9 years ago
|
||
Attachment #8595925 -
Attachment is obsolete: true
Assignee | ||
Comment 15•9 years ago
|
||
Attachment #8595927 -
Attachment is obsolete: true
Assignee | ||
Comment 16•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=5829333f12cd
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 17•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d6df8807c839
Keywords: checkin-needed
Comment 18•9 years ago
|
||
sorry had to back this out for bustage like https://treeherder.mozilla.org/logviewer.html#?job_id=9216872&repo=mozilla-inbound
Flags: needinfo?(jmathies)
Comment 19•9 years ago
|
||
Backout: https://hg.mozilla.org/integration/mozilla-inbound/rev/df3ae15819f0
Assignee | ||
Comment 20•9 years ago
|
||
try again, with an ifdef MOZ_CRASHREPORTER around CreatePluginMinidump: https://treeherder.mozilla.org/#/jobs?repo=try&revision=16818c3af8f3
Flags: needinfo?(jmathies)
Comment 22•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6c7ff528de78
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Comment 23•9 years ago
|
||
I think we need to verify that it works in both e10s and non-e10s cases. Jim, who's the right person for that?
Flags: qe-verify+
Keywords: qawanted
Assignee | ||
Comment 24•9 years ago
|
||
(In reply to Benjamin Smedberg [:bsmedberg] from comment #23) > I think we need to verify that it works in both e10s and non-e10s cases. > Jim, who's the right person for that? I've verified reports are showing up for both in the 24th build.
Status: RESOLVED → VERIFIED
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•