Hanging Chrome Scripts in FF

RESOLVED INCOMPLETE

Status

()

Firefox
General
--
major
RESOLVED INCOMPLETE
3 years ago
2 years ago

People

(Reporter: BesTo, Unassigned)

Tracking

37 Branch
All
Windows
Points:
---

Firefox Tracking Flags

(firefox37 affected, firefox38 affected, firefox39 affected, firefox-esr31 affected, firefox-esr38 affected)

Details

(Reporter)

Description

3 years ago
There are some Chrome Scripts in FF that hangs from time to time.
No clue if it is a problem of the scripts or of the JS Runtime.
So I paste the scripts here for investigation.

Error: Script terminated by timeout at:
ToolbarIconColor.inferFromText@chrome://browser/content/browser.js:18337:25
ToolbarIconColor.handleEvent@chrome://browser/content/browser.js:18305:9

Error: Script terminated by timeout at:
adjustTabstrip@chrome://browser/content/tabbrowser.xml:4341:1
_endRemoveTab@chrome://browser/content/tabbrowser.xml:2293:15
swapBrowsersAndCloseOther@chrome://browser/content/tabbrowser.xml:2463:13
onxbldrop@chrome://browser/content/tabbrowser.xml:5263:11
(Reporter)

Comment 1

3 years ago
Some more ...

Error: Script terminated by timeout at:
_appendNotification@chrome://browser/content/sync/notification.xml:70:22
onNotificationAdded@chrome://browser/content/sync/notification.xml:48:11
Observer.prototype.observe@resource://services-common/observers.js:132:9
this.Observers.notify@resource://services-common/observers.js:93:5
Notifications_add@resource://gre/modules/services-sync/notifications.js:34:5
Notifications_replaceTitle@resource://gre/modules/services-sync/notifications.js:78:5
showLoginError@chrome://browser/content/browser.js:10269:5
SUI_onLoginError@chrome://browser/content/browser.js:10236:5
SUI_observe@chrome://browser/content/browser.js:10633:9
this.BrowserIDManager.prototype._fetchTokenForUser/<@resource://gre/modules/services-sync/browserid_identity.js:615:9
Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:870:21
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:746:7
this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:688:37
Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:688:5
this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:709:7
this.PromiseWalker.completePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:671:7
this.BrowserIDManager.prototype._fetchTokenForUser/getToken/cb@resource://gre/modules/services-sync/browserid_identity.js:550:1
onResponse@resource://gre/modules/services-common/tokenserverclient.js:264:1
onStopRequest@resource://services-common/rest.js:467:7
waitForSyncCallback@resource://services-common/async.js:102:7
makeSpinningCallback/callback.wait@resource://services-common/async.js:145:27
onNotify@resource://gre/modules/services-sync/service.js:1000:7
WrappedNotify@resource://services-sync/util.js:148:21
WrappedLock@resource://services-sync/util.js:103:16
WrappedCatch@resource://services-sync/util.js:77:16
login@resource://gre/modules/services-sync/service.js:1022:12
sync/<@resource://gre/modules/services-sync/service.js:1272:14
WrappedCatch@resource://services-sync/util.js:77:16
sync@resource://gre/modules/services-sync/service.js:1268:5

Error: Script terminated by timeout at:
UpdateUrlbarSearchSplitterState@chrome://browser/content/browser.js:13151:47
OverflowableToolbar.prototype.onOverflow@resource:///modules/CustomizableUI.jsm:4008:5
handleEvent@chrome://browser/content/customizableui/toolbar.xml:93:15
(Reporter)

Comment 2

3 years ago
Error: Script terminated by timeout at:
_showNotification@chrome://global/content/bindings/notification.xml:300:36
removeCurrentNotification@chrome://global/content/bindings/notification.xml:220:13
removeNotification@chrome://global/content/bindings/notification.xml:191:15
close@chrome://browser/content/sync/notification.xml:133:13
onNotificationRemoved@chrome://browser/content/sync/notification.xml:60:15
Observer.prototype.observe@resource://services-common/observers.js:132:9
this.Observers.notify@resource://services-common/observers.js:93:5
Notifications_remove@resource://gre/modules/services-sync/notifications.js:42:7
Notifications_removeAll/<@resource://gre/modules/services-sync/notifications.js:72:24
Notifications_removeAll@resource://gre/modules/services-sync/notifications.js:71:1
SUI_clearError@chrome://browser/content/browser.js:10436:5
SUI_onLoginFinish@chrome://browser/content/browser.js:10214:5
SUI_observe@chrome://browser/content/browser.js:10630:9
this.Observers.notify@resource://services-common/observers.js:93:5
Utils_notify/NotifyMaker/notify@resource://services-sync/util.js:142:9
WrappedNotify@resource://services-sync/util.js:149:11
WrappedLock@resource://services-sync/util.js:103:16
WrappedCatch@resource://services-sync/util.js:77:16
login@resource://gre/modules/services-sync/service.js:1022:12
sync/<@resource://gre/modules/services-sync/service.js:1272:14
WrappedCatch@resource://services-sync/util.js:77:16
sync@resource://gre/modules/services-sync/service.js:1268:5

Error: Script terminated by timeout at:
BookmarkingUI.onWidgetOverflow@chrome://browser/content/browser.js:6483:9
CustomizableUIInternal.notifyListeners@resource:///modules/CustomizableUI.jsm:1961:11
OverflowableToolbar.prototype.onOverflow@resource:///modules/CustomizableUI.jsm:3996:9
handleEvent@chrome://browser/content/customizableui/toolbar.xml:93:15
waitForSyncCallback@resource://services-common/async.js:102:7
Res__request@resource://services-sync/resource.js:405:14
Res_get@resource://services-sync/resource.js:429:12
Sync11Service.prototype._fetchInfo@resource://gre/modules/services-sync/service.js:553:14
sync@resource://services-sync/stages/enginesync.js:77:16
onNotify@resource://gre/modules/services-sync/service.js:1298:7
WrappedNotify@resource://services-sync/util.js:148:21
WrappedLock@resource://services-sync/util.js:103:16
_lockedSync@resource://gre/modules/services-sync/service.js:1288:12
sync/<@resource://gre/modules/services-sync/service.js:1280:14
WrappedCatch@resource://services-sync/util.js:77:16
sync@resource://gre/modules/services-sync/service.js:1268:5

Error: Script terminated by timeout at:
get_accessKey@chrome://global/content/bindings/text.xml:32:13
_showNotification@chrome://global/content/bindings/notification.xml:268:17
appendNotification@chrome://global/content/bindings/notification.xml:173:15
_appendNotification@chrome://browser/content/sync/notification.xml:70:22
onNotificationAdded@chrome://browser/content/sync/notification.xml:48:11
Observer.prototype.observe@resource://services-common/observers.js:132:9
this.Observers.notify@resource://services-common/observers.js:93:5
Notifications_add@resource://gre/modules/services-sync/notifications.js:34:5
Notifications_replaceTitle@resource://gre/modules/services-sync/notifications.js:78:5
showLoginError@chrome://browser/content/browser.js:10269:5
SUI_onLoginError@chrome://browser/content/browser.js:10236:5
SUI_observe@chrome://browser/content/browser.js:10633:9
this.BrowserIDManager.prototype._fetchTokenForUser/<@resource://gre/modules/services-sync/browserid_identity.js:615:9
Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:870:21
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:746:7
this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:688:37
Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:688:5
this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:709:7
this.PromiseWalker.completePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:671:7
_onComplete@resource://services-common/hawkclient.js:231:1
onComplete@resource://services-common/hawkclient.js:272:9
onStopRequest@resource://services-common/rest.js:467:7
waitForSyncCallback@resource://services-common/async.js:102:7
makeSpinningCallback/callback.wait@resource://services-common/async.js:145:27
this.BrowserIDManager.prototype._getAuthenticationHeader@resource://gre/modules/services-sync/browserid_identity.js:656:7
Res__createRequest@resource://services-sync/resource.js:175:20
_doRequest@resource://services-sync/resource.js:200:19
Res__request@resource://services-sync/resource.js:404:7
Res_post@resource://services-sync/resource.js:443:12
SyncEngine.prototype._uploadOutgoing/doUpload<@resource://services-sync/engines.js:1423:20
innerBind@resource://services-sync/util.js:525:42
SyncEngine.prototype._uploadOutgoing@resource://services-sync/engines.js:1471:9
SyncEngine.prototype._sync@resource://services-sync/engines.js:1522:7
wrappedSync@resource://gre/modules/services-sync/engines/bookmarks.js:229:11
_sync@resource://gre/modules/services-sync/engines/bookmarks.js:226:1
WrappedNotify@resource://services-sync/util.js:148:21
Engine.prototype.sync@resource://services-sync/engines.js:668:5
_syncEngine@resource://services-sync/stages/enginesync.js:199:7
sync@resource://services-sync/stages/enginesync.js:149:15
onNotify@resource://gre/modules/services-sync/service.js:1298:7
WrappedNotify@resource://services-sync/util.js:148:21
WrappedLock@resource://services-sync/util.js:103:16
_lockedSync@resource://gre/modules/services-sync/service.js:1288:12
sync/<@resource://gre/modules/services-sync/service.js:1280:14
WrappedCatch@resource://services-sync/util.js:77:16
sync@resource://gre/modules/services-sync/service.js:1268:5

Comment 3

2 years ago
These stacks are pretty random, and the functions aren't ones that really do much, so I don't think this is actionable. That and the fact that there are no STR -> INCOMPLETE for now. If this is easily reproducible and it's actually related to the scripts and JS engine (rather than to nested event loops and alerts that stay open a long time or something like this) then please reopen.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.