Closed Bug 1185339 Opened 10 years ago Closed 8 years ago

100% cpu for brief period triggered by mouse moves

Categories

(Core :: Layout, defect)

40 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kuno.meyer, Unassigned)

References

()

Details

(Keywords: perf, Whiteboard: [closeme 2017-12-20])

User Agent: Mozilla/5.0 (Windows NT 6.0; rv:40.0) Gecko/20100101 Firefox/40.0 Build ID: 20150713153304 Steps to reproduce: 1) go to https://map.geo.admin.ch 2) select "Zeichnen & Messen auf der Karte" (3rd point in the menu on the left side) 3) select "Messen" 4) draw a line by clicking (start) and double clicking (end) into the map --> an altitude profile appears on the bottom part of the page 5) hover/move you mouse for some time over the profile curve, particularly around the right end of the profile. Actual results: After some (few) moves, Firefox becomes unresponsive and goes up to 100% CPU on the UI thread. Expected results: Firefox should remain responsive and should not hang.
User Agent Mozilla/5.0 (Windows NT 6.0; rv:45.0) Gecko/20100101 Firefox/45.0 Nightly 45.0a1 Build ID:20151207030210 and Firefox 42.0 I am unable to reproduce it. Are you still able to reproduce in the latest version ? Would you please try it in fresh install ? Thanks
Component: Untriaged → Layout
Flags: needinfo?(kuno.meyer)
Product: Firefox → Core
Cannot reproduce this any more on my work machine (Win7, Firefox 43.0b9). I will try also this evening at home (Win Vista).
Flags: needinfo?(kuno.meyer)
The issue is still easily reproducible on my home laptop (Win Vista 32bit, Firefox 43.0b9), even with add-ons disabled. Here is an excerpt from "about:support" (printer settings removed): { "application": { "name": "Firefox", "version": "43.0b9", "buildID": "20151203163240", "userAgent": "Mozilla/5.0 (Windows NT 6.0; rv:43.0) Gecko/20100101 Firefox/43.0", "safeMode": false, "updateChannel": "beta", "supportURL": "https://support.mozilla.org/1/firefox/43.0/WINNT/en-US/", "numTotalWindows": 1, "numRemoteWindows": 0, "remoteAutoStart": false }, "modifiedPreferences": { "accessibility.typeaheadfind.flashBar": 0, "accessibility.typeaheadfind": true, "browser.cache.disk.smart_size.first_run": false, "browser.cache.disk.enable": false, "browser.cache.memory.enable": false, "browser.cache.frecency_experiment": 3, "browser.cache.disk.filesystem_reported": 1, "browser.cache.disk.capacity": 102400, "browser.cache.disk.smart_size_cached_value": 640000, "browser.cache.disk.smart_size.enabled": false, "browser.display.use_system_colors": true, "browser.download.folderList": 2, "browser.download.importedFromSqlite": true, "browser.download.manager.alertOnEXEOpen": true, "browser.download.useDownloadDir": false, "browser.history_expire_days.mirror": 180, "browser.places.updateRecentTagsUri": false, "browser.places.smartBookmarksVersion": 7, "browser.places.createdDefaultQueries": true, "browser.places.createdSmartBookmarks": true, "browser.places.importDefaults": false, "browser.places.leftPaneFolderId": 230, "browser.places.migratePostDataAnnotations": false, "browser.places.importBookmarksHTML": false, "browser.search.useDBForOrder": true, "browser.sessionstore.upgradeBackup.latestBuildID": "20151203163240", "browser.sessionstore.resume_from_crash": false, "browser.startup.homepage_override.mstone": "43.0", "browser.startup.homepage": "about:home", "browser.startup.homepage_override.buildID": "20151203163240", "browser.tabs.warnOnClose": false, "browser.tabs.closeWindowWithLastTab": false, "browser.urlbar.userMadeSearchSuggestionsChoice": true, "dom.ipc.plugins.enabled.npietab2.dll": true, "dom.max_script_run_time": 1800, "dom.apps.reset-permissions": true, "dom.w3c_touch_events.expose": false, "dom.mozApps.used": true, "extensions.checkCompatibility.9.0": false, "extensions.checkCompatibility.10.0": false, "extensions.checkCompatibility.11.0": false, "extensions.checkCompatibility": false, "extensions.lastAppVersion": "43.0", "font.internaluseonly.changed": true, "gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-force-d3d11": false, "gfx.crash-guard.d3d11layers.appVersion": "43.0", "gfx.driver-init.appVersion": "42.0", "gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-try-d3d11": true, "gfx.crash-guard.glcontext.gfx.driver-init.direct3d11-angle": true, "gfx.blacklist.suggested-driver-version": "257.21", "gfx.crash-guard.status.d3d9video": 2, "gfx.crash-guard.d3d11layers.driverVersion": "9.18.13.4181", "gfx.direct3d.checkDX10": false, "gfx.crash-guard.d3d11layers.deviceID": "0x065c", "gfx.driver-init.deviceID": "0x065c", "gfx.driver-init.driverVersion": "9.18.13.4181", "gfx.driver-init.status": 2, "gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle": true, "gfx.crash-guard.d3d11layers.feature-d3d11": true, "gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-force-warp": false, "gfx.crash-guard.status.glcontext": 2, "gfx.crash-guard.d3d11layers.feature-d2d": true, "gfx.crash-guard.status.d3d11layers": 2, "gfx.driver-init.feature-d3d11": true, "gfx.driver-init.feature-d2d": true, "gfx.direct3d.last_used_feature_level_idx": 1, "javascript.options.strict": true, "media.gmp-eme-adobe.lastUpdate": 1445158091, "media.gmp-gmpopenh264.lastUpdate": 1447706262, "media.gmp-eme-adobe.abi": "x86-msvc", "media.hardware-video-decoding.failed": false, "media.gmp-gmpopenh264.version": "1.5.1", "media.gmp-manager.lastCheck": 1449682555, "media.gmp-eme-adobe.version": "15", "media.gmp-gmpopenh264.abi": "x86-msvc", "media.gmp-manager.buildID": "20151203163240", "network.prefetch-next": false, "network.cookie.lifetimePolicy": 2, "network.predictor.cleaned-up": true, "network.cookie.prefsMigrated": true, "places.history.expiration.transient_current_max_pages": 79568, "places.last_vacuum": 1288037362, "places.database.lastMaintenance": 1449690802, "places.history.expiration.transient_optimal_database_size": 85166324, "plugin.importedState": true, "plugin.state.npwpf": 0, "plugin.disable_full_page_plugin_for_types": "video/x-mpeg,audio/mpeg,application/pdf", "plugin.state.npcig": 0, "plugin.state.nppdf": 0, "print.printer_Brother_HL-2040_series.print_unwriteable_margin_right": 0, "privacy.cpd.sessions": false, "privacy.donottrackheader.enabled": true, "privacy.cpd.cache": false, "privacy.sanitize.migrateFx3Prefs": true, "security.warn_viewing_mixed": false, "security.OCSP.URL": "", "security.OCSP.signingCA": "Builtin Object Token:IPS CLASE1 root", "storage.vacuum.last.index": 0, "storage.vacuum.last.places.sqlite": 1449690798 }, "lockedPreferences": {}, "graphics": { "numTotalWindows": 1, "numAcceleratedWindows": 1, "windowLayerManagerType": "Direct3D 11", "windowLayerManagerRemote": true, "supportsHardwareH264": "No; MFT_MESSAGE_SET_D3D_MANAGER failed with code C00D6D60", "adapterDescription": "NVIDIA Quadro FX 770M", "adapterVendorID": "0x10de", "adapterDeviceID": "0x065c", "adapterSubsysID": "30e7103c", "adapterRAM": "512", "adapterDrivers": "nvd3dum nvwgf2um,nvwgf2um", "driverVersion": "9.18.13.4181", "driverDate": "8-17-2015", "adapterDescription2": "", "adapterVendorID2": "", "adapterDeviceID2": "", "adapterSubsysID2": "", "adapterRAM2": "", "adapterDrivers2": "", "driverVersion2": "", "driverDate2": "", "isGPU2Active": false, "direct2DEnabled": true, "directWriteEnabled": true, "directWriteVersion": "7.0.6002.23771", "webglRenderer": "Google Inc. -- ANGLE (NVIDIA Quadro FX 770M Direct3D9Ex vs_3_0 ps_3_0)", "info": { "AzureCanvasBackend": "direct2d", "AzureSkiaAccelerated": 0, "AzureFallbackCanvasBackend": "cairo", "AzureContentBackend": "direct2d" } }, "javaScript": { "incrementalGCEnabled": true }, "accessibility": { "isActive": false, "forceDisabled": 0 }, "libraryVersions": { "NSPR": { "minVersion": "4.10.10", "version": "4.10.10" }, "NSS": { "minVersion": "3.20.1 Basic ECC", "version": "3.20.1 Basic ECC" }, "NSSUTIL": { "minVersion": "3.20.1", "version": "3.20.1" }, "NSSSSL": { "minVersion": "3.20.1 Basic ECC", "version": "3.20.1 Basic ECC" }, "NSSSMIME": { "minVersion": "3.20.1 Basic ECC", "version": "3.20.1 Basic ECC" } }, "userJS": { "exists": false }, "crashes": { "submitted": [], "pending": 0 }, "extensions": [ { "name": "Adblock Plus", "version": "2.6.13", "isActive": true, "id": "{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}" }, { "name": "Garmin Communicator", "version": "4.1.0.1-signed", "isActive": true, "id": "{195A3098-0BD5-4e90-AE22-BA1C540AFD1E}" }, { "name": "Image Zoom", "version": "0.6.3.1-signed", "isActive": true, "id": "{1A2D0EC4-75F5-4c91-89C4-3656F6E44B68}" }, { "name": "Open Image In New Tab (update)", "version": "1.1.2.1-signed", "isActive": true, "id": "daigonet@gmail.com" }, { "name": "SQLite Manager", "version": "0.8.3.1-signed", "isActive": true, "id": "SQLiteManager@mrinalkant.blogspot.com" }, { "name": "Stylish", "version": "2.0.3", "isActive": true, "id": "{46551EC9-40F0-4e47-8E18-8E5CF550CFB8}" }, { "name": "Test Pilot", "version": "1.2.3.1-signed", "isActive": true, "id": "testpilot@labs.mozilla.com" }, { "name": "Avast Online Security", "version": "10.3.3.13", "isActive": false, "id": "wrc@avast.com" }, { "name": "Avast SafePrice", "version": "10.3.5.13", "isActive": false, "id": "sp@avast.com" }, { "name": "British English Dictionary", "version": "1.19.1", "isActive": false, "id": "en-GB@dictionaries.addons.mozilla.org" }, { "name": "Microsoft .NET Framework Assistant", "version": "0.0.0", "isActive": false, "id": "{20a82645-c095-46ed-80e3-08825760534b}" } ], "experiments": [ { "id": "flash-protectedmode-beta35@experiments.mozilla.org", "name": "Flash Protected-Mode Testing", "description": "Measuring the effect of Flash protected mode on crashes, hangs, and other browser jank.", "active": false, "endDate": 1421348362162, "detailURL": "", "branch": "control" }, { "id": "fx-searchtest-en-beta31@mozilla.org", "name": "Search Experiment", "description": "Test alternate default search settings for users of Firefox beta.", "active": false, "endDate": 1406971228399, "detailURL": "", "branch": "2" } ] }
User Agent Mozilla/5.0 (Windows NT 6.0; rv:45.0) Gecko/20100101 Firefox/45.0 Nightly 45.0a1 Build ID:20151209095500 and Firefox 42.0 Win Vista 32bit. I am able to reproduce in vista 32bit machine. The page freezes and CPU usage goes up 100% for a while.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → major
Flags: needinfo?(kuno.meyer)
Keywords: perf
Summary: 100% cpu/hang triggered by mouse moves → 100% cpu for brief period triggered by mouse moves
I cannot reproduce using 58.0b8 on thinkpad Abe, can you still reproduce?
Flags: needinfo?(kuno.meyer) → needinfo?(amasresha)
Whiteboard: [closeme 2017-12-20]
Retested this on Windows 10(I have no Vista) with latest Nightly 59.0a1 and could not manage to reproduce it. Firefox is very responsive and there is no CPU spike. Test Environment: Version 59.0a1 Build ID 20171205123322 Update Channel nightly User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
Flags: needinfo?(amasresha)
Ken please reopen if it still reproduces
Severity: major → normal
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.