Open
Bug 1870590
Opened 1 year ago
Updated 11 months ago
Unreported heap-unclassified memory for mozilla::safebrowsing::Classifier::UpdateTableV4
Categories
(Toolkit :: Safe Browsing, defect, P3)
Toolkit
Safe Browsing
Tracking
()
NEW
People
(Reporter: whimboo, Unassigned)
Details
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0 ID:20231210093611
I can see unreported memory usage in about:memory for the parent process right after startup. Running with DMD enabled the following unreported Safe Browsing related stack is printed:
Unreported {
52,189 blocks in heap block record 1 of 30,359
13,360,384 bytes (12,942,872 requested / 417,512 slop)
Individual block sizes: 256 x 52,189
3.19% of the heap (3.19% cumulative)
7.36% of unreported (7.36% cumulative)
Allocated at {
#01: replace_malloc(unsigned long) (/Applications/FirefoxNightly.app/Contents/MacOS/libmozglue.dylib + 0xa4f7c)
#02: moz_xmalloc (/Applications/FirefoxNightly.app/Contents/MacOS/libmozglue.dylib + 0x6ff78)
#03: nsTArrayInfallibleAllocator::ResultTypeProxy nsTArray_base<nsTArrayInfallibleAllocator, nsTArray_RelocateUsingMemutils>::EnsureCapacityImpl<nsTArrayInfallibleAllocator>(unsigned long, unsigned long) (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x32e9c4)
#04: nsUrlClassifierPrefixSet::MakePrefixSet(unsigned int const*, unsigned int) (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x56b2e44)
#05: nsUrlClassifierPrefixSet::SetPrefixes(unsigned int const*, unsigned int) (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x1a0f0c4)
#06: mozilla::safebrowsing::VariableLengthPrefixSet::SetPrefixes(nsClassHashtable<nsIntegralHashKey<unsigned int, 0>, nsTString<char>>&) (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x56afed4)
#07: mozilla::safebrowsing::LookupCacheV4::Build(nsClassHashtable<nsIntegralHashKey<unsigned int, 0>, nsTString<char>>&) (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x56bd89c)
#08: mozilla::safebrowsing::Classifier::UpdateTableV4(nsTArray<RefPtr<mozilla::safebrowsing::TableUpdate>>&, nsTSubstring<char> const&) (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x56bbe1c)
}
}
Comment 1•11 months ago
|
||
The severity field is not set for this bug.
:dlee, could you have a look please?
For more information, please visit BugBot documentation.
Flags: needinfo?(dlee)
Updated•11 months ago
|
Severity: -- → S4
Flags: needinfo?(dlee)
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•