Closed Bug 1478065 Opened 6 years ago Closed 6 years ago

Massive Xpcshell debug failure on 2018-07-24 caused by bug 1477254

Categories

(Thunderbird :: Preferences, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1477904

People

(Reporter: jorgk-bmo, Unassigned)

References

Details

As is known from bug 1449357, TB overrides some M-C preferences, like network.auth.subresource-img-cross-origin-http-auth-allow.

This has caused problems in the past, and now it has hit again. We have a complete loss of testing in debug mode since all test fail like so:

TEST-UNEXPECTED-FAIL | modules/libpref/test/unit_ipc/test_locked_prefs.js | xpcshell return code: 0

PID 3908 | Assertion failure: GetPref<StripAtomic<bool>>("network.auth.subresource-img-cross-origin-http-auth-allow", false) == StaticPrefs::network_auth_subresource_img_cross_origin_http_auth_allow() (Incorrect cached value for network.auth.subresource-img-cross-origin-http-auth-allow), at /builds/worker/workspace/build/src/obj-thunderbird/dist/include/mozilla/StaticPrefList.h:1012

Here's a stack:

 0:01.89 pid:10680 #01: PreferencesConstructor (c:\\mozilla-source\\comm-central\\modules\\libpref\\preferences.cpp:6077)
 0:01.90 pid:10680 #02: nsComponentManagerImpl::CreateInstanceByContractID (c:\\mozilla-source\\comm-central\\xpcom\\components\\nscomponentmanager.cpp:1152)
 0:01.90 pid:10680 #03: nsComponentManagerImpl::GetServiceByContractID (c:\\mozilla-source\\comm-central\\xpcom\\components\\nscomponentmanager.cpp:1511)
 0:01.90 pid:10680 #04: nsGetServiceByContractID::operator() (c:\\mozilla-source\\comm-central\\xpcom\\components\\nscomponentmanagerutils.cpp:281)
 0:01.90 pid:10680 #05: nsCOMPtr<nsIPrefService>::assign_from_gs_contractid (c:\\mozilla-source\\comm-central\\obj-x86_64-pc-mingw32\\dist\\include\\nscomptr.h:1222)
 0:01.90 pid:10680 #06: mozilla::Preferences::InitStaticMembers (c:\\mozilla-source\\comm-central\\modules\\libpref\\preferences.cpp:3966)
 0:01.90 pid:10680 #07: mozilla::Preferences::RegisterCallbackImpl<char const * __ptr64 * __ptr64> (c:\\mozilla-source\\comm-central\\modules\\libpref\\preferences.cpp:5435)
 0:01.90 pid:10680 #08: mozilla::Preferences::RegisterCallbacks (c:\\mozilla-source\\comm-central\\modules\\libpref\\preferences.cpp:5478)

First see in my unrelated try run here:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=8e36d3830fa99b5a28ee637730922dc829fa9fc8&selectedJob=189769620
Flags: needinfo?(n.nethercote)
Flags: needinfo?(kmaglione+bmo)
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(n.nethercote)
Flags: needinfo?(kmaglione+bmo)
Resolution: --- → DUPLICATE
Thanks, Kris.
You need to log in before you can comment on or make changes to this bug.