Closed Bug 1255844 Opened 4 years ago Closed 3 years ago

plugin-container crashes my computer due to memory leak

Categories

(Core :: Plug-ins, defect)

45 Branch
x86
macOS
defect
Not set

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: rjk, Unassigned)

Details

(Whiteboard: [MemShrink:P3])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160303134406

Steps to reproduce:

Used Firefox over a period of several days, visiting various websites, leaving Firefox running the whole time.


Actual results:

My computer crashed and rebooted, apparently due to a memory leak in plugin-container.

Upon rebooting, the Crash Reporter included the following information:

*** Panic Report ***
panic(cpu 3 caller 0xffffff8000d6aad5): "zalloc: zone map exhausted while allocating from zone kalloc.8192, likely due to memory leak in zone kalloc.128 (4175237120 total bytes, 32619019 elements allocated)"@/SourceCache/xnu/xnu-2782.50.1/osfmk/kern/zalloc.c:2521
Backtrace (CPU 3), Frame : Return Address
0xffffff81df73bc00 : 0xffffff8000d2ad21 
0xffffff81df73bc80 : 0xffffff8000d6aad5 
0xffffff81df73bdb0 : 0xffffff8000d33581 
0xffffff81df73bde0 : 0xffffff8000d12ed0 
0xffffff81df73be10 : 0xffffff8000d2ef27 
0xffffff81df73be40 : 0xffffff8000d139f3 
0xffffff81df73be90 : 0xffffff8000d2429d 
0xffffff81df73bf10 : 0xffffff8000e0231a 
0xffffff81df73bfb0 : 0xffffff8000e344c6 

BSD process name corresponding to current thread: plugin-container


Expected results:

Firefox should not crash my computer.

And now, your moment of Zen:

https://support.mozilla.org/en-US/kb/what-is-plugin-container
"Firefox runs plugins, like Adobe Flash, in a 'plugin-container' to prevent Firefox from crashing."
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86
Component: Untriaged → Plug-ins
Product: Firefox → Core
Whiteboard: [MemShrink]
Ronald, can you please copy your about:support information to this bug? I want to make sure that this is plugins and not e10s content processes (both of which run in plugin-container). If this is plugin-related, it could easily be a bug in the plugin (probably Flash) and not Firefox.

Also it may be valuable when you see this again to visit about:memory in the browser, save a memory report, and attach it to this bug.
Flags: needinfo?(rjk)
Application Basics
------------------

Name: Firefox
Version: 45.0
Build ID: 20160303134406
Update Channel: release
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Firefox/45.0
Multiprocess Windows: 0/4 (default: false)
Safe Mode: false

Crash Reports for the Last 3 Days
---------------------------------

All Crash Reports

Extensions
----------

Name: Charles Proxy Auto-configuration
Version: 3.11
Enabled: true
ID: {3e9a3920-1b27-11da-8cd6-0800200c9a66}

Name: DOM Inspector
Version: 2.0.16
Enabled: true
ID: inspector@mozilla.org

Name: Firebug
Version: 2.0.14
Enabled: true
ID: firebug@software.joehewitt.com

Name: Firefox Hello Beta
Version: 0.1
Enabled: true
ID: loop@mozilla.org

Name: Greasemonkey
Version: 3.7
Enabled: true
ID: {e4a8a97b-f2ed-450b-b12d-ee082ba24781}

Name: JSONView
Version: 1.1.0
Enabled: true
ID: jsonview@brh.numbera.com

Name: LastPass
Version: 3.3.1
Enabled: true
ID: support@lastpass.com

Name: Web Developer
Version: 1.2.5.1-signed
Enabled: true
ID: {c45c406e-ab73-11d8-be73-000a95be3b12}

Name: Classic Theme Restorer
Version: 1.4.9
Enabled: false
ID: ClassicThemeRestorer@ArisT2Noia4dev

Name: FireQuery
Version: 2.0.1
Enabled: false
ID: firequery@binaryage.com

Graphics
--------

Asynchronous Pan/Zoom: none
Device ID: 0x162b
GPU Accelerated Windows: 4/4 OpenGL (OMTC)
Supports Hardware H264 Decoding: No;
Vendor ID: 0x8086
WebGL Renderer: Intel -- Intel(R) Iris(TM) Graphics 6100
windowLayerManagerRemote: true
AzureCanvasBackend: skia
AzureContentBackend: quartz
AzureFallbackCanvasBackend: none
AzureSkiaAccelerated: 1

Important Modified Preferences
------------------------------

accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.smart_size_cached_value: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.frecency_experiment: 2
browser.download.importedFromSqlite: true
browser.places.smartBookmarksVersion: 7
browser.sessionstore.upgradeBackup.latestBuildID: 20160303134406
browser.startup.homepage_override.buildID: 20160303134406
browser.startup.homepage_override.mstone: 45.0
browser.tabs.warnOnClose: false
browser.urlbar.userMadeSearchSuggestionsChoice: true
dom.apps.reset-permissions: true
dom.mozApps.used: true
dom.w3c_touch_events.expose: false
extensions.lastAppVersion: 45.0
font.internaluseonly.changed: false
gfx.blacklist.direct2d: 3
gfx.crash-guard.glcontext.appVersion: 45.0
gfx.crash-guard.glcontext.deviceID: 0x162b
gfx.crash-guard.status.glcontext: 2
media.gmp-gmpopenh264.abi: x86_64-gcc3-u-i386-x86_64
media.gmp-gmpopenh264.lastUpdate: 1451576599
media.gmp-gmpopenh264.version: 1.5.3
media.gmp-manager.buildID: 20160303134406
media.gmp-manager.lastCheck: 1457713520
media.youtube-ua.override.to: 43
network.auth.allow-subresource-auth: 2
network.cookie.prefsMigrated: true
network.predictor.cleaned-up: true
places.database.lastMaintenance: 1457541407
places.history.expiration.transient_current_max_pages: 104858
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
print.print_bgcolor: false
print.print_bgimages: false
print.print_colorspace:
print.print_command:
print.print_downloadfonts: false
print.print_duplex: 0
print.print_evenpages: true
print.print_in_color: true
print.print_margin_bottom: 0.5
print.print_margin_left: 0.5
print.print_margin_right: 0.5
print.print_margin_top: 0.5
print.print_oddpages: true
print.print_orientation: 0
print.print_page_delay: 50
print.print_paper_data: 0
print.print_paper_height: 11.00
print.print_paper_name:
print.print_paper_size_type: 1
print.print_paper_size_unit: 0
print.print_paper_width: 8.50
print.print_plex_name:
print.print_resolution: 0
print.print_resolution_name:
print.print_reversed: false
print.print_scaling: 1.00
print.print_shrink_to_fit: true
print.print_to_file: false
print.print_unwriteable_margin_bottom: 20
print.print_unwriteable_margin_left: 25
print.print_unwriteable_margin_right: 25
print.print_unwriteable_margin_top: 12
privacy.cpd.cookies: false
privacy.cpd.downloads: false
privacy.cpd.formdata: false
privacy.cpd.history: false
privacy.cpd.sessions: false
privacy.sanitize.migrateClearSavedPwdsOnExit: true
privacy.sanitize.migrateFx3Prefs: true
privacy.sanitize.timeSpan: 0
services.sync.declinedEngines:
services.sync.engine.greasemonkey: false
storage.vacuum.last.index: 0
storage.vacuum.last.places.sqlite: 1457718536

Important Locked Preferences
----------------------------

JavaScript
----------

Incremental GC: true

Accessibility
-------------

Activated: false
Prevent Accessibility: 0

Library Versions
----------------

NSPR
Expected minimum version: 4.12
Version in use: 4.12

NSS
Expected minimum version: 3.21.1 Basic ECC
Version in use: 3.21.1 Basic ECC

NSSSMIME
Expected minimum version: 3.21.1 Basic ECC
Version in use: 3.21.1 Basic ECC

NSSSSL
Expected minimum version: 3.21.1 Basic ECC
Version in use: 3.21.1 Basic ECC

NSSUTIL
Expected minimum version: 3.21.1
Version in use: 3.21.1

Experimental Features
---------------------
Flags: needinfo?(rjk)
Wow, so this looks like exhaustion of kernel memory. Hardware acceleration, perhaps?
Attached file memory-report.json.gz
Firefox just started being unresponsive.  I have attached a memory report.
There are two ghost windows in that report, so that could cause some unresponsiveness. Otherwise, nothing in there looks too ridiculous at a glance, as it seems like you have a decent number of tabs. There's no content process report in there, which suggests this is not e10s content process related.
about:support also indicates this is non-e10s, so presumably it was an actual plugin.
Ronald can we get the list of plugins from about:plugins?
Flags: needinfo?(rjk)
Installed plugins

Find updates for installed plugins at mozilla.com/plugincheck

OpenH264 Video Codec provided by Cisco Systems, Inc.

    File: 1.5.3
    Path: /Users/rkimball/Library/Application Support/Firefox/Profiles/sy9044cn.default/gmp-gmpopenh264/1.5.3
    Version: 1.5.3
    State: Enabled
    This plugin is automatically installed by Mozilla to comply with the WebRTC specification and to enable WebRTC calls with devices that require the H.264 video codec. Visit http://www.openh264.org/ to view the codec source code and learn more about the implementation.

MIME Type	Description	Suffixes

Lync Meeting Join Plug-in

    File: MeetingJoinPlugin.plugin
    Path: /Library/Internet Plug-Ins/MeetingJoinPlugin.plugin
    Version: 4.0.7577.5
    State: Enabled
    Microsoft Lync 2010 Meeting Join Plug-in

MIME Type	Description	Suffixes
application/vnd.microsoft.communicator.ocsmeeting	Microsoft Lync 2010 Meeting Join Plug-in	

Default Browser Helper

    File: Default Browser.plugin
    Path: /Library/Internet Plug-Ins/Default Browser.plugin
    Version: 600
    State: Enabled
    Provides information about the default web browser

MIME Type	Description	Suffixes
application/apple-default-browser	Provides information about the default web browser	

LastPass

    File: nplastpass.plugin
    Path: /Library/Internet Plug-Ins/nplastpass.plugin
    Version: 3.2.11
    State: Enabled
    LastPass Plugin

MIME Type	Description	Suffixes
application/x-vnd-lastpass	LastPass browser plugin	

Unity Player

    File: Unity Web Player.plugin
    Path: /Library/Internet Plug-Ins/Unity Web Player.plugin
    Version: UnityPlayer version 5.2.0f3
    State: Enabled
    Unity Web Player version 5.2.0f3. (c) 2015 Unity Technologies ApS. All rights reserved.

MIME Type	Description	Suffixes
application/vnd.unity	Unity Player	unity3d

Google Talk Plugin Video Renderer

    File: o1dbrowserplugin.plugin
    Path: /Library/Internet Plug-Ins/o1dbrowserplugin.plugin
    Version: 5.41.3.0
    State: Enabled
    Version 5.41.3.0

MIME Type	Description	Suffixes
application/o1d	Google Talk Plugin Video Renderer	o1d

Google Talk Plugin

    File: googletalkbrowserplugin.plugin
    Path: /Library/Internet Plug-Ins/googletalkbrowserplugin.plugin
    Version: 5.41.3.0
    State: Enabled
    Version 5.41.3.0

MIME Type	Description	Suffixes
application/googletalk	Google voice and video chat	googletalk

Silverlight Plug-In

    File: Silverlight.plugin
    Path: /Library/Internet Plug-Ins/Silverlight.plugin
    Version: 5.1.41212.0
    State: Enabled
    5.1.41212.0

MIME Type	Description	Suffixes
application/x-silverlight	Microsoft Silverlight	xaml
application/x-silverlight-2	Microsoft Silverlight	xaml

SharePoint Browser Plug-in

    File: SharePointBrowserPlugin.plugin
    Path: /Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin
    Version: 14.6.1
    State: Enabled
    Microsoft Office for Mac SharePoint Browser Plug-in

MIME Type	Description	Suffixes
application/x-sharepoint	Microsoft Office for Mac SharePoint Browser Plug-in	
application/x-sharepoint-protocolhandler	Microsoft Office for Mac Protocol Handler	

Shockwave Flash

    File: Flash Player.plugin
    Path: /Library/Internet Plug-Ins/Flash Player.plugin
    Version: 21.0.0.197
    State: Enabled
    Shockwave Flash 21.0 r0

MIME Type	Description	Suffixes
application/x-shockwave-flash	Shockwave Flash	swf
application/futuresplash	FutureSplash Player	spl
Flags: needinfo?(rjk)
If possible we'd suggest disabling a few plugins at a time to see if you can pinpoint which plugin is causing this.
Whiteboard: [MemShrink] → [MemShrink:P3]
This behavior is also observed in a clean profile. So from the plug-ins/addons it does not depend.
Unfortunately I don't think there are clear next steps for this bug, so I'm going to resolve it.
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.