Closed
Bug 412633
Opened 17 years ago
Closed 11 years ago
crash reporter should send list of installed plug-ins and their versions
Categories
(Core Graveyard :: Plug-ins, defect, P2)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
WONTFIX
mozilla1.9.3a1
People
(Reporter: samuel.sidler+old, Unassigned)
References
Details
Attachments
(1 file)
3.88 KB,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
Follow up from bug 366973. We should get installed plug-ins and their version as well.
Flags: blocking1.9?
Updated•17 years ago
|
Flags: blocking1.9? → blocking1.9+
Priority: -- → P2
Comment 1•17 years ago
|
||
Schrep, I don't think this needs to be a blocker. Unlike extensions, we already collect the list of DLLs and version information, so the list of plugin metadata provides only marginally more useful information.
Comment 3•15 years ago
|
||
This was easier than expected. I wanted to take a shot at this, so that we might be able to better understand the impact of plugins on crashes... Reports already have a list of modules, but we don't know which are plugins are which are just plain old libraries / binary components.
Assignee: nobody → dolske
Attachment #420257 -
Flags: review?
Updated•15 years ago
|
Attachment #420257 -
Flags: review? → review?(dtownsend)
Comment 4•15 years ago
|
||
One thing I wasn't sure of -- other code in this file does some stuff with NS_ITERATIVE_UNREF_LIST which I don't understand. Do I need to worry about that here? Also, over to Plugins, since this isn't really a breakpad issue. [Will file a followup afterwards to have this data exposed in Socorro, though.]
Component: Breakpad Integration → Plug-ins
Product: Toolkit → Core
QA Contact: breakpad.integration → plugins
Target Milestone: --- → mozilla1.9.3a1
Comment 5•15 years ago
|
||
Does this include all installed plugins, or only the plugins used during the session/instance?
Comment 6•15 years ago
|
||
It's all the plugins the browser knew about when it last updated it's cache; the list includes plugins that are blocklisted or disabled. We could grab the flags to know the plugin's state, but it didn't seem particularly useful at the moment. [If a plugin's disabled, it wouldn't show up in the list of loaded modules anyway.]
Comment 7•15 years ago
|
||
If you have the data easily at hand, I'd suggest including it. It's easier to have the data and not use it than to not have the data and want it.
Comment 8•15 years ago
|
||
Yeah, I think it's much more interesting to know which plugins were actually loaded in the crashing instance than to know all plugins which may or may not have been loaded, but if we can get both then that's fairly simple. We can certainly add a couple of attributes to nsIPluginTag to make this possible: readonly attribute boolean loaded; attribute boolean outOfProcess;
Comment 9•15 years ago
|
||
Hmm, from a quick skim of the code it's not at completely clear to me where we create the first instance of a plugin (to mark it as loaded and re-annotate the report). Does everything go through nsPluginHost::GetPlugin()? And IIRC we no longer ever unload plugins?
Comment 10•14 years ago
|
||
Comment on attachment 420257 [details] [diff] [review] Patch v.1 Seems ok to me as-is though I think we should add a test, or do the better version that bsmedberg alluded to.
Attachment #420257 -
Flags: review?(dtownsend) → review+
Comment 11•13 years ago
|
||
This would make crash triaging significantly easier as the plugins are often hard to glimpse within the pretty large modules list. Can this be picked up again?
Comment 12•12 years ago
|
||
(clearing assignment of bugs I'm no long planning to work on)
Assignee: dolske → nobody
Comment 13•11 years ago
|
||
There are privacy issues here and I doubt we'd use this information regularly and effectively, so I'm going to WONTFIX this.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
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
•