installs.ini and profiles.ini should not be read in a row using main thread I/O during early startup
Categories
(Toolkit :: Startup and Profile System, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox66 | --- | unaffected |
firefox67 | + | fixed |
firefox68 | + | fixed |
People
(Reporter: florian, Assigned: mossop)
References
(Depends on 1 open bug, Blocks 1 open bug, Regression)
Details
(Keywords: regression, Whiteboard: patch under review [fxperf:p1])
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
https://perfht.ml/2DT02Uv shows that we do (expensive in that case) main thread I/O during early startup on installs.ini immediately followed by main thread I/O on profiles.ini
These 2 files are in the same folder, it seems a single file should be enough.
From #fx-team:
Mossop: If you run an older version of Firefox that doesn't know about the installs data it will throw away all that data when it writes profiles.ini
florian: could we write all data to the new file, so that we don't have to open both in new versions of Firefox?
Mossop: florian: Then we'd need some mechanism to sync changes from the old file if older versions of Firefox change the data.
florian: how long do we need to support these old versions?
Mossop: Not really sure. At the very least until 68 has ridden to ESR, probably a little longer.
florian: why does it matter if old versions of Firefox write more data to the old file?
Mossop: If they create new profiles or delete old ones the new versions won't know about that
florian: how about: 1. always write the new data in both files for now. 2. At startup read only profiles.ini and open installs.ini only if the new data was missing in profiles.ini 3. In a distant future, get rid of installs.ini ?
Mossop: Hmm, yeah that could work
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 1•6 years ago
|
||
[Tracking Requested - why for this release]: startup performance regression from bug 1474285 which landed in the 67 cycle.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 2•6 years ago
|
||
Per comment 1, this is a startup performance regression from bug 1474285. Dave, will this get fixed by the 67 soft freeze (Mar 11)?
Assignee | ||
Comment 3•6 years ago
|
||
(In reply to Neha Kochar [:neha] from comment #2)
Per comment 1, this is a startup performance regression from bug 1474285. Dave, will this get fixed by the 67 soft freeze (Mar 11)?
I'm not sure, it's quite a lot of work
Assignee | ||
Comment 4•6 years ago
|
||
What are the consequences of not being able to fix this by March 11th? I wasn't aware that this was needed.
Comment 5•6 years ago
|
||
(In reply to Dave Townsend [:mossop] (he/him) from comment #4)
What are the consequences of not being able to fix this by March 11th? I wasn't aware that this was needed.
I asked because this is a startup performance regression for 67 (soft freeze March 11) and it came up in the regression triage meeting. I asked Pascal (67 RelMan) and he mentioned that we can take a safe uplift in beta (March 18) if necessary to fix the perf regression.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 6•6 years ago
|
||
Originally we stored the new information about installation defaults in
installs.ini since older versions of Firefox would throw away any new data in
profiles.ini any time they made changes to the profiles. That does however mean
we have to load two files on startup.
This changes things so that we save all the data in profiles.ini as well as a
version tag and still save the install data into installs.ini. An older version
will throw away the install data and version tag from profiles.ini but leave
installs.ini alone. On startup if the version tag is gone from profiles.ini then
we reload the install data from installs.ini and put it back into profiles.ini.
At some point in the future where we don't care about supporting older versions
of Firefox we can just drop installs.ini entirely.
A lot of the changes here involve moving to loading profiles.ini into an
in-memory ini, keeping it up to date and flushing it to disk. This means that we
no longer throw away any information in the ini file that this version does not
understand allowing the possibility of adding new data to this file in the
future.
Updated•6 years ago
|
Comment 8•6 years ago
|
||
Backed out changeset d4feb17faf01 (Bug 1527704) for linting failure in test_missing_profilesini.js
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=234168231&repo=mozilla-inbound&lineNumber=272
Backout: https://hg.mozilla.org/integration/mozilla-inbound/rev/c6ec16f6a398a139ccb9dfc19138d6367f009c29
Comment 10•6 years ago
|
||
Backed out changeset e1c9790cd3be (Bug 1527704) for failures in test_refresh_firefox.py
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=234185027&repo=mozilla-inbound&lineNumber=66620
Backout: https://hg.mozilla.org/integration/mozilla-inbound/rev/e1d7c51b1d3fe854fb41404729ab72d919f397e4
Comment 11•6 years ago
|
||
Backed out changeset 1c16d4ce9107 (Bug 1527704) for build bustages in builds/worker/workspace/build/src/toolkit/profile/nsToolkitProfileService.cpp CLOSED TREE
Log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=235991874&repo=autoland&lineNumber=22338
[task 2019-03-26T01:16:56.360Z] 01:16:56 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/js/ductwork/debugger'
[task 2019-03-26T01:16:56.360Z] 01:16:56 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/toolkit/system/gnome'
[task 2019-03-26T01:16:56.360Z] 01:16:56 INFO - toolkit/system/gnome/nsGnomeModule.o
[task 2019-03-26T01:16:56.361Z] 01:16:56 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/toolkit/system/gnome'
[task 2019-03-26T01:16:56.364Z] 01:16:56 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/js/ductwork/debugger'
[task 2019-03-26T01:16:56.364Z] 01:16:56 INFO - js/ductwork/debugger/JSDebugger.o
[task 2019-03-26T01:16:56.364Z] 01:16:56 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/js/ductwork/debugger'
[task 2019-03-26T01:16:56.380Z] 01:16:56 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/media/mtransport/test'
[task 2019-03-26T01:16:56.383Z] 01:16:56 INFO - /builds/worker/workspace/build/src/sccache2/sccache /builds/worker/workspace/build/src/clang/bin/clang++ -o transport_unittests.o -c -I/builds/worker/workspace/build/src/obj-firefox/dist/stl_wrappers -I/builds/worker/workspace/build/src/obj-firefox/dist/system_wrappers -include /builds/worker/workspace/build/src/config/gcc_hidden.h -DDEBUG=1 -DOS_POSIX=1 -DOS_LINUX=1 -DHAVE_STRDUP -DNR_SOCKET_IS_VOID_PTR -DSCTP_DEBUG -DLINUX -D__Userspace_os_Linux=1 -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/builds/worker/workspace/build/src/media/mtransport/test -I/builds/worker/workspace/build/src/obj-firefox/media/mtransport/test -I/builds/worker/workspace/build/src/obj-firefox/ipc/ipdl/_ipdlheaders -I/builds/worker/workspace/build/src/ipc/chromium/src -I/builds/worker/workspace/build/src/ipc/glue -I/builds/worker/workspace/build/src/media/mtransport/third_party/nrappkit/src/port/linux/include -I/builds/worker/workspace/build/src/media/mtransport -I/builds/worker/workspace/build/src/media/mtransport/third_party -I/builds/worker/workspace/build/src/media/mtransport/third_party/nICEr/src/crypto -I/builds/worker/workspace/build/src/media/mtransport/third_party/nICEr/src/ice -I/builds/worker/workspace/build/src/media/mtransport/third_party/nICEr/src/net -I/builds/worker/workspace/build/src/media/mtransport/third_party/nICEr/src/stun -I/builds/worker/workspace/build/src/media/mtransport/third_party/nICEr/src/util -I/builds/worker/workspace/build/src/media/mtransport/third_party/nrappkit/src/event -I/builds/worker/workspace/build/src/media/mtransport/third_party/nrappkit/src/log -I/builds/worker/workspace/build/src/media/mtransport/third_party/nrappkit/src/plugin -I/builds/worker/workspace/build/src/media/mtransport/third_party/nrappkit/src/port/generic/include -I/builds/worker/workspace/build/src/media/mtransport/third_party/nrappkit/src/registry -I/builds/worker/workspace/build/src/media/mtransport/third_party/nrappkit/src/share -I/builds/worker/workspace/build/src/media/mtransport/third_party/nrappkit/src/stats -I/builds/worker/workspace/build/src/media/mtransport/third_party/nrappkit/src/util -I/builds/worker/workspace/build/src/media/mtransport/third_party/nrappkit/src/util/libekr -I/builds/worker/workspace/build/src/netwerk/sctp/src -I/builds/worker/workspace/build/src/xpcom/tests -I/builds/worker/workspace/build/src/obj-firefox/dist/include -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nspr -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /builds/worker/workspace/build/src/obj-firefox/mozilla-config.h -Qunused-arguments -U_FORTIFY_SOURCE -fno-common -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++1z-compat -Wc++2a-compat -Wcomma -Wimplicit-fallthrough -Werror=non-literal-null-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-compare -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=return-std-move -Wno-error=atomic-alignment -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-unknown-warning-option -Wno-return-type-c-linkage -D_GLIBCXX_USE_CXX11_ABI=0 -fno-sized-deallocation -fsanitize=address -fcrash-diagnostics-dir=/builds/worker/artifacts -U_FORTIFY_SOURCE -fno-common -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -Xclang -load -Xclang /builds/worker/workspace/build/src/obj-firefox/build/clang-plugin/libclang-plugin.so -Xclang -add-plugin -Xclang moz-check -O1 -fno-omit-frame-pointer -funwind-tables -Werror -Wno-error=shadow -MD -MP -MF .deps/transport_unittests.o.pp /builds/worker/workspace/build/src/media/mtransport/test/transport_unittests.cpp
[task 2019-03-26T01:16:56.383Z] 01:16:56 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/media/mtransport/test'
[task 2019-03-26T01:16:56.383Z] 01:16:56 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/toolkit/system/gnome'
[task 2019-03-26T01:16:56.383Z] 01:16:56 INFO - toolkit/system/gnome/nsSystemAlertsService.o
[task 2019-03-26T01:16:56.383Z] 01:16:56 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/toolkit/system/gnome'
[task 2019-03-26T01:16:56.419Z] 01:16:56 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/gfx/thebes'
[task 2019-03-26T01:16:56.425Z] 01:16:56 INFO - /builds/worker/workspace/build/src/sccache2/sccache /builds/worker/workspace/build/src/clang/bin/clang++ -o PrintTargetThebes.o -c -I/builds/worker/workspace/build/src/obj-firefox/dist/stl_wrappers -I/builds/worker/workspace/build/src/obj-firefox/dist/system_wrappers -include /builds/worker/workspace/build/src/config/gcc_hidden.h -DDEBUG=1 -DOS_POSIX=1 -DOS_LINUX=1 -DMOZ_ENABLE_FREETYPE -DGRAPHITE2_STATIC -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/builds/worker/workspace/build/src/gfx/thebes -I/builds/worker/workspace/build/src/obj-firefox/gfx/thebes -I/builds/worker/workspace/build/src/obj-firefox/ipc/ipdl/_ipdlheaders -I/builds/worker/workspace/build/src/ipc/chromium/src -I/builds/worker/workspace/build/src/ipc/glue -I/builds/worker/workspace/build/src/dom/base -I/builds/worker/workspace/build/src/dom/xml -I/builds/worker/workspace/build/src/gfx/skia -I/builds/worker/workspace/build/src/gfx/skia/skia/include/config -I/builds/worker/workspace/build/src/gfx/skia/skia/include/core -I/builds/worker/workspace/build/src/gfx/skia/skia/include/docs -I/builds/worker/workspace/build/src/gfx/skia/skia/include/gpu -I/builds/worker/workspace/build/src/gfx/skia/skia/include/utils -I/builds/worker/workspace/build/src/obj-firefox/dist/include -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nspr -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /builds/worker/workspace/build/src/obj-firefox/mozilla-config.h -Qunused-arguments -U_FORTIFY_SOURCE -fno-common -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++1z-compat -Wc++2a-compat -Wcomma -Wimplicit-fallthrough -Werror=non-literal-null-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-compare -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=return-std-move -Wno-error=atomic-alignment -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-unknown-warning-option -Wno-return-type-c-linkage -D_GLIBCXX_USE_CXX11_ABI=0 -fno-sized-deallocation -fsanitize=address -fcrash-diagnostics-dir=/builds/worker/artifacts -U_FORTIFY_SOURCE -fno-common -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -Xclang -load -Xclang /builds/worker/workspace/build/src/obj-firefox/build/clang-plugin/libclang-plugin.so -Xclang -add-plugin -Xclang moz-check -O1 -fno-omit-frame-pointer -funwind-tables -Werror -I/builds/worker/workspace/build/src/obj-firefox/dist/include/cairo -I/builds/worker/workspace/build/src/widget/gtk/compat-gtk3 -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gtk-3.0/unix-print -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -MD -MP -MF .deps/PrintTargetThebes.o.pp /builds/worker/workspace/build/src/gfx/thebes/PrintTargetThebes.cpp
[task 2019-03-26T01:16:56.425Z] 01:16:56 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/gfx/thebes'
[task 2019-03-26T01:16:56.425Z] 01:16:56 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/gfx/thebes'
[task 2019-03-26T01:16:56.426Z] 01:16:56 INFO - gfx/thebes/gfxDrawable.o
[task 2019-03-26T01:16:56.426Z] 01:16:56 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/gfx/thebes'
[task 2019-03-26T01:16:56.426Z] 01:16:56 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/toolkit/profile'
[task 2019-03-26T01:16:56.426Z] 01:16:56 INFO - /builds/worker/workspace/build/src/sccache2/sccache /builds/worker/workspace/build/src/clang/bin/clang++ -o Unified_cpp_toolkit_profile0.o -c -I/builds/worker/workspace/build/src/obj-firefox/dist/stl_wrappers -I/builds/worker/workspace/build/src/obj-firefox/dist/system_wrappers -include /builds/worker/workspace/build/src/config/gcc_hidden.h -DDEBUG=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/builds/worker/workspace/build/src/toolkit/profile -I/builds/worker/workspace/build/src/obj-firefox/toolkit/profile -I/builds/worker/workspace/build/src/toolkit/xre -I/builds/worker/workspace/build/src/obj-firefox/dist/include -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nspr -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /builds/worker/workspace/build/src/obj-firefox/mozilla-config.h -Qunused-arguments -U_FORTIFY_SOURCE -fno-common -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++1z-compat -Wc++2a-compat -Wcomma -Wimplicit-fallthrough -Werror=non-literal-null-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-compare -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=return-std-move -Wno-error=atomic-alignment -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-unknown-warning-option -Wno-return-type-c-linkage -D_GLIBCXX_USE_CXX11_ABI=0 -fno-sized-deallocation -fsanitize=address -fcrash-diagnostics-dir=/builds/worker/artifacts -U_FORTIFY_SOURCE -fno-common -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -Xclang -load -Xclang /builds/worker/workspace/build/src/obj-firefox/build/clang-plugin/libclang-plugin.so -Xclang -add-plugin -Xclang moz-check -O1 -fno-omit-frame-pointer -funwind-tables -Werror -MD -MP -MF .deps/Unified_cpp_toolkit_profile0.o.pp /builds/worker/workspace/build/src/obj-firefox/toolkit/profile/Unified_cpp_toolkit_profile0.cpp
[task 2019-03-26T01:16:56.426Z] 01:16:56 INFO - In file included from /builds/worker/workspace/build/src/obj-firefox/toolkit/profile/Unified_cpp_toolkit_profile0.cpp:11:
[task 2019-03-26T01:16:56.426Z] 01:16:56 ERROR - /builds/worker/workspace/build/src/toolkit/profile/nsToolkitProfileService.cpp:1685:8: error: Unused "kungFuDeathGrip" 'RefPtr<nsToolkitProfile>' objects constructed from temporary values are prohibited
[task 2019-03-26T01:16:56.426Z] 01:16:56 INFO - for (RefPtr<nsToolkitProfile> profile : mProfiles) {
[task 2019-03-26T01:16:56.426Z] 01:16:56 INFO - ^
[task 2019-03-26T01:16:56.426Z] 01:16:56 INFO - /builds/worker/workspace/build/src/toolkit/profile/nsToolkitProfileService.cpp:1685:41: note: Please switch all accesses to this value to go through 'profile', or explicitly pass 'profile' to mozilla::Unused
[task 2019-03-26T01:16:56.426Z] 01:16:56 INFO - for (RefPtr<nsToolkitProfile> profile : mProfiles) {
[task 2019-03-26T01:16:56.426Z] 01:16:56 INFO - ^
[task 2019-03-26T01:16:56.426Z] 01:16:56 INFO - 1 error generated.
[task 2019-03-26T01:16:56.426Z] 01:16:56 INFO - /builds/worker/workspace/build/src/config/rules.mk:805: recipe for target 'Unified_cpp_toolkit_profile0.o' failed
[task 2019-03-26T01:16:56.426Z] 01:16:56 ERROR - make[4]: *** [Unified_cpp_toolkit_profile0.o] Error 1
[task 2019-03-26T01:16:56.427Z] 01:16:56 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/toolkit/profile'
[task 2019-03-26T01:16:56.427Z] 01:16:56 INFO - /builds/worker/workspace/build/src/config/recurse.mk:74: recipe for target 'toolkit/profile/target' failed
[task 2019-03-26T01:16:56.427Z] 01:16:56 ERROR - make[3]: *** [toolkit/profile/target] Error 2
[task 2019-03-26T01:16:56.427Z] 01:16:56 INFO - make[3]: *** Waiting for unfinished jobs....
[task 2019-03-26T01:16:56.427Z] 01:16:56 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/gfx/thebes'
[task 2019-03-26T01:16:56.427Z] 01:16:56 INFO - gfx/thebes/gfxFT2FontBase.o
[task 2019-03-26T01:16:56.427Z] 01:16:56 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/gfx/thebes'
[task 2019-03-26T01:16:56.427Z] 01:16:56 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/toolkit/system/gnome'
[task 2019-03-26T01:16:56.427Z] 01:16:56 INFO - /builds/worker/workspace/build/src/sccache2/sccache /builds/worker/workspace/build/src/clang/bin/clang++ -o nsAlertsIconListener.o -c -I/builds/worker/workspace/build/src/obj-firefox/dist/stl_wrappers -I/builds/worker/workspace/build/src/obj-firefox/dist/system_wrappers -include /builds/worker/workspace/build/src/config/gcc_hidden.h -DDEBUG=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/builds/worker/workspace/build/src/toolkit/system/gnome -I/builds/worker/workspace/build/src/obj-firefox/toolkit/system/gnome -I/builds/worker/workspace/build/src/toolkit/components/build -I/builds/worker/workspace/build/src/obj-firefox/dist/include -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nspr -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /builds/worker/workspace/build/src/obj-firefox/mozilla-config.h -Qunused-arguments -U_FORTIFY_SOURCE -fno-common -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++1z-compat -Wc++2a-compat -Wcomma -Wimplicit-fallthrough -Werror=non-literal-null-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-compare -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=return-std-move -Wno-error=atomic-alignment -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-unknown-warning-option -Wno-return-type-c-linkage -D_GLIBCXX_USE_CXX11_ABI=0 -fno-sized-deallocation -fsanitize=address -fcrash-diagnostics-dir=/builds/worker/artifacts -U_FORTIFY_SOURCE -fno-common -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -Xclang -load -Xclang /builds/worker/workspace/build/src/obj-firefox/build/clang-plugin/libclang-plugin.so -Xclang -add-plugin -Xclang moz-check -O1 -fno-omit-frame-pointer -funwind-tables -Werror -pthread -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/builds/worker/workspace/build/src/widget/gtk/compat-gtk3 -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gtk-3.0/unix-print -MD -MP -MF .deps/nsAlertsIconListener.o.pp /builds/worker/workspace/build/src/toolkit/system/gnome/nsAlertsIconListener.cpp
Updated•6 years ago
|
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=236237241&repo=autoland&lineNumber=9850
Backout link: https://hg.mozilla.org/integration/autoland/rev/3f6b0e9f77927285eb0958947a30301ddc30b131
23:34:01 INFO - TEST-START | toolkit/profile/xpcshell/test_remove.js
23:39:01 WARNING - TEST-UNEXPECTED-TIMEOUT | toolkit/profile/xpcshell/test_remove.js | Test timed out
23:39:01 INFO - TEST-INFO took 300001ms
23:39:01 INFO - >>>>>>>
23:39:01 INFO - PID 13184 | Unable to load \untrusted-startup-test-dll.dll; LoadLibraryW failed: 126[13184, Main Thread] WARNING: Cannot get app build ID. Defaulting to canary.: file z:/build/build/src/toolkit/components/telemetry/core/TelemetryOrigin.cpp, line 201
23:39:01 INFO - PID 13184 | Couldn't convert chrome URL: chrome://branding/locale/brand.properties
23:39:01 INFO - PID 13184 | [13184, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file z:/build/build/src/netwerk/base/nsIOService.cpp, line 942
23:39:01 INFO - PID 13184 | [13184, Main Thread] WARNING: Failed to get directory to cache.: file z:/build/build/src/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp, line 81
23:39:01 INFO - PID 13184 | [13184, Main Thread] WARNING: Failed to get directory to cache.: file z:/build/build/src/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp, line 81
23:39:01 INFO - PID 13184 | [13184, Main Thread] WARNING: Failed to get directory to cache.: file z:/build/build/src/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp, line 81
23:39:01 INFO - PID 13184 | [13184, Main Thread] WARNING: Failed to get directory to cache.: file z:/build/build/src/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp, line 81
23:39:01 INFO - PID 13184 | [13184, Main Thread] WARNING: Failed to get directory to cache.: file z:/build/build/src/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp, line 81
23:39:01 INFO - PID 13184 | [13184, Main Thread] WARNING: Couldn't get the user appdata directory. Crash events may not be produced.: file z:/build/build/src/toolkit/crashreporter/nsExceptionHandler.cpp, line 2528
23:39:01 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
23:39:01 INFO - (xpcshell/head.js) | test run_next_test 0 pending (2)
23:39:01 INFO - (xpcshell/head.js) | test MAIN run_test finished (2)
23:39:01 INFO - running event loop
23:39:01 INFO - PID 13184 | [13184, Main Thread] WARNING: Could not get the program name for a cubeb stream.: 'NS_SUCCEEDED(rv)', file z:/build/build/src/dom/media/CubebUtils.cpp, line 359
23:39:01 INFO - toolkit/profile/xpcshell/test_remove.js | Starting
23:39:01 INFO - (xpcshell/head.js) | test pending (2)
23:39:01 INFO - TEST-PASS | toolkit/profile/xpcshell/test_remove.js | - profileCount should be correct. - 0 == 0
Reporter | ||
Updated•6 years ago
|
Comment 16•6 years ago
|
||
Comment 17•6 years ago
|
||
Backed out changeset 8d043fdfac71 (Bug 1527704) for build bustages in nsToolkitProfileService.cpp CLOSED TREE
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=236473233&repo=autoland&lineNumber=21796
Backout: https://hg.mozilla.org/integration/autoland/rev/5e22dbefa98b9bd78c8a4fff69764b443ff6c74f
Comment 18•6 years ago
|
||
Comment 19•6 years ago
|
||
bugherder |
Comment 20•6 years ago
|
||
Updated•6 years ago
|
Comment 21•6 years ago
|
||
Thanks for fixing this, Dave. This is marked tracking 67. Is the patch safe for uplift to 67 beta? If yes, could you please make a beta uplift request?
Assignee | ||
Comment 22•6 years ago
|
||
(In reply to Neha Kochar [:neha] from comment #21)
Thanks for fixing this, Dave. This is marked tracking 67. Is the patch safe for uplift to 67 beta? If yes, could you please make a beta uplift request?
At this stage I think it is safe, I want to give it a day on nightly first though.
Assignee | ||
Comment 23•6 years ago
|
||
Comment on attachment 9049302 [details]
Bug 1527704: Store install information in profiles.ini and use installs.ini as a backup in case an earlier Firefox throws it away. r=froydnj
Beta/Release Uplift Approval Request
- Feature/Bug causing the regression: Bug 1474285
- User impact if declined: Users will see a small increase in startup time.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Medium
- Why is the change risky/not risky? (and alternatives if risky): This changes how we store information about the user's profile. Automated tests do verify pretty well that everything is working though.
- String changes made/needed: N/A
Comment 24•6 years ago
|
||
Comment on attachment 9049302 [details]
Bug 1527704: Store install information in profiles.ini and use installs.ini as a backup in case an earlier Firefox throws it away. r=froydnj
Perf fix, part of the Dedicated Profiles per install work which ships in 67, with tests and on Nightly for a week with no reported regression. Uplift accepted for 67 beta 8, thanks.
Comment 25•6 years ago
|
||
bugherder uplift |
Updated•6 years ago
|
Updated•6 years ago
|
Updated•3 years ago
|
Description
•