Closed Bug 1489217 Opened 7 years ago Closed 5 years ago

Handler function threw an exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsITraceableChannel.setNewListener]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame

Categories

(DevTools :: Netmonitor, defect, P5)

62 Branch
defect

Tracking

(Fission Milestone:M7, firefox86 fixed)

RESOLVED FIXED
86 Branch
Fission Milestone M7
Tracking Status
firefox86 --- fixed

People

(Reporter: bugzilla, Assigned: ochameau)

Details

(Whiteboard: dt-fission-m3-mvp)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT; Win64; x64; rv:56.0) Gecko/20100101 Firefox/60.0 Build ID: 20180830143136 Steps to reproduce: I get this constantly and persistently on any and all pages where there are some form of userscript running, be it site hosted or client side (such as GreaseMonkey, TamperMonkey, et al) and it doesn't provide sufficient explanation to find out what is the cause or how it can be mitigated. Countless searches have resulted in nothing on the subject and what is there is highly irrelevant or involves something completely different. Whenever this happens, the page will never ever complete loading, no matter how much you wait, it will simply keep showing the loading bouncing ball in the tab icon and the only way is to click on STOP and then reload the page and it will work fine ONCE and then if the page is redirected or a new location is loaded, often with the script, then it will do this again and again. Every time it hangs like this, you check the browser console and see the error below. Often more than 3 or four of them all saying the exact same thing. Actual results: Handler function threw an exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsITraceableChannel.setNewListener]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://devtools/shared/base-loader.js -> resource://devtools/shared/webconsole/network-monitor.js :: _setupResponseListener :: line 1311" data: no] Stack: _setupResponseListener@resource://devtools/shared/base-loader.js -> resource://devtools/shared/webconsole/network-monitor.js:1311:30 _createNetworkEvent@resource://devtools/shared/base-loader.js -> resource://devtools/shared/webconsole/network-monitor.js:1187:5 _onRequestHeader@resource://devtools/shared/base-loader.js -> resource://devtools/shared/webconsole/network-monitor.js:1212:5 NetworkMonitor.prototype.observeActivity<@resource://devtools/shared/base-loader.js -> resource://devtools/shared/webconsole/network-monitor.js:1064:7 exports.makeInfallible/<@resource://devtools/shared/base-loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:14 Line: 1311, column: 0 ThreadSafeDevToolsUtils.js:88:5 Expected results: The page should load as usual, there should be no error and everything should work normally as expected, what is happening is not and cannot be normal behavior.
Hi, Thanks for reporting this bug. Can you update to the latest version of Firefox and see if this behavior can be reproduced? If so, please visit about:support and paste the information from there in a comment. Given some of the issues in the error report, I'm going to set this as DevTools: NetMonitor, but please change if there is a more suitable component for this.
Component: Untriaged → Netmonitor
Product: Firefox → DevTools
Per request in Comment 1.
Flags: needinfo?(bugzilla)
Yes, after the latest update, the problem still persists and generates a lot of these. I have also seen them for pages where there are no userscripts but the page is injecting their scripts instead on a timer. Also, I don't think NetMonitor is the primary issue, I think the failure in base-loader is the first fault that then propagates into the other components. I am not sure what a more appropriate component would be but certainly I don't think it has to do with network. Anyway, here is the about support, you didn't say what part you needed but here it is: { "application": { "name": "Firefox", "osVersion": "Windows_NT 10.0", "version": "62.0", "buildID": "20180830143136", "userAgent": "Mozilla/5.0 (Windows; rv:62.0) Gecko/20100101 Firefox/66.0", "safeMode": false, "updateChannel": "release", "supportURL": "https://support.mozilla.org/1/firefox/62.0/WINNT/en-US/", "numTotalWindows": 1, "numRemoteWindows": 1, "remoteAutoStart": true, "currentContentProcesses": 4, "maxContentProcesses": 2, "autoStartStatus": 1, "policiesStatus": 0, "keyGoogleFound": true, "keyMozillaFound": true }, "securitySoftware": { "registeredAntiVirus": "Windows Defender Antivirus", "registeredAntiSpyware": "Windows Defender Antivirus", "registeredFirewall": "COMODO Firewall;Windows Firewall" }, "modifiedPreferences": { "accessibility.typeaheadfind.flashBar": 0, "accessibility.force_disabled": 1, "accessibility.handler.enabled": false, "browser.cache.disk.filesystem_reported": 1, "browser.cache.frecency_experiment": -1, "browser.cache.disk.smart_size.first_run": false, "browser.cache.disk.smart_size.use_old_max": false, "browser.cache.disk.capacity": 0, "browser.cache.disk.smart_size.enabled": false, "browser.download.folderList": 0, "browser.download.useDownloadDir": false, "browser.link.open_newwindow.restriction": 0, "browser.places.smartBookmarksVersion": 8, "browser.search.openintab": true, "browser.search.suggest.enabled": false, "browser.search.update": false, "browser.search.useDBForOrder": true, "browser.sessionstore.upgradeBackup.latestBuildID": "20180830143136", "browser.sessionstore.max_serialize_forward": 5, "browser.sessionstore.resume_from_crash": false, "browser.sessionstore.max_windows_undo": 0, "browser.sessionstore.max_serialize_back": 5, "browser.sessionstore.max_resumed_crashes": 0, "browser.sessionstore.restore_on_demand": false, "browser.sessionstore.cleanup.forget_closed_after": 0, "browser.sessionstore.max_tabs_undo": 5, "browser.sessionstore.restore_tabs_lazily": false, "browser.startup.homepage_override.mstone": "62.0", "browser.startup.homepage": "file:///C:/Tools/Dashboard/menu3.html", "browser.startup.homepage_override.buildID": "20180830143136", "browser.tabs.warnOnClose": false, "browser.tabs.remote.force-enable": false, "browser.tabs.loadBookmarksInTabs": true, "browser.tabs.crashReporting.sendReport": false, "browser.tabs.remote.allowLinkedWebInFileUriProcess": false, "browser.tabs.insertRelatedAfterCurrent": false, "browser.tabs.closeWindowWithLastTab": false, "browser.tabs.remote.warmup.enabled": false, "browser.urlbar.suggest.searches": false, "browser.urlbar.autoFill": false, "browser.urlbar.doubleClickSelectsAll": true, "browser.urlbar.timesBeforeHidingSuggestionsHint": 2, "browser.urlbar.matchBuckets": "general:5,suggestion:Infinity", "browser.urlbar.suggest.openpage": false, "browser.urlbar.suggest.history": false, "browser.urlbar.searchSuggestionsChoice": false, "browser.zoom.updateBackgroundTabs": false, "dom.disable_window_open_feature.menubar": true, "dom.disable_window_move_resize": true, "dom.disable_window_open_feature.toolbar": true, "dom.webnotifications.enabled": false, "dom.disable_window_open_feature.personalbar": true, "dom.push.enabled": false, "dom.disable_beforeunload": true, "dom.placeholder.show_on_focus": false, "dom.push.serverURL": "", "dom.disable_open_during_load": false, "dom.webnotifications.serviceworker.enabled": false, "dom.serviceWorkers.openWindow.enabled": false, "dom.disable_window_open_feature.close": true, "dom.allow_cut_copy": false, "dom.allow_scripts_to_close_windows": true, "dom.push.connection.enabled": false, "dom.popup_maximum": 200, "dom.max_script_run_time": 20, "dom.vr.enabled": false, "dom.disable_window_open_feature.titlebar": true, "dom.serviceWorkers.enabled": false, "dom.ipc.processCount": 2, "dom.ipc.tabs.shutdownTimeoutSecs": 0, "dom.disable_window_open_feature.minimizable": true, "dom.workers.maxPerDomain": 0, "dom.workers.enabled": false, "extensions.formautofill.section.enabled": false, "extensions.formautofill.addresses.enabled": false, "extensions.lastAppVersion": "62.0", "font.internaluseonly.changed": true, "general.autoScroll": false, "general.useragent.override": "Mozilla/5.0 (Windows; rv:62.0) Gecko/20100101 Firefox/66.0", "gfx.crash-guard.d3d11layers.appVersion": "56.0.2", "gfx.crash-guard.status.d3d11video": 2, "gfx.crash-guard.d3d11layers.driverVersion": "20.19.15.4331", "gfx.crash-guard.d3d11layers.deviceID": "0x0a16", "gfx.crash-guard.status.d3d9video": 2, "gfx.crash-guard.d3d11layers.feature-d3d11": true, "gfx.crash-guard.d3d11layers.feature-d2d": true, "gfx.crash-guard.status.d3d11layers": 2, "javascript.options.asmjs": false, "javascript.options.baselinejit": false, "javascript.options.ion": false, "javascript.options.wasm": false, "layers.mlgpu.sanity-test-failed": false, "media.getusermedia.screensharing.allowed_domains": "", "media.wmf.deblacklisting-for-telemetry-in-gpu-process": false, "media.autoplay.enabled": false, "media.eme.enabled": false, "media.gmp-gmpopenh264.lastUpdate": 1529740586, "media.peerconnection.enabled": false, "media.gmp.storage.version.observed": 1, "media.hardware-video-decoding.failed": false, "media.gmp-gmpopenh264.abi": "x86_64-msvc-x64", "media.video_stats.enabled": false, "media.gmp-manager.lastCheck": 1536632151, "media.peerconnection.ice.proxy_only": true, "media.benchmark.vp9.versioncheck": 4, "media.benchmark.vp9.fps": 88, "media.gmp-gmpopenh264.version": "1.7.1", "media.gmp-gmpopenh264.enabled": false, "media.gmp-manager.buildID": "20180830143136", "media.block-autoplay-until-in-foreground": false, "network.dnsCacheExpirationGracePeriod": 30, "network.prefetch-next": false, "network.warnOnAboutNetworking": false, "network.dns.disablePrefetch": true, "network.http.speculative-parallel-limit": 0, "network.predictor.enabled": false, "network.predictor.cleaned-up": true, "network.cookie.prefsMigrated": true, "network.dns.disableIPv6": true, "network.dnsCacheEntries": 50, "network.allow-experiments": false, "network.dnsCacheExpiration": 30, "places.history.enabled": false, "places.history.expiration.transient_current_max_pages": 69168, "places.database.lastMaintenance": 1536372660, "plugin.state.java": 0, "plugin.disable_full_page_plugin_for_types": "application/pdf", "plugin.default.state": 0, "plugin.state.flash": 0, "plugin.defaultXpi.state": 0, "print.printer_Adobe_PDF.print_margin_top": "0.5", "print.printer_Adobe_PDF.print_edge_bottom": 0, "print.printer_Adobe_PDF.print_edge_right": 0, "print.printer_Adobe_PDF.print_paper_size_unit": 0, "print.printer_Adobe_PDF.print_paper_data": -1, "print.printer_Adobe_PDF.print_unwriteable_margin_bottom": 0, "print.printer_Adobe_PDF.print_footerleft": "", "print.printer_Adobe_PDF.print_margin_bottom": "0.5", "print.printer_Adobe_PDF.print_in_color": true, "print.printer_Adobe_PDF.print_oddpages": true, "print.printer_Adobe_PDF.print_margin_left": "0.5", "print.printer_Adobe_PDF.print_scaling": " 1.00", "print.printer_Adobe_PDF.print_paper_width": " 8.50", "print.printer_Adobe_PDF.print_headerright": "", "print.printer_Adobe_PDF.print_bgimages": true, "print.printer_Adobe_PDF.print_unwriteable_margin_right": 0, "print.printer_Adobe_PDF.print_resolution": 1200, "print.printer_Adobe_PDF.print_edge_left": 0, "print.printer_Adobe_PDF.print_unwriteable_margin_top": 0, "print.printer_Adobe_PDF.print_headercenter": "", "print.printer_Adobe_PDF.print_paper_height": " 11.00", "print.printer_Adobe_PDF.print_unwriteable_margin_left": 0, "print.printer_Adobe_PDF.print_orientation": 0, "print.printer_Adobe_PDF.print_paper_name": "", "print.printer_Adobe_PDF.print_shrink_to_fit": true, "print.printer_Adobe_PDF.print_to_file": false, "print.printer_Adobe_PDF.print_edge_top": 0, "print.printer_Adobe_PDF.print_margin_right": "0.5", "print.printer_Adobe_PDF.print_footerright": "", "print.printer_Adobe_PDF.print_duplex": -437918235, "print.printer_Adobe_PDF.print_page_delay": 50, "print.printer_Adobe_PDF.print_evenpages": true, "print.printer_Adobe_PDF.print_headerleft": "", "print.printer_Adobe_PDF.print_reversed": false, "print.printer_Adobe_PDF.print_bgcolor": true, "print.printer_Adobe_PDF.print_footercenter": "", "privacy.resistFingerprinting.block_mozAddonManager": true, "privacy.history.custom": true, "privacy.userContext.ui.enabled": true, "privacy.userContext.longPressBehavior": 2, "privacy.userContext.enabled": true, "privacy.donottrackheader.enabled": true, "privacy.sanitize.pending": "[{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}}]", "security.ssl.errorReporting.url": "", "security.sandbox.content.tempDirSuffix": "{9fd49e03-86b2-481c-ade7-d424b868a18a}", "services.sync.declinedEngines": "", "signon.rememberSignons": false, "signon.importedFromSqlite": true, "storage.vacuum.last.places.sqlite": 1535133139, "storage.vacuum.last.queue.sqlite": 1535397992, "storage.vacuum.last.index": 1, "ui.osk.debug.keyboardDisplayReason": "IKPOS: Touch screen not found." }, "lockedPreferences": {}, "media": { "currentAudioBackend": "unknown", "currentMaxAudioChannels": 0, "currentPreferredSampleRate": 44100, "audioOutputDevices": [], "audioInputDevices": [] }, "javaScript": { "incrementalGCEnabled": true }, "accessibility": { "isActive": false, "forceDisabled": 1, "handlerUsed": false, "instantiator": "" }, "libraryVersions": { "NSPR": { "minVersion": "4.19", "version": "4.19" }, "NSS": { "minVersion": "3.38", "version": "3.38" }, "NSSUTIL": { "minVersion": "3.38", "version": "3.38" }, "NSSSSL": { "minVersion": "3.38", "version": "3.38" }, "NSSSMIME": { "minVersion": "3.38", "version": "3.38" } }, "userJS": { "exists": false }, "intl": { "localeService": { "requested": [ "en-US" ], "available": [ "en-US" ], "supported": [ "en-US" ], "regionalPrefs": [ "en-US" ], "defaultLocale": "en-US" }, "osPrefs": { "systemLocales": [ "en-US" ], "regionalPrefsLocales": [ "en-US" ] } }, "crashes": { "submitted": [], "pending": 0 }, "sandbox": { "contentSandboxLevel": 5, "effectiveContentSandboxLevel": 5 }, "graphics": { "numTotalWindows": 1, "numAcceleratedWindows": 1, "windowLayerManagerType": "Direct3D 11", "windowLayerManagerRemote": true, "windowUsingAdvancedLayers": true, "adapterDescription": "Intel(R) HD Graphics Family", "adapterVendorID": "0x8086", "adapterDeviceID": "0x0a16", "adapterSubsysID": "0a161414", "adapterRAM": "Unknown", "adapterDrivers": "igdumdim64 igd10iumd64 igd10iumd64 igd12umd64 igdumdim32 igd10iumd32 igd10iumd32 igd12umd32", "driverVersion": "20.19.15.4331", "driverDate": "11-18-2015", "adapterDescription2": "DisplayLink USB Device", "adapterVendorID2": "0x000b", "adapterDeviceID2": "0x000b", "adapterSubsysID2": "0000000b", "adapterRAM2": "Unknown", "adapterDrivers2": "Unknown", "driverVersion2": "", "driverDate2": "", "isGPU2Active": false, "direct2DEnabled": true, "directWriteEnabled": true, "directWriteVersion": "10.0.17134.1", "clearTypeParameters": "DISPLAY1 [ Gamma: 2.2 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 400 ] DISPLAY4 [ Gamma: 2.2 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 400 ] ", "usesTiling": false, "contentUsesTiling": false, "offMainThreadPaintEnabled": true, "offMainThreadPaintWorkerCount": 1, "webgl1Renderer": "Google Inc. -- ANGLE (Intel(R) HD Graphics Family Direct3D11 vs_5_0 ps_5_0)", "webgl1Version": "OpenGL ES 2.0 (ANGLE 2.1.0.595ccab4acc3)", "webgl1DriverExtensions": "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_KHR_robust_buffer_access_behavior 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 ", "webgl1Extensions": "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", "webgl1WSIInfo": "EGL_VENDOR: Google Inc. (adapter LUID: 000000000000ad8f)\nEGL_VERSION: 1.4 (ANGLE 2.1.0.595ccab4acc3)\nEGL_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_ANGLE_create_context_extensions_enabled \nEGL_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 ", "webgl2Renderer": "Google Inc. -- ANGLE (Intel(R) HD Graphics Family Direct3D11 vs_5_0 ps_5_0)", "webgl2Version": "OpenGL ES 3.0 (ANGLE 2.1.0.595ccab4acc3)", "webgl2DriverExtensions": "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_KHR_robust_buffer_access_behavior 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 ", "webgl2Extensions": "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", "webgl2WSIInfo": "EGL_VENDOR: Google Inc. (adapter LUID: 000000000000ad8f)\nEGL_VERSION: 1.4 (ANGLE 2.1.0.595ccab4acc3)\nEGL_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_ANGLE_create_context_extensions_enabled \nEGL_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 ", "info": { "AzureCanvasBackend (UI Process)": "skia", "AzureFallbackCanvasBackend (UI Process)": "cairo", "AzureContentBackend (UI Process)": "skia", "AzureCanvasBackend": "direct2d 1.1", "AzureContentBackend": "direct2d 1.1", "AzureCanvasAccelerated": 0, "ApzWheelInput": 1, "ApzDragInput": 1, "ApzKeyboardInput": 1, "ApzAutoscrollInput": 1 }, "featureLog": { "features": [ { "name": "HW_COMPOSITING", "description": "Compositing", "status": "available", "log": [ { "type": "default", "status": "available" } ] }, { "name": "D3D11_COMPOSITING", "description": "Direct3D11 Compositing", "status": "available", "log": [ { "type": "default", "status": "available" } ] }, { "name": "DIRECT2D", "description": "Direct2D", "status": "available", "log": [ { "type": "default", "status": "available" } ] }, { "name": "D3D11_HW_ANGLE", "description": "Direct3D11 hardware ANGLE", "status": "available", "log": [ { "type": "default", "status": "available" } ] }, { "name": "GPU_PROCESS", "description": "GPU Process", "status": "available", "log": [ { "type": "default", "status": "available" } ] }, { "name": "WEBRENDER", "description": "WebRender", "status": "opt-in", "log": [ { "type": "default", "status": "opt-in", "message": "WebRender is an opt-in feature" } ] }, { "name": "OMTP", "description": "Off Main Thread Painting", "status": "available", "log": [ { "type": "default", "status": "available" } ] }, { "name": "ADVANCED_LAYERS", "description": "Advanced Layers", "status": "available", "log": [ { "type": "default", "status": "available" } ] } ], "fallbacks": [] }, "crashGuards": [] }, "extensions": [ { "name": "Bookmark Dupes", "version": "5.7", "isActive": true, "id": "bookmarkdupes@martin-vaeth.org" }, { "name": "Greasemonkey", "version": "4.7", "isActive": true, "id": "{e4a8a97b-f2ed-450b-b12d-ee082ba24781}" }, { "name": "Reddit Enhancement Suite", "version": "5.12.5", "isActive": true, "id": "jid1-xUfzOsOFlzSOXg@jetpack" }, { "name": "RoboForm Password Manager", "version": "8.5.1.2", "isActive": true, "id": "rf-firefox@siber.com" }, { "name": "Screengrab!", "version": "2.16", "isActive": true, "id": "{02450914-cdd9-410f-b1da-db004e18c671}" }, { "name": "Search by Image", "version": "1.17.1", "isActive": true, "id": "{2e5ff8c8-32fe-46d0-9fc8-6b8986621f3c}" }, { "name": "Social Fixer for Facebook", "version": "22.0.0", "isActive": true, "id": "betterfacebook@mattkruse.com" }, { "name": "Tampermonkey", "version": "4.7.5788", "isActive": true, "id": "firefox@tampermonkey.net" }, { "name": "uBlock Origin", "version": "1.16.21.100", "isActive": true, "id": "uBlock0@raymondhill.net" }, { "name": "Context Search", "version": "0.6.4", "isActive": false, "id": "{902D2C4A-457A-4EF9-AD43-7014562929FF}" }, { "name": "DownThemAll!", "version": "3.0.8", "isActive": false, "id": "{DDC359D1-844A-42a7-9AA1-88A850A938A8}" }, { "name": "FlashGot", "version": "1.5.6.14", "isActive": false, "id": "{19503e42-ca3c-4c27-b1e2-9cdb2170ee34}" }, { "name": "Search Engine Creator", "version": "1.0.1", "isActive": false, "id": "{cccd1663-fea2-4098-8d6d-9d1790b76b2d}" } ], "features": [ { "name": "Activity Stream", "version": "2018.08.22.1219-93becf29", "id": "activity-stream@mozilla.org" }, { "name": "Application Update Service Helper", "version": "2.0", "id": "aushelper@mozilla.org" }, { "name": "Firefox Monitor", "version": "2.2", "id": "fxmonitor@mozilla.org" }, { "name": "Firefox Screenshots", "version": "33.0.0", "id": "screenshots@mozilla.org" }, { "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": "Web Compat", "version": "2.0", "id": "webcompat@mozilla.org" }, { "name": "WebCompat Reporter", "version": "1.0.0", "id": "webcompat-reporter@mozilla.org" } ] }
Flags: needinfo?(bugzilla)
To add some information, since the update, there are now a lot of extra items that show up as well in addition to what was already showing up before (all involving the JS frame which is the same one that is causing problems for me to begin with: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] runSafeSyncWithoutClone resource://gre/modules/ExtensionUtils.jsm:68:14 inject/cssPromise< resource://gre/modules/ExtensionContent.jsm:443:13 next self-hosted:1222:9 [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: runSafeSyncWithoutClone :: line 68" data: no] [Show/hide message details.] [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 551" data: no] [Show/hide message details.] [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIAnnotationService.setPageAnnotation]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/DownloadHistory.jsm :: updateMetaData :: line 130" data: no] [Show/hide message details.] this.window.gBrowserInit is undefined ext-browser.js:942 [Show/hide message details.] Unchecked lastError value: Error: An unexpected error occurred Now for some additional amazement, while I was here trying to make this comment, these are the ones that show up specific to Bugzilla: Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src”). Source: call to eval() or related function blocked by CSP. Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src”). Source: (function(a,v,q,P){var c={safeWindow:{},.... bugzilla.mozilla.org:1 Content Security Policy: The page’s settings observed the loading of a resource at self (“script-src”). A CSP report is being sent. Source: call to eval() or related function blocked by CSP. I don't even know why there are eval() calls anyway, there shouldn't be in code anywhere.

@Michal: should we change the component to Networking?

Honza

Flags: needinfo?(michal.novotny)

probably DOM:security

Flags: needinfo?(michal.novotny)
Component: Netmonitor → DOM: Security
Product: DevTools → Core

There's too many potential causes here. Given the exceptions in comment 4 I'm guessing it's an extension issue, but which one? I'd first try in "safe mode" (disabling all customizations) and see if it happens -- you did say something about "site hosted" userscripts, and I don't know what that means but try that first on a plain Firefox. Then add your addons back one at a time to see if you can identify a particular combination where this happens.

I'm not saying it's not a Firefox bug, but we have to be able to reproduce it to investigate it. your listed symptoms aren't specific enough on their own.

The CSP comments that only happen on Bugzilla don't seem relevant to your original symptoms, and those were the only things that tie into "DOM: Security".

Component: DOM: Security → Untriaged
Flags: needinfo?(bugzilla)
Product: Core → Firefox

While I can't provide much in the way of what is causing it beyond what I have reported, as you can see it is very vague and hard to narrow down; I can assure that it is NOT an extension problem, at least not one installed by the user, it may be an extension issue that is related to the force included extensions globally that user can't manage or see even at times.

But so far as we can say the Mozilla globally forced extensions are not the issue, then it is not the issue with other extensions either, since I have tested this and gotten it on a clean created profile with absolutely NOTHING changed from out of the box defaults and you get this. So a fair assumption that it is the browser; however, where? I have no clue.

PS. Yes the CSPs were not related to my issues, just something I saw and as noted, reported it as interesting weirdness, not as supporting the original issue.

Flags: needinfo?(bugzilla)

BTW, as of yesterday update to 64.0.2, it is still happening, wasn't sure if I should update the branch on the bug or not, so if someone feels it is appropriate, please make the change or let me know. Thanks.

Because of the nature of the bug and how generalized it is, I'm going to move this off of Untriaged and onto General. If you can nail something a bit more specific, we can try and redirect this to a more specific component.

Component: Untriaged → General
Flags: needinfo?(bugzilla)

Ok then. I will do what I can.

Flags: needinfo?(bugzilla)

(In reply to GµårÐïåñ from comment #8)

While I can't provide much in the way of what is causing it beyond what I have reported, as you can see it is very vague and hard to narrow down; I can assure that it is NOT an extension problem, at least not one installed by the user, it may be an extension issue that is related to the force included extensions globally that user can't manage or see even at times.

But so far as we can say the Mozilla globally forced extensions are not the issue, then it is not the issue with other extensions either, since I have tested this and gotten it on a clean created profile with absolutely NOTHING changed from out of the box defaults and you get this. So a fair assumption that it is the browser; however, where? I have no clue.

So which errors are the ones you see when you get this problem in safe mode? I would have assumed you wouldn't get the ExtensionUtils.jsm ones but I could be wrong?

Flags: needinfo?(bugzilla)

I get the same error and I have no idea to offer as to why an extension error would be included in safe mode but my guess would only be that it is somehow part of the internal workings?

Flags: needinfo?(bugzilla)

I was asking which error you care about because there were multiple mentioned. I guess the error that you care about is nsITraceableChannel.setNewListener from the summary?

I'll move this to the networking component as Necko devs may at least have ideas of what would cause this.

Component: General → Networking: HTTP
Product: Firefox → Core

I was asking which error you care about because there were multiple mentioned. I guess the error that you care about is nsITraceableChannel.setNewListener from the summary?

Sorry if I misunderstood, it can be related to the tab, networking or the JS engine. Reason I say that is that initially what caused the error that got my attention was that a GM script wouldn't correctly run anymore (aka post WE and 4) and if there was namely a location.href = ... or even a location.assign ... it would hang the tab that initiated it (itself) or nearly have a 90%+ failure (hangs and won't complete the new load), so yes that would imply strongly either a tab state management issue (memory, cache, sandbox, js object, something isn't released right on the same tab reloads or networking, something is not letting something go or terminating in a less than graceful fail.

I hope this helps clarify a bit more, my apologies for missing your intended request initially. Trying to debug this, I started by the usual disable this and that, still persisted, so I decided to disable them all and then try but still no go. So I decided in case there was even the remotest possibility that being disabled is not enough, I ran it in safe mode and that's when the shock came that it does the same thing. The only thing as I said before that I didn't do was to disable the global extensions that are embedded and under the radar within Firefox that are preloaded by Mozilla. Could they be causing this, who knows, I wouldn't know but given there are at least two that have networking and all of them have JS component, it wouldn't surprise me, especially the less than helpful error generated might suggest it was a code that wasn't meant for public consumption per se.

Please let me know if I can provide anything else. Thanks.

(In reply to Matthew N. [:MattN] (PM me if requests are blocking you) from comment #15)

I was asking which error you care about because there were multiple mentioned. I guess the error that you care about is nsITraceableChannel.setNewListener from the summary?

I'll move this to the networking component as Necko devs may at least have ideas of what would cause this.

AFAICT the error is from here
https://searchfox.org/mozilla-central/rev/dc0adc07db3df9431a0876156f50c65d580010cb/netwerk/protocol/http/HttpBaseChannel.cpp#3260

i.e. nsITraceableChannel.setNewListener after OnStartRequest

Put back to General since I don't think this is a necko issue

Component: Networking: HTTP → General
Product: Core → Firefox

Hmm… this seems like an extensions or devtools bug but I'm not sure which… I'll start with DevTools.

It seems like setNewListener is being used when tracing isn't enabled. I see two places where it's disabled: https://searchfox.org/mozilla-central/search?q=mTracingEnabled.*false&case=false&regexp=true&path=

Product: Firefox → DevTools

DevTools does use setNewListener. The most likely reason for the stack trace in comment 0 is, I think, https://searchfox.org/mozilla-central/rev/ee3905439acbf81e9c829ece0b46d09d2fa26c5c/devtools/server/actors/network-monitor/network-observer.js#686

(the file name does not correspond to the stack trace anymore because the file has moved recently).

This code normally only runs when the DevTools toolbox is opened though. There is nuance here: the Network panel does not have to be selected or even initialized for this code to run. As soon as DevTools is open, because of these WebExtension APIs the code I linked to runs, so that a DevTools extension could capture network requests.

Could you please confirm that this only happens when DevTools is opened (even in a separate window)?
Also, I'm a bit confused by one thing that you might help clarify: the bug started with this problem only happening on sites that had greasemonkey (or similar) customizations injected. But later you confirmed that it still happened without any extensions applied.
Does it still happen with a freshly installed Firefox? And if so, does it happen on any URL?

Flags: needinfo?(bugzilla)

Could you please confirm that this only happens when DevTools is opened (even in a separate window)?

Forgive me if I am being stupid but I am not sure how to do that. I mean that when I see this, clearly the DevTool is open because I am accessing the console, hence why I see it. I don't know how to confirm it is happening or not if the window where the only sign of it would show up is not open. Can you please advise.

Also, I'm a bit confused by one thing that you might help clarify: the bug started with this problem only happening on sites that had greasemonkey (or similar) customizations injected. But later you confirmed that it still happened without any extensions applied.

Yes, as I explained before, I was having issues with scripts that had worked fine before and now where hanging on page refreshes, so I spent a lot of time with the console open to try and debug them. This is the reason I came across the errors that I couldn't resolve. It wasn't until later that I wanted to eliminate GM/injected scripts as the issue and so I ran with everything disabled. I thought it would be hard to find them and it was at first but then I realized a pattern and was able to see them happen more on certain types of sites.

Does it still happen with a freshly installed Firefox? And if so, does it happen on any URL?

I will admit the last time I checked was with a couple of release versions back, but to confirm it is still happening or not, try sites that have a HEAVY amount of scripts loading, additionally they are cascaded, meaning they are intentionally bootstrapped to inject later/lazy load after the page has loaded. These would be sites like Bing, Google (services) particularly the angular heavy ones, Facebook, Amazon (services like AWS) with heavy node.js, this seems to be mostly due to how the new type of page designs rely on JS as an engine or ruby style model view and so on. Basically a "full app in a single page style webapps" where they are extremely heavily event driven for everything, meaning pretty much nothing primitive (in terms of pure html) is happening and everything is continually and artificially rendered and displayed.

Flags: needinfo?(bugzilla)

(In reply to GµårÐïåñ from comment #20)

I mean that when I see this, clearly the DevTool is open because I am accessing the console, hence why I see it. I don't know how to confirm it is happening or not if the window where the only sign of it would show up is not open. Can you please advise.

Thanks! One follow-up question though: is the toolbox open (the thing that appears inside the browser window by default, and that contains all the panels including console, inspector, debugger, etc.), or are you using the browser console instead (which can be opened with ctrl+shift+J, it's a separate window, with just the console in it)? It does make a difference for what I said earlier about the network observer running or not.

Flags: needinfo?(bugzilla)

is the toolbox open (the thing that appears inside the browser window by default, and that contains all the panels including console, inspector, debugger, etc.), or are you using the browser console instead (which can be opened with ctrl+shift+J, it's a separate window, with just the console in it)?

I know for certain that it has happened in the toolbox open and all but certain it has also happened in browser console too as I have always used that to debug stuff rather than the web console or than to check network or storage, but I can't say with certainty that I am not conflating with an unrelated use of browser console, I don't want to mislead you. Feeling of certainty here is not equal to actual certainty (where I can point to an actual memory and say emphatically yes).

Flags: needinfo?(bugzilla)

Alright, let's move this to the netmonitor component and confirm it, but mark it as a P5 because of the lack of ability to reproduce.
So, the goal here is to solve this specific error found in the logs:

Handler function threw an exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsITraceableChannel.setNewListener]"

This is coming from https://searchfox.org/mozilla-central/rev/ee3905439acbf81e9c829ece0b46d09d2fa26c5c/devtools/server/actors/network-monitor/network-observer.js#686

And happens when the toolbox is opened and navigating to certain pages.

Status: UNCONFIRMED → NEW
Component: General → Netmonitor
Ever confirmed: true
Priority: -- → P5

This exception happens much more frequently when fission is enabled and we navigate between two pages loaded in distinct processes.
It relates to network-observer.js code listening to request which started before this code starts running.

Whiteboard: dt-fission-m3-mvp

This exception happens quite frequently with Fission enabled as we start observing requests
while the page already start loading. This happens frequently when target switching.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED

I'm doing that because previous patch triggered an eslint warning
about _createNetworkEvent being too complex.

Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b62123491404 Avoid 'NS_ERROR_FAILURE [nsITraceableChannel.setNewListener]' exception when running DevTools. r=bomsy https://hg.mozilla.org/integration/autoland/rev/c392ef336132 Pull out headers and cookies fetching from _createNetworkEvent into a dedicated function. r=bomsy
Fission Milestone: --- → M7
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: