20,200 instances of "Existing entry in StartupCache." emitted from startupcache/StartupCache.cpp
Categories
(Toolkit :: Startup and Profile System, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox147 | --- | wontfix |
| firefox148 | --- | wontfix |
| firefox149 | --- | fixed |
People
(Reporter: mccr8, Assigned: mconley)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 external file)
20222 WARNING: Existing entry in StartupCache.: file startupcache/StartupCache.cpp:473
This warning is new. It was not present in the top 10 on January 2 2026 when I last looked at frequent warnings.
This is the second most common warning on MacOS, third most common on Linux64 and Windows. The actual warning is very old, and the entire StartupCache.cpp file hasn't changed since December, so I'm not sure what caused this. It appears to be spread out across many tests.
This warning shows up in 34 test suites. A few of the most prevalent:
2043 - test-linux2404-64/debug-mochitest-devtools-chrome-http3-2 dt2
1838 - test-linux2404-64/debug-mochitest-devtools-chrome-1 dt1
1476 - test-linux2404-64/debug-mochitest-browser-chrome-swr-8 bc8
1443 - test-linux2404-64/debug-mochitest-devtools-chrome-10 dt10
1378 - test-linux2404-64/debug-mochitest-browser-chrome-swr-3 bc3
1330 - test-linux2404-64/debug-mochitest-devtools-chrome-http3-1 dt1
1265 - test-linux2404-64/debug-mochitest-devtools-chrome-http3-14 dt14
1155 - test-linux2404-64/debug-mochitest-browser-chrome-swr-4 bc4
976 - test-linux2404-64/debug-mochitest-devtools-chrome-5 dt5
873 - test-linux2404-64/debug-mochitest-devtools-chrome-http3-10 dt10
It shows up in 4055 tests. A few of the most prevalent:
111 - devtools/client/framework/test/browser_toolbox_many_toggles.js
54 - browser/components/preferences/tests/browser_privacy_dnsoverhttps.js
50 - browser/components/tabbrowser/test/browser/tabs/browser_tab_preview.js
49 - devtools/client/framework/test/browser_toolbox_hosts.js
32 - browser/components/preferences/tests/browser_search_firefoxSuggest.js
28 - devtools/client/debugger/test/mochitest/integration/browser_dbg-features-source-tree.js
28 - devtools/client/debugger/test/mochitest/integration/browser_dbg-integration-reloading-uncompressed-sourcemaps.js
24 - devtools/client/debugger/test/mochitest/integration/browser_dbg-features-source-text-content.js
22 - devtools/client/inspector/rules/test/browser_rules_keybindings.js
22 - devtools/client/debugger/test/mochitest/integration/browser_dbg-integration-reloading-compressed-sourcemaps.js
| Reporter | ||
Comment 1•9 months ago
|
||
It looks like this is a regression from bug 2012009. Nika pointed me at the places that used the startup cache, and one of them was the place that changed in that bug. Then I confirmed it by looking at logs before and after that landed.
Nika suggested: "Maybe this stops requesting them from the cache, but didn't stop writing to the cache. So we end up writing to the cache over & over again every time it's loaded"
I'm not sure if this is a problem or not.
Comment 2•9 months ago
|
||
Set release status flags based on info from the regressing bug 2012009
:mconley, since you are the author of the regressor, bug 2012009, could you take a look?
For more information, please visit BugBot documentation.
Updated•9 months ago
|
| Reporter | ||
Comment 3•9 months ago
|
||
(Morally, this is a "task" and not a "defect" as there's no user impact, but Bugzilla won't let you make a task a regression, I think.)
| Assignee | ||
Comment 4•9 months ago
|
||
mozJSModuleLoader already seems to have a check to ensure that the script is allowed
to be read from the cache before it attempts to write it, but mozJSSubScriptLoader
does not.
Updated•9 months ago
|
| Reporter | ||
Comment 5•9 months ago
|
||
Thanks for the quick fix!
| Assignee | ||
Comment 7•9 months ago
|
||
ni? for tcampbell for https://phabricator.services.mozilla.com/D282819#9810012.
Comment 10•9 months ago
|
||
| bugherder | ||
Comment 11•9 months ago
|
||
The patch landed in nightly and beta is affected.
:mconley, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox148towontfix.
For more information, please visit BugBot documentation.
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
| Assignee | ||
Comment 12•9 months ago
•
|
||
This is debug-build only logspam, I don't think it's really worthy of an uplift, tbh.
Description
•