Closed Bug 1382657 Opened 7 years ago Closed 7 years ago

A coding exception was thrown in a Promise resolution callback

Categories

(DevTools :: Inspector, defect)

54 Branch
x86_64
Linux
defect
Not set
critical

Tracking

(firefox57 fix-optional)

RESOLVED DUPLICATE of bug 1390455
Tracking Status
firefox57 --- fix-optional

People

(Reporter: eric, Unassigned, NeedInfo)

Details

(Keywords: hang)

Attachments

(2 files)

Attached file about_support.txt
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID: 20170612122310

Steps to reproduce:

Ctrl+shift+C

Move mouse to console and navigate to inspector element.

Happened on two PC's with same OS (ubuntu 16.04) and Firefox.

Nom: Firefox
Version: 54.0
Identifiant de compilation: 20170612122310
Agent utilisateur: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Système d’exploitation: Linux 4.4.0-83-generic
Fenêtres multi-processus: 0/1 (Désactivé par des modules complémentaires)
Clé Google: Présente
Clé du service de localisation de Mozilla: Manquante
Mode sans échec: false

see : about_support.txt



Actual results:

Firefox freeze with this message (launch with terminal) - no crash report : 

*************************
A coding exception was thrown in a Promise resolution callback.
See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise

Full message: TypeError: rx.exec(...) is null
Full stack: getTextAtLineColumn@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1681:14
getRuleText@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1568:7
getAuthoredCssText/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1235:20
process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:922:23
walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:806:7
scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:742:11

*************************
*************************
A coding exception was thrown and uncaught in a Task.

Full message: TypeError: rx.exec(...) is null
Full stack: getTextAtLineColumn@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1681:14
getRuleText@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1568:7
getAuthoredCssText/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1235:20
process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:922:23
walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:806:7
scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:742:11

*************************
console.error: 
  Message: TypeError: rx.exec(...) is null
  Stack:
    getTextAtLineColumn@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1681:14
getRuleText@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1568:7
getAuthoredCssText/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1235:20
process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:922:23
walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:806:7
scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:742:11

getTextAtLineColumn@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1681:14
getRuleText@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1568:7
getAuthoredCssText/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1235:20
process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:922:23
walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:806:7
scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:742:11




Expected results:

Navigate throught code inspector without error
Component: Untriaged → Developer Tools: Inspector
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Could you say what site you were trying to inspect?  That would be helpful.
Flags: needinfo?(eric)
(In reply to Tom Tromey :tromey from comment #1)
> Could you say what site you were trying to inspect?  That would be helpful.

Should I send you the url in private.

It's a beta website version ?

Thanks,

Eric
Flags: needinfo?(eric)
(In reply to eric from comment #2)
> (In reply to Tom Tromey :tromey from comment #1)
> > Could you say what site you were trying to inspect?  That would be helpful.
> 
> Should I send you the url in private.
> It's a beta website version ?

That would be fine, if you don't mind me trying it out a few times... thanks.
That's done
Thanks.
I haven't seen it yet... not sure what happened, but if you come on irc or slack you could DM it to me instead.
Or, try emailing again.
Sorry,
Mail it again.
Thanks
I still haven't gotten any email.
Could you come on irc instead?
Hello,

The url has just been sent throught IRC #bugzilla to :tromey

Thanks,

Eric
Crashed just after closed IRC
Severity: normal → critical
Keywords: hang
I'm not sure I understand what's wrong in that screenshot.

I tried the test site but couldn't reproduce the problem.
I used nightly from sometime last week.
(In reply to Tom Tromey :tromey from comment #10)
> I'm not sure I understand what's wrong in that screenshot.

Oh, I see one tab (not in the foreground) says it crashed... is that it?
Hello,

In the screenshot, firefox and devtools are hanged  (it's happened a few minute after we closed IRC).

If start in a term console, this message is thrown when firefox and devtools come back to life (have to wait some time) :

*************************
A coding exception was thrown in a Promise resolution callback.
See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise

Full message: TypeError: rx.exec(...) is null
Full stack: getTextAtLineColumn@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1681:14
getRuleText@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1568:7
getAuthoredCssText/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1235:20
process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:922:23
walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:806:7
scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:742:11

*************************
*************************
A coding exception was thrown and uncaught in a Task.

Full message: TypeError: rx.exec(...) is null
Full stack: getTextAtLineColumn@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1681:14
getRuleText@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1568:7
getAuthoredCssText/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1235:20
process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:922:23
walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:806:7
scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:742:11

*************************
console.error: 
  Message: TypeError: rx.exec(...) is null
  Stack:
    getTextAtLineColumn@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1681:14
getRuleText@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1568:7
getAuthoredCssText/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1235:20
process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:922:23
walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:806:7
scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:742:11

getTextAtLineColumn@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1681:14
getRuleText@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1568:7
getAuthoredCssText/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1235:20
process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:922:23
walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:806:7
scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:742:11
I think this was probably bug 1390455.
Can you try a newer nightly and see if it works now?
Flags: needinfo?(eric)
Hello,

I will do it in the next hours,

Thanks,

Eric
Hello,

I've tested it on the page that was crashing.

57.0a1 (2017-09-19) (64 bits)

I'm not able to reproduce it.

No trace in console (terminal).

Thanks,

Eric
Thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: