Closed Bug 1451748 Opened 6 years ago Closed 6 years ago

ExtensionParent.jsm leaks browser.xul windows via listenerProxies

Categories

(WebExtensions :: General, defect)

defect
Not set
normal

Tracking

(firefox61 verified, firefox62 verified)

VERIFIED FIXED
mozilla61
Tracking Status
firefox61 --- verified
firefox62 --- verified

People

(Reporter: bkelly, Assigned: kmag)

Details

(Whiteboard: [MemShrink])

Attachments

(2 files)

I've noticed lately that I've been getting detached browser.xul windows in the parent process.  I took a GC/CC log today and found two leaked browser.xul windows with this heapgraph output:

bkelly@valen:/mnt/c/devel/tmp/cclogs$ /srv/heapgraph/find_roots.py cc-edges.1392.1522937270.log 0000013B2A983400
Parsing cc-edges.1392.1522937270.log. Done loading graph. 

0000013B29ADD060 [JS Object (Window)]
    --[UnwrapDOMObject(obj)]--> 0000013B2A983400 [nsGlobalWindowInner # 13 inner chrome://browser/content/browser.xul]

    Root 0000013B29ADD060 is a marked GC object.

bkelly@valen:/mnt/c/devel/tmp/cclogs$ /srv/heapgraph/find_roots.py gc-edges.1392.1522937270.log -bro 0000013B29ADD060
Parsing gc-edges.1392.1522937270.log. Done loading graph.

via mCallback :
0000013B215A6E80 [Proxy <no private>]
    --[proxy target]--> 0000013B27B37380 [Object <no private>]
    --[extension]--> 0000013B22172F60 [Object <no private>]
    --[views]--> 0000013B235ED980 [Set 0000013B21913470]
    --[key]--> 0000013B2D4AE640 [Object <no private>]
    --[listenerProxies]--> 0000013B3EDA99C0 [Map 0000013B1C1D9DD0]
    --[value]--> 0000013B1FFEBB40 [Function listener]
    --[fun_environment]--> 0000013B27B95E80 [LexicalEnvironment <no private>]
    --[enclosing_environment]--> 0000013B2BE2C9A0 [Call <no private>]
    --[target]--> 0000013B3ECBF480 [Proxy <no private>]
    --[proxy target]--> 0000013B32249640 [XULElement <no private>]
    --[group]--> 0000013B29ADAF40 [object_group]
    --[group_global]--> 0000013B29ADD060 [Window <no private>]

It appears that browser.xul windows are being leaked through this listenerProxies map.  This map has been around for a while, though.  I'm not sure why it would start leaking now.
My about:support:

Application Basics
------------------

Name: Firefox
Version: 61.0a1
Build ID: 20180404100127
Update Channel: nightly
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
OS: Windows_NT 10.0
Multiprocess Windows: 2/2 (Enabled by default)
Web Content Processes: 5/4
Enterprise Policies: Inactive
Google Key: Found
Mozilla Location Service Key: Found
Safe Mode: false

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

Report ID: bp-36d622c6-b586-49b4-a2e9-4a8270180404
Submitted: 20 hours ago

Report ID: bp-4027260b-4ed1-4b33-a005-8b11f0180404
Submitted: 20 hours ago

All Crash Reports     Nightly Features
--------------------------------------

Name: Activity Stream
Version: 2018.03.29.1163-6170061b
ID: activity-stream@mozilla.org

Name: Application Update Service Helper
Version: 2.0
ID: aushelper@mozilla.org

Name: Firefox Screenshots
Version: 30.1.0
ID: screenshots@mozilla.org

Name: Follow-on Search Telemetry
Version: 0.9.6
ID: followonsearch@mozilla.com

Name: Form Autofill
Version: 1.0
ID: formautofill@mozilla.org

Name: Photon onboarding
Version: 1.0
ID: onboarding@mozilla.org

Name: Pocket
Version: 1.0.5
ID: firefox@getpocket.com

Name: Presentation
Version: 1.0.0
ID: presentation@mozilla.org

Name: Web Compat
Version: 1.1
ID: webcompat@mozilla.org

Name: WebCompat Reporter
Version: 1.0.0
ID: webcompat-reporter@mozilla.org

Extensions
----------

Name: Firefox Multi-Account Containers
Version: 6.0.0
Enabled: true
ID: @testpilot-containers

Security Software
-----------------

Type: Windows Defender Antivirus

Type: Windows Defender Antivirus

Type: Windows Firewall

Graphics
--------

Features
Compositing: Direct3D 11 (Advanced Layers)
Asynchronous Pan/Zoom: wheel input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled
WebGL 1 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 00000000000149dd) EGL_VERSION: 1.4 (ANGLE 2.1.0.27cef491162b) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses
WebGL 1 Driver Renderer: Google Inc. -- ANGLE (NVIDIA Quadro M2000 Direct3D11 vs_5_0 ps_5_0)
WebGL 1 Driver Version: OpenGL ES 2.0 (ANGLE 2.1.0.27cef491162b)
WebGL 1 Driver Extensions: GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object
WebGL 1 Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_frag_depth EXT_sRGB EXT_shader_texture_lod EXT_texture_filter_anisotropic EXT_disjoint_timer_query OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context
WebGL 2 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 00000000000149dd) EGL_VERSION: 1.4 (ANGLE 2.1.0.27cef491162b) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses
WebGL 2 Driver Renderer: Google Inc. -- ANGLE (NVIDIA Quadro M2000 Direct3D11 vs_5_0 ps_5_0)
WebGL 2 Driver Version: OpenGL ES 3.0 (ANGLE 2.1.0.27cef491162b)
WebGL 2 Driver Extensions: GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_multiview GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object
WebGL 2 Extensions: EXT_color_buffer_float EXT_texture_filter_anisotropic EXT_disjoint_timer_query OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context
Direct2D: true
Off Main Thread Painting Enabled: true
DirectWrite: true (10.0.16299.15)
GPU #1
Active: Yes
Description: NVIDIA Quadro M2000
Vendor ID: 0x10de
Device ID: 0x1430
Driver Version: 21.21.13.6909
Driver Date: 8-1-2016
Drivers: C:\WINDOWS\System32\DriverStore\FileRepository\nvlw.inf_amd64_209d618eb433ea8c\nvd3dumx,C:\WINDOWS\System32\DriverStore\FileRepository\nvlw.inf_amd64_209d618eb433ea8c\nvwgf2umx,C:\WINDOWS\System32\DriverStore\FileRepository\nvlw.inf_amd64_209d618eb433ea8c\nvwgf2umx,C:\WINDOWS\System32\DriverStore\FileRepository\nvlw.inf_amd64_209d618eb433ea8c\nvwgf2umx C:\WINDOWS\System32\DriverStore\FileRepository\nvlw.inf_amd64_209d618eb433ea8c\nvd3dum,C:\WINDOWS\System32\DriverStore\FileRepository\nvlw.inf_amd64_209d618eb433ea8c\nvwgf2um,C:\WINDOWS\System32\DriverStore\FileRepository\nvlw.inf_amd64_209d618eb433ea8c\nvwgf2um,C:\WINDOWS\System32\DriverStore\FileRepository\nvlw.inf_amd64_209d618eb433ea8c\nvwgf2um
Subsys ID: 119010de
RAM: 4096

Diagnostics
AzureCanvasAccelerated: 0
AzureCanvasBackend: direct2d 1.1
AzureCanvasBackend (UI Process): skia
AzureContentBackend: direct2d 1.1
AzureContentBackend (UI Process): skia
AzureFallbackCanvasBackend (UI Process): cairo
GPUProcessPid: 12048
GPUProcess: Terminate GPU Process
Device Reset: Trigger Device Reset
failures: CP+[GFX1-]: (gfxWindowsPlatform) Detected device reset: 1
Decision Log
WEBRENDER:
opt-in by default: WebRender is an opt-in feature


Failure Log
(#0): CP+[GFX1-]: (gfxWindowsPlatform) Detected device reset: 1
(#1): CP+[GFX1-]: (gfxWindowsPlatform) scheduled device update.
(#2): CP+[GFX1-]: LayerManager::EndTransaction skip RenderLayer().
(#3): CP+[GFX1-]: A content-only TDR is detected.

Media
-----

Audio Backend: wasapi
Max Channels: 2
Preferred Sample Rate: 48000
Output Devices
Name: Group
DELL U2410-0 (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0072&SUBSYS_10DE1190&REV_1001\5&28edd795&0&0001
Speakers (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_17AA1031&REV_1003\4&1c98c822&0&0001
DELL U2410-0 (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0072&SUBSYS_10DE1190&REV_1001\5&28edd795&0&0001
DELL P2715Q-8 (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0072&SUBSYS_10DE1190&REV_1001\5&28edd795&0&0001
DELL P2715Q-0 (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0072&SUBSYS_10DE1190&REV_1001\5&28edd795&0&0001
Speakers (Logitech USB Headset): USB\VID_046D&PID_0A44&MI_00\7&34da1cdc&0&0000
DELL U2410-C (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0072&SUBSYS_10DE1190&REV_1001\5&28edd795&0&0001
NVIDIA Output (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0072&SUBSYS_10DE1190&REV_1001\5&28edd795&0&0001
Speakers (2- Logitech USB Headset): USB\VID_046D&PID_0A44&MI_00\7&22206c37&0&0000
DELL U2410-C (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0072&SUBSYS_10DE1190&REV_1001\5&28edd795&0&0001
NVIDIA Output (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0072&SUBSYS_10DE1190&REV_1001\5&28edd795&0&0001
DELL P2715Q-8 (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0072&SUBSYS_10DE1190&REV_1001\5&28edd795&0&0001
Input Devices
Name: Group
Line In (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_17AA1031&REV_1003\4&1c98c822&0&0001
Front (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_17AA1031&REV_1003\4&1c98c822&0&0001
Microphone (2- Logitech USB Headset): USB\VID_046D&PID_0A44&MI_00\7&22206c37&0&0000
Microphone (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_17AA1031&REV_1003\4&1c98c822&0&0001
Internal AUX Jack (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0072&SUBSYS_10DE1190&REV_1001\5&28edd795&0&0001
Subwoofer (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_17AA1031&REV_1003\4&1c98c822&0&0001
Microphone (Logitech USB Headset): USB\VID_046D&PID_0A44&MI_00\7&34da1cdc&0&0000
Microphone (HD Pro Webcam C920): USB\VID_046D&PID_082D&MI_02\6&37c025da&1&0002
Line In (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_17AA1031&REV_1003\4&1c98c822&0&0001
Microphone (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_17AA1031&REV_1003\4&1c98c822&0&0001
Stereo Mix (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_17AA1031&REV_1003\4&1c98c822&0&0001
Internal AUX Jack (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0072&SUBSYS_10DE1190&REV_1001\5&28edd795&0&0001
Side (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_17AA1031&REV_1003\4&1c98c822&0&0001
Center (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0662&SUBSYS_17AA1031&REV_1003\4&1c98c822&0&0001

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

accessibility.lastLoadDate: 1499969911
accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.frecency_experiment: 3
browser.download.manager.alertOnEXEOpen: true
browser.places.smartBookmarksVersion: 8
browser.search.useDBForOrder: true
browser.sessionstore.upgradeBackup.latestBuildID: 20180404100127
browser.startup.homepage: about:home
browser.startup.homepage_override.buildID: 20180404100127
browser.startup.homepage_override.mstone: 61.0a1
browser.tabs.warnOnClose: false
browser.urlbar.daysBeforeHidingSuggestionsPrompt: 0
browser.urlbar.lastSuggestionsPromptDate: 20170524
browser.urlbar.matchBuckets: general:5,suggestion:Infinity
browser.urlbar.maxRichResults: 12
browser.urlbar.searchSuggestionsChoice: true
browser.urlbar.timesBeforeHidingSuggestionsHint: 0
dom.fetchController.enabled: true
dom.forms.autocomplete.formautofill: true
dom.push.userAgentID: 3a70f951c70b4d39a58736fb5537635f
extensions.lastAppVersion: 61.0a1
font.internaluseonly.changed: true
layers.mlgpu.sanity-test-failed: false
media.benchmark.vp9.fps: 261
media.benchmark.vp9.versioncheck: 3
media.gmp-gmpopenh264.abi: x86_64-msvc-x64
media.gmp-gmpopenh264.lastUpdate: 1510582697
media.gmp-gmpopenh264.version: 1.7.1
media.gmp-manager.buildID: 20180404100127
media.gmp-manager.lastCheck: 1522854176
media.gmp-widevinecdm.abi: x86_64-msvc-x64
media.gmp-widevinecdm.lastUpdate: 1504229282
media.gmp-widevinecdm.version: 1.4.8.1008
media.gmp.storage.version.observed: 1
media.hardware-video-decoding.failed: false
network.cookie.prefsMigrated: true
network.predictor.cleaned-up: true
places.database.lastMaintenance: 1522705254
places.history.expiration.transient_current_max_pages: 136686
plugin.disable_full_page_plugin_for_types: application/pdf
print.printer_Microsoft_Print_to_PDF.print_bgcolor: false
print.printer_Microsoft_Print_to_PDF.print_bgimages: false
print.printer_Microsoft_Print_to_PDF.print_duplex: -437918235
print.printer_Microsoft_Print_to_PDF.print_edge_bottom: 0
print.printer_Microsoft_Print_to_PDF.print_edge_left: 0
print.printer_Microsoft_Print_to_PDF.print_edge_right: 0
print.printer_Microsoft_Print_to_PDF.print_edge_top: 0
print.printer_Microsoft_Print_to_PDF.print_evenpages: true
print.printer_Microsoft_Print_to_PDF.print_footercenter:
print.printer_Microsoft_Print_to_PDF.print_footerleft: &PT
print.printer_Microsoft_Print_to_PDF.print_footerright: &D
print.printer_Microsoft_Print_to_PDF.print_headercenter:
print.printer_Microsoft_Print_to_PDF.print_headerleft: &T
print.printer_Microsoft_Print_to_PDF.print_headerright: &U
print.printer_Microsoft_Print_to_PDF.print_in_color: true
print.printer_Microsoft_Print_to_PDF.print_margin_bottom: 0.5
print.printer_Microsoft_Print_to_PDF.print_margin_left: 0.5
print.printer_Microsoft_Print_to_PDF.print_margin_right: 0.5
print.printer_Microsoft_Print_to_PDF.print_margin_top: 0.5
print.printer_Microsoft_Print_to_PDF.print_oddpages: true
print.printer_Microsoft_Print_to_PDF.print_orientation: 0
print.printer_Microsoft_Print_to_PDF.print_page_delay: 50
print.printer_Microsoft_Print_to_PDF.print_paper_data: 1
print.printer_Microsoft_Print_to_PDF.print_paper_height: -1.00
print.printer_Microsoft_Print_to_PDF.print_paper_name:
print.printer_Microsoft_Print_to_PDF.print_paper_size_unit: 0
print.printer_Microsoft_Print_to_PDF.print_paper_width: -1.00
print.printer_Microsoft_Print_to_PDF.print_resolution: 600
print.printer_Microsoft_Print_to_PDF.print_reversed: false
print.printer_Microsoft_Print_to_PDF.print_scaling: 1.00
print.printer_Microsoft_Print_to_PDF.print_shrink_to_fit: true
print.printer_Microsoft_Print_to_PDF.print_to_file: false
print.printer_Microsoft_Print_to_PDF.print_unwriteable_margin_bottom: 0
print.printer_Microsoft_Print_to_PDF.print_unwriteable_margin_left: 0
print.printer_Microsoft_Print_to_PDF.print_unwriteable_margin_right: 0
print.printer_Microsoft_Print_to_PDF.print_unwriteable_margin_top: 0
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_bgcolor: false
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_bgimages: false
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_duplex: -437918235
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_edge_bottom: 0
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_edge_left: 0
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_edge_right: 0
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_edge_top: 0
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_evenpages: true
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_footercenter:
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_footerleft: &PT
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_footerright: &D
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_headercenter:
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_headerleft: &T
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_headerright: &U
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_in_color: true
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_margin_bottom: 0.5
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_margin_left: 0.5
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_margin_right: 0.5
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_margin_top: 0.5
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_oddpages: true
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_orientation: 0
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_page_delay: 50
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_paper_data: 1
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_paper_height: -1.00
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_paper_name:
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_paper_size_unit: 0
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_paper_width: -1.00
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_resolution: 600
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_reversed: false
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_scaling: 1.00
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_shrink_to_fit: true
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_to_file: false
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_unwriteable_margin_bottom: 0
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_unwriteable_margin_left: 0
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_unwriteable_margin_right: 0
print.printer_Xerox_Phaser_6128MFP-N_Class_Driver.print_unwriteable_margin_top: 0
privacy.history.custom: true
privacy.userContext.extension: @testpilot-containers
security.sandbox.content.tempDirSuffix: {8fcc9e07-dc16-4e8e-b080-4f1ffdc3496d}
services.sync.declinedEngines: addons,passwords
services.sync.engine.addons: false
services.sync.engine.addresses.available: true
services.sync.engine.bookmarks.validation.lastTime: 1522857716
services.sync.engine.creditcards.available: true
services.sync.engine.passwords: false
services.sync.engine.prefs.modified: false
services.sync.lastPing: 1522857158
services.sync.lastSync: Thu Apr 05 2018 10:13:44 GMT-0400 (Eastern Daylight Time)
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1521468238
ui.osk.debug.keyboardDisplayReason: IKPOS: Touch screen not found.

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

Places Database
---------------

JavaScript
----------

Incremental GC: true

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

Activated: false
Prevent Accessibility: 0
Accessible Handler Used: true
Accessibility Instantiator:

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

NSPR
Expected minimum version: 4.19
Version in use: 4.19

NSS
Expected minimum version: 3.37 Beta
Version in use: 3.37 Beta

NSSSMIME
Expected minimum version: 3.37 Beta
Version in use: 3.37 Beta

NSSSSL
Expected minimum version: 3.37 Beta
Version in use: 3.37 Beta

NSSUTIL
Expected minimum version: 3.37 Beta
Version in use: 3.37 Beta

Experimental Features
---------------------

Sandbox
-------

Content Process Sandbox Level: 5
Effective Content Process Sandbox Level: 5

Internationalization & Localization
-----------------------------------

Application Settings
Requested Locales: ["en-US"]
Available Locales: ["en-US"]
App Locales: ["en-US"]
Regional Preferences: ["en-US"]
Default Locale: "en-US"
Operating System
System Locales: ["en-US"]
Regional Preferences: ["en-US"]
This seems to be some interaction with the multi-account container add-on.  STR:

0. Install multi-account containers addon.
1. Open about:memory in a fresh browser instance.
2. Minimize and measure.  Note any detached browser.xul memory in the parent process
3. Open a new window.
4. Click the multi-account container button to see the popup.  You don't need to actually create a container tab, though.
5. Close the window.
6. Return to about:memory tab, minimize, and measure.
7. Observe that browser.xul detached memory has increased.

Kris, any ideas what is going on here?
Flags: needinfo?(kmaglione+bmo)
Assignee: nobody → kmaglione+bmo
Component: WebExtensions: Untriaged → WebExtensions: General
Flags: needinfo?(kmaglione+bmo)
Comment on attachment 8965547 [details]
Bug 1451748: Always remove unloaded views from views list.

https://reviewboard.mozilla.org/r/234334/#review240178
Attachment #8965547 - Flags: review?(mixedpuppy) → review+
https://hg.mozilla.org/mozilla-central/rev/19e0f2b68a3c
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Attached image browser.xul.jpg
I was unable to reproduce the issue mentioned in https://bugzilla.mozilla.org/show_bug.cgi?id=1451748#c2 , can you please proved other steps or clarify what I am doing wrong? In order to test this issue.
Flags: needinfo?(bkelly)
Sorry, I don't have any other steps to offer besides comment 2.  FWIW I haven't seen this leak since this bug landed.
Flags: needinfo?(bkelly)
Status: RESOLVED → VERIFIED
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: