Closed Bug 1596981 Opened 5 years ago Closed 4 years ago

Fission: JS errors running automated tests - InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" {file: "resource:///actors/ContentMetaChild.jsm line 167}

Categories

(Firefox :: New Tab Page, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Firefox 75
Tracking Status
firefox-esr68 --- unaffected
firefox73 --- disabled
firefox74 --- disabled
firefox75 --- fixed

People

(Reporter: Gijs, Assigned: Gijs)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

ContentMetaChild.jsm seems like it creates a timer at https://searchfox.org/mozilla-central/rev/b58e44b74ef2b4a44bdfb4140c2565ac852504be/browser/actors/ContentMetaChild.jsm#160-167 and then by the time the timer fires, it's possible the actor has become dead, which throws errors.

We should catch this case somehow.

Seen both locally and on infra when applying my patch from https://bugzilla.mozilla.org/show_bug.cgi?id=1586139

Tentatively moving all bugs whose summaries mention "Fission" (or other Fission-related keywords) but are not assigned to a Fission Milestone to the "?" triage milestone.

This will generate a lot of bugmail, so you can filter your bugmail for the following UUID and delete them en masse:

0ee3c76a-bc79-4eb2-8d12-05dc0b68e732

Fission Milestone: --- → M4.1
Priority: -- → P3
Component: General → New Tab Page
Priority: P3 → --

The priority flag is not set for this bug.
:thecount, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(sdowne)
Priority: -- → P3
Flags: needinfo?(sdowne)

Neil, this bug is a blocker for Fission's current milestone (M4.1 aka "fix all the mochitests"), but it's currently unassigned. The Fission team is hoping teams will fix their mochitests for Fission before the end of Q1 (75 or 76 Nightly).

Will your team be able to prioritize this bug for Q1? If you don't think this mochitest failure should block shipping Fission, just let me know.

If you have questions for Fission engineers, you can reach them in the #fission channel on Slack or Riot.

Flags: needinfo?(enndeakin)

I've just written up a fix here, but just to check, does it really make sense for this to block M4.1 ? I don't think any tests are not passing, it's just log errors.

Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Flags: needinfo?(enndeakin) → needinfo?(cpeterson)
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/8281579dbb8b
catch the case where actors go away while a timer is pending in ContentMetaChild.jsm, r=NeilDeakin
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 75

(In reply to :Gijs (he/him) from comment #6)

I've just written up a fix here, but just to check, does it really make sense for this to block M4.1 ? I don't think any tests are not passing, it's just log errors.

In that case, I will clear the Fission Milestone. Since these errors didn't break any tests, fixing them would not necessarily block any particular Fission milestone.

Fission Milestone: M4.1 → ---
Flags: needinfo?(cpeterson)
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: