Closed Bug 1823377 Opened 2 years ago Closed 2 years ago

Attempt to write pref media.gmp-manager.buildID after XPCOMShutdownThreads started

Categories

(Core :: Audio/Video: GMP, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1799418

People

(Reporter: jstutte, Unassigned)

References

Details

From bug 1754104 comment 6:

Looking at the JS stack we print out now right before the assertion:

[task 2022-02-07T22:27:33.621Z] 22:27:33     INFO - GECKO(8376) | pref_SetPref: Attempt to write pref media.gmp-manager.buildID after XPCOMShutdownThreads started.
[task 2022-02-07T22:27:33.622Z] 22:27:33     INFO - GECKO(8376) | 0 setString(aKey = ""media.gmp-manager.buildID"", aVal = ""20220207215603"") ["resource://gre/modules/GMPUtils.jsm":219:19]
[task 2022-02-07T22:27:33.622Z] 22:27:33     INFO - GECKO(8376) |     this = [object Object]
[task 2022-02-07T22:27:33.623Z] 22:27:33     INFO - GECKO(8376) | 1 _versionchangeOccurred() ["resource://gre/modules/GMPInstallManager.jsm":352:13]
[task 2022-02-07T22:27:33.623Z] 22:27:33     INFO - GECKO(8376) |     this = [object Object]
[task 2022-02-07T22:27:33.624Z] 22:27:33     INFO - GECKO(8376) | 2 simpleCheckAndInstall() ["resource://gre/modules/GMPInstallManager.jsm":365:13]
[task 2022-02-07T22:27:33.625Z] 22:27:33     INFO - GECKO(8376) |     this = [object Object]
[task 2022-02-07T22:27:33.625Z] 22:27:33     INFO - GECKO(8376) | 3 checkForUpdates/<() ["resource://gre/modules/addons/GMPProvider.jsm":541:26]
[task 2022-02-07T22:27:33.626Z] 22:27:33     INFO - GECKO(8376) | 4 notify("[xpconnect wrapped nsITimer @ 0x26e54ff8ca0 (native @ 0x26e54f887a0)]") ["resource://gre/modules/Timer.jsm":62:16]
[task 2022-02-07T22:27:33.626Z] 22:27:33     INFO - GECKO(8376) |     this = [object Object]

IIUC we come from this timer which can be started with GMP_CHECK_DELAY == 10s. I think it is reasonable to assume that the callback needs to check if it is still desirable to do anything once the timer fires. Or we need to cancel that timer in time (by an observer).

Ups, we already extracted this case.

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1799418
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.