Closed Bug 811021 Opened 12 years ago Closed 12 years ago

DMD flags double-report of CSS data in B2G gallery app

Categories

(Core :: CSS Parsing and Computation, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: justin.lebar+bug, Assigned: bzbarsky)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This is in the gallery app in a B2G build with bug 768901 fixed. If you want to reproduce this locally, note that B2G-desktop on Linux gets photos for the gallery from the directory returned by $ xdg-user-dir PICTURES If this is your home directory, then B2G must scan your whole home directory looking for photos, which may take a long time. You can modify the directory returned here by running $ xdg-user-dirs-update --set PICTURES ~/path/to/pictures Gaia has some sample pictures in $GAIA_ROOT/media-samples you may want to crib. ==16799== Double report of heap block 0x18FB2B80: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x54D68C0: mozilla::css::Loader::CreateSheet(nsIURI*, nsIContent*, nsIPrincipal*, mozilla::CORSMode, bool, bool, nsAString_internal const&, mozilla::css::StyleSheetState&, bool*, nsCSSStyleSheet**) (mozalloc.h:200) ==16799== by 0x54D8140: mozilla::css::Loader::InternalLoadNonDocumentSheet(nsIURI*, bool, bool, nsIPrincipal*, nsCString const&, nsCSSStyleSheet**, nsICSSLoaderObserver*, mozilla::CORSMode) (Loader.cpp:2183) ==16799== by 0x54D803C: mozilla::css::Loader::LoadSheetSync(nsIURI*, bool, bool, nsCSSStyleSheet**) (Loader.cpp:2114) ==16799== by 0x55F4D8C: nsDocument::EnsureCatalogStyleSheet(char const*) (nsDocument.cpp:3604) ==16799== by 0x5B2452B: NS_NewSVGElement(nsIContent**, already_AddRefed<nsINodeInfo>, mozilla::dom::FromParser) (nsSVGElementFactory.cpp:223) ==16799== by 0x563249E: NS_NewElement(nsIContent**, already_AddRefed<nsINodeInfo>, mozilla::dom::FromParser) (nsNameSpaceManager.cpp:212) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x55008BA: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:866) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x5603391: nsDocument::DocSizeOfExcludingThis(nsWindowSizes*) const (nsDocument.cpp:9648) ==16799== by 0x5871760: nsGlobalWindow::SizeOfIncludingThis(nsWindowSizes*) const (nsGlobalWindow.cpp:10733) ==16799== by 0x58B3043: CollectWindowReports(nsGlobalWindow*, nsWindowSizes*, nsTHashtable<nsUint64HashKey>*, nsDataHashtable<nsUint64HashKey, nsCString>*, nsIMemoryMultiReporterCallback*, nsISupports*) (nsWindowMemoryReporter.cpp:170) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x55008BA: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:866) ==16799== by 0x603F934: SizeOfEntryExcludingThisEnumerator(PLDHashTable*, PLDHashEntryHdr*, unsigned int, void*) (pldhash.cpp:773) ==16799== by 0x603F80F: PL_DHashTableEnumerate (pldhash.cpp:717) ==16799== by 0x603F901: PL_DHashTableSizeOfExcludingThis (pldhash.cpp:787) ==16799== by 0x54D8838: nsBaseHashtable<mozilla::URIPrincipalAndCORSModeHashKey, nsRefPtr<nsCSSStyleSheet>, nsCSSStyleSheet*>::SizeOfExcludingThis(unsigned long (*)(mozilla::URIPrincipalAndCORSModeHashKey*, nsRefPtr<nsCSSStyleSheet> const&, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsBaseHashtable.h:288) ==16799== by 0x54D87AB: mozilla::css::Loader::SizeOfIncludingThis(unsigned long (*)(void const*)) const (Loader.cpp:2455) ==16799== by 0x5603404: nsDocument::DocSizeOfExcludingThis(nsWindowSizes*) const (nsDocument.cpp:9666)
Blocks: DarkMatter
If it helps, here are a bunch more CSS double-reports, all of which I expect have the same root cause as the double-report above. ==16799== Double report of heap block 0x18FB2C20: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x5500E68: nsCSSStyleSheet::nsCSSStyleSheet(mozilla::CORSMode) (mozalloc.h:200) ==16799== by 0x54D68CF: mozilla::css::Loader::CreateSheet(nsIURI*, nsIContent*, nsIPrincipal*, mozilla::CORSMode, bool, bool, nsAString_internal const&, mozilla::css::StyleSheetState&, bool*, nsCSSStyleSheet**) (Loader.cpp:1207) ==16799== by 0x54D8140: mozilla::css::Loader::InternalLoadNonDocumentSheet(nsIURI*, bool, bool, nsIPrincipal*, nsCString const&, nsCSSStyleSheet**, nsICSSLoaderObserver*, mozilla::CORSMode) (Loader.cpp:2183) ==16799== by 0x54D803C: mozilla::css::Loader::LoadSheetSync(nsIURI*, bool, bool, nsCSSStyleSheet**) (Loader.cpp:2114) ==16799== by 0x55F4D8C: nsDocument::EnsureCatalogStyleSheet(char const*) (nsDocument.cpp:3604) ==16799== by 0x5B2452B: NS_NewSVGElement(nsIContent**, already_AddRefed<nsINodeInfo>, mozilla::dom::FromParser) (nsSVGElementFactory.cpp:223) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x5500914: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1005) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x5603391: nsDocument::DocSizeOfExcludingThis(nsWindowSizes*) const (nsDocument.cpp:9648) ==16799== by 0x5871760: nsGlobalWindow::SizeOfIncludingThis(nsWindowSizes*) const (nsGlobalWindow.cpp:10733) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x5500914: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1005) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== by 0x603F934: SizeOfEntryExcludingThisEnumerator(PLDHashTable*, PLDHashEntryHdr*, unsigned int, void*) (pldhash.cpp:773) ==16799== by 0x603F80F: PL_DHashTableEnumerate (pldhash.cpp:717) ==16799== by 0x603F901: PL_DHashTableSizeOfExcludingThis (pldhash.cpp:787) ==16799== by 0x54D8838: nsBaseHashtable<mozilla::URIPrincipalAndCORSModeHashKey, nsRefPtr<nsCSSStyleSheet>, nsCSSStyleSheet*>::SizeOfExcludingThis(unsigned long (*)(mozilla::URIPrincipalAndCORSModeHashKey*, nsRefPtr<nsCSSStyleSheet> const&, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsBaseHashtable.h:288) ==16799== by 0x54D87AB: mozilla::css::Loader::SizeOfIncludingThis(unsigned long (*)(void const*)) const (Loader.cpp:2455) ==16799== ==16799== Double report of heap block 0x18FB9960: ==16799== Allocated ==16799== at 0x402B4A1: realloc (vg_replace_malloc.c:662) ==16799== by 0x603D9AB: nsVoidArray::SizeTo(int) (nsVoidArray.cpp:166) ==16799== by 0x603DB4C: nsVoidArray::GrowArrayBy(int) (nsVoidArray.cpp:263) ==16799== by 0x603DE17: nsVoidArray::InsertElementAt(void*, int) (nsVoidArray.cpp:425) ==16799== by 0x603AC9E: nsCOMArray_base::InsertObjectAt(nsISupports*, int) (nsCOMArray.cpp:49) ==16799== by 0x51C48FE: nsCOMArray_base::AppendObject(nsISupports*) (nsCOMArray.h:53) ==16799== by 0x54ECA05: nsCOMArray<mozilla::css::Rule>::AppendObject(mozilla::css::Rule*) (nsCOMArray.h:229) ==16799== by 0x5501CFC: nsCSSStyleSheet::AppendStyleRule(mozilla::css::Rule*) (nsCSSStyleSheet.cpp:1470) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x603E1F5: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:749) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x5603391: nsDocument::DocSizeOfExcludingThis(nsWindowSizes*) const (nsDocument.cpp:9648) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x603E1F5: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:749) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== by 0x603F934: SizeOfEntryExcludingThisEnumerator(PLDHashTable*, PLDHashEntryHdr*, unsigned int, void*) (pldhash.cpp:773) ==16799== by 0x603F80F: PL_DHashTableEnumerate (pldhash.cpp:717) ==16799== by 0x603F901: PL_DHashTableSizeOfExcludingThis (pldhash.cpp:787) ==16799== by 0x54D8838: nsBaseHashtable<mozilla::URIPrincipalAndCORSModeHashKey, nsRefPtr<nsCSSStyleSheet>, nsCSSStyleSheet*>::SizeOfExcludingThis(unsigned long (*)(mozilla::URIPrincipalAndCORSModeHashKey*, nsRefPtr<nsCSSStyleSheet> const&, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsBaseHashtable.h:288) ==16799== ==16799== Double report of heap block 0x18FB60D0: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x54EEEB7: (anonymous namespace)::CSSParserImpl::ProcessNameSpace(nsString const&, nsString const&, void (*)(mozilla::css::Rule*, void*), void*) (mozalloc.h:200) ==16799== by 0x54ECD1E: (anonymous namespace)::CSSParserImpl::ParseNameSpaceRule(void (*)(mozilla::css::Rule*, void*), void*) (nsCSSParser.cpp:2133) ==16799== by 0x54EC616: (anonymous namespace)::CSSParserImpl::ParseAtRule(void (*)(mozilla::css::Rule*, void*), void*, bool) (nsCSSParser.cpp:1560) ==16799== by 0x54DD5AF: (anonymous namespace)::CSSParserImpl::ParseSheet(nsAString_internal const&, nsIURI*, nsIURI*, nsIPrincipal*, unsigned int, bool) (nsCSSParser.cpp:937) ==16799== by 0x54DD462: nsCSSParser::ParseSheet(nsAString_internal const&, nsIURI*, nsIURI*, nsIPrincipal*, unsigned int, bool) (nsCSSParser.cpp:10049) ==16799== by 0x54D636D: mozilla::css::Loader::ParseSheet(nsAString_internal const&, mozilla::css::SheetLoadData*, bool&) (Loader.cpp:1632) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== by 0x603F934: SizeOfEntryExcludingThisEnumerator(PLDHashTable*, PLDHashEntryHdr*, unsigned int, void*) (pldhash.cpp:773) ==16799== by 0x603F80F: PL_DHashTableEnumerate (pldhash.cpp:717) ==16799== ==16799== Double report of heap block 0x18FB6170: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x54EC82A: (anonymous namespace)::CSSParserImpl::ParseRuleSet(void (*)(mozilla::css::Rule*, void*), void*, bool) (mozalloc.h:200) ==16799== by 0x54DD5D7: (anonymous namespace)::CSSParserImpl::ParseSheet(nsAString_internal const&, nsIURI*, nsIURI*, nsIPrincipal*, unsigned int, bool) (nsCSSParser.cpp:941) ==16799== by 0x54DD462: nsCSSParser::ParseSheet(nsAString_internal const&, nsIURI*, nsIURI*, nsIPrincipal*, unsigned int, bool) (nsCSSParser.cpp:10049) ==16799== by 0x54D636D: mozilla::css::Loader::ParseSheet(nsAString_internal const&, mozilla::css::SheetLoadData*, bool&) (Loader.cpp:1632) ==16799== by 0x54D5FDB: mozilla::css::SheetLoadData::OnStreamComplete(nsIUnicharStreamLoader*, nsISupports*, tag_nsresult, nsAString_internal const&) (Loader.cpp:964) ==16799== by 0x520D0A6: nsUnicharStreamLoader::OnStopRequest(nsIRequest*, nsISupports*, tag_nsresult) (nsUnicharStreamLoader.cpp:92) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x5548844: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1518) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x5548844: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1518) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== by 0x603F934: SizeOfEntryExcludingThisEnumerator(PLDHashTable*, PLDHashEntryHdr*, unsigned int, void*) (pldhash.cpp:773) ==16799== ==16799== Double report of heap block 0x18FB3110: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x54E989B: (anonymous namespace)::CSSParserImpl::ParseSelectorGroup(nsCSSSelectorList*&) (mozalloc.h:200) ==16799== by 0x54E9787: (anonymous namespace)::CSSParserImpl::ParseSelectorList(nsCSSSelectorList*&, unsigned short) (nsCSSParser.cpp:2802) ==16799== by 0x54EC7B5: (anonymous namespace)::CSSParserImpl::ParseRuleSet(void (*)(mozilla::css::Rule*, void*), void*, bool) (nsCSSParser.cpp:2763) ==16799== by 0x54DD5D7: (anonymous namespace)::CSSParserImpl::ParseSheet(nsAString_internal const&, nsIURI*, nsIURI*, nsIPrincipal*, unsigned int, bool) (nsCSSParser.cpp:941) ==16799== by 0x54DD462: nsCSSParser::ParseSheet(nsAString_internal const&, nsIURI*, nsIURI*, nsIPrincipal*, unsigned int, bool) (nsCSSParser.cpp:10049) ==16799== by 0x54D636D: mozilla::css::Loader::ParseSheet(nsAString_internal const&, mozilla::css::SheetLoadData*, bool&) (Loader.cpp:1632) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x5546175: nsCSSSelectorList::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:916) ==16799== by 0x5548860: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1519) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x5546175: nsCSSSelectorList::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:916) ==16799== by 0x5548860: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1519) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== ==16799== Double report of heap block 0x18FB3150: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x55477A2: nsCSSSelectorList::AddSelector(unsigned short) (mozalloc.h:200) ==16799== by 0x54E9A36: (anonymous namespace)::CSSParserImpl::ParseSelector(nsCSSSelectorList*, unsigned short) (nsCSSParser.cpp:3805) ==16799== by 0x54E98E5: (anonymous namespace)::CSSParserImpl::ParseSelectorGroup(nsCSSSelectorList*&) (nsCSSParser.cpp:2867) ==16799== by 0x54E9787: (anonymous namespace)::CSSParserImpl::ParseSelectorList(nsCSSSelectorList*&, unsigned short) (nsCSSParser.cpp:2802) ==16799== by 0x54EC7B5: (anonymous namespace)::CSSParserImpl::ParseRuleSet(void (*)(mozilla::css::Rule*, void*), void*, bool) (nsCSSParser.cpp:2763) ==16799== by 0x54DD5D7: (anonymous namespace)::CSSParserImpl::ParseSheet(nsAString_internal const&, nsIURI*, nsIURI*, nsIPrincipal*, unsigned int, bool) (nsCSSParser.cpp:941) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x5547665: nsCSSSelector::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:826) ==16799== by 0x554618A: nsCSSSelectorList::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:917) ==16799== by 0x5548860: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1519) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x5547665: nsCSSSelector::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:826) ==16799== by 0x554618A: nsCSSSelectorList::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:917) ==16799== by 0x5548860: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1519) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== ==16799== Double report of heap block 0x18FB3320: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x54DE43E: (anonymous namespace)::CSSParserImpl::ParseDeclarationBlock(unsigned int) (mozalloc.h:200) ==16799== by 0x54EC7F8: (anonymous namespace)::CSSParserImpl::ParseRuleSet(void (*)(mozilla::css::Rule*, void*), void*, bool) (nsCSSParser.cpp:2775) ==16799== by 0x54DD5D7: (anonymous namespace)::CSSParserImpl::ParseSheet(nsAString_internal const&, nsIURI*, nsIURI*, nsIPrincipal*, unsigned int, bool) (nsCSSParser.cpp:941) ==16799== by 0x54DD462: nsCSSParser::ParseSheet(nsAString_internal const&, nsIURI*, nsIURI*, nsIPrincipal*, unsigned int, bool) (nsCSSParser.cpp:10049) ==16799== by 0x54D636D: mozilla::css::Loader::ParseSheet(nsAString_internal const&, mozilla::css::SheetLoadData*, bool&) (Loader.cpp:1632) ==16799== by 0x54D5FDB: mozilla::css::SheetLoadData::OnStreamComplete(nsIUnicharStreamLoader*, nsISupports*, tag_nsresult, nsAString_internal const&) (Loader.cpp:964) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x54D1CF6: mozilla::css::Declaration::SizeOfIncludingThis(unsigned long (*)(void const*)) const (Declaration.cpp:1038) ==16799== by 0x5548874: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1520) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x54D1CF6: mozilla::css::Declaration::SizeOfIncludingThis(unsigned long (*)(void const*)) const (Declaration.cpp:1038) ==16799== by 0x5548874: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1520) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== ==16799== Double report of heap block 0x18FB3370: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x54CF8C3: nsCSSExpandedDataBlock::Compress(nsCSSCompressedDataBlock**, nsCSSCompressedDataBlock**) (nsCSSDataBlock.cpp:367) ==16799== by 0x54D0310: mozilla::css::Declaration::CompressFrom(nsCSSExpandedDataBlock*) (Declaration.h:96) ==16799== by 0x54DE4AE: (anonymous namespace)::CSSParserImpl::ParseDeclarationBlock(unsigned int) (nsCSSParser.cpp:3924) ==16799== by 0x54EC7F8: (anonymous namespace)::CSSParserImpl::ParseRuleSet(void (*)(mozilla::css::Rule*, void*), void*, bool) (nsCSSParser.cpp:2775) ==16799== by 0x54DD5D7: (anonymous namespace)::CSSParserImpl::ParseSheet(nsAString_internal const&, nsIURI*, nsIURI*, nsIPrincipal*, unsigned int, bool) (nsCSSParser.cpp:941) ==16799== by 0x54DD462: nsCSSParser::ParseSheet(nsAString_internal const&, nsIURI*, nsIURI*, nsIPrincipal*, unsigned int, bool) (nsCSSParser.cpp:10049) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x54CF352: nsCSSCompressedDataBlock::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSDataBlock.cpp:231) ==16799== by 0x54D1D34: mozilla::css::Declaration::SizeOfIncludingThis(unsigned long (*)(void const*)) const (Declaration.cpp:1040) ==16799== by 0x5548874: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1520) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x54CF352: nsCSSCompressedDataBlock::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSDataBlock.cpp:231) ==16799== by 0x54D1D34: mozilla::css::Declaration::SizeOfIncludingThis(unsigned long (*)(void const*)) const (Declaration.cpp:1040) ==16799== by 0x5548874: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1520) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== ==16799== Double report of heap block 0x18FB62E0: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x54CF8EF: nsCSSExpandedDataBlock::Compress(nsCSSCompressedDataBlock**, nsCSSCompressedDataBlock**) (nsCSSDataBlock.cpp:371) ==16799== by 0x54D0310: mozilla::css::Declaration::CompressFrom(nsCSSExpandedDataBlock*) (Declaration.h:96) ==16799== by 0x54DE4AE: (anonymous namespace)::CSSParserImpl::ParseDeclarationBlock(unsigned int) (nsCSSParser.cpp:3924) ==16799== by 0x54EC7F8: (anonymous namespace)::CSSParserImpl::ParseRuleSet(void (*)(mozilla::css::Rule*, void*), void*, bool) (nsCSSParser.cpp:2775) ==16799== by 0x54DD5D7: (anonymous namespace)::CSSParserImpl::ParseSheet(nsAString_internal const&, nsIURI*, nsIURI*, nsIPrincipal*, unsigned int, bool) (nsCSSParser.cpp:941) ==16799== by 0x54DD462: nsCSSParser::ParseSheet(nsAString_internal const&, nsIURI*, nsIURI*, nsIPrincipal*, unsigned int, bool) (nsCSSParser.cpp:10049) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x54CF352: nsCSSCompressedDataBlock::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSDataBlock.cpp:231) ==16799== by 0x54D1D5B: mozilla::css::Declaration::SizeOfIncludingThis(unsigned long (*)(void const*)) const (Declaration.cpp:1041) ==16799== by 0x5548874: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1520) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x54CF352: nsCSSCompressedDataBlock::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSDataBlock.cpp:231) ==16799== by 0x54D1D5B: mozilla::css::Declaration::SizeOfIncludingThis(unsigned long (*)(void const*)) const (Declaration.cpp:1041) ==16799== by 0x5548874: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1520) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== ==16799== Double report of heap block 0x18FB6440: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x54EAA23: (anonymous namespace)::CSSParserImpl::ParseNegatedSimpleSelector(int&, nsCSSSelector&) (mozalloc.h:200) ==16799== by 0x54EA3F7: (anonymous namespace)::CSSParserImpl::ParsePseudoSelector(int&, nsCSSSelector&, bool, nsIAtom**, nsAtomList**, nsCSSPseudoElements::Type*) (nsCSSParser.cpp:3417) ==16799== by 0x54E9ADF: (anonymous namespace)::CSSParserImpl::ParseSelector(nsCSSSelectorList*, unsigned short) (nsCSSParser.cpp:3825) ==16799== by 0x54E98E5: (anonymous namespace)::CSSParserImpl::ParseSelectorGroup(nsCSSSelectorList*&) (nsCSSParser.cpp:2867) ==16799== by 0x54E9787: (anonymous namespace)::CSSParserImpl::ParseSelectorList(nsCSSSelectorList*&, unsigned short) (nsCSSParser.cpp:2802) ==16799== by 0x54EC7B5: (anonymous namespace)::CSSParserImpl::ParseRuleSet(void (*)(mozilla::css::Rule*, void*), void*, bool) (nsCSSParser.cpp:2763) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x5547665: nsCSSSelector::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:826) ==16799== by 0x55476CB: nsCSSSelector::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:833) ==16799== by 0x554618A: nsCSSSelectorList::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:917) ==16799== by 0x5548860: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1519) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x5547665: nsCSSSelector::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:826) ==16799== by 0x55476CB: nsCSSSelector::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:833) ==16799== by 0x554618A: nsCSSSelectorList::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:917) ==16799== by 0x5548860: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1519) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== ==16799== Double report of heap block 0x18FB64B0: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x5546A72: nsCSSSelector::AddPseudoClass(nsCSSPseudoClasses::Type) (mozalloc.h:200) ==16799== by 0x54EA2C9: (anonymous namespace)::CSSParserImpl::ParsePseudoSelector(int&, nsCSSSelector&, bool, nsIAtom**, nsAtomList**, nsCSSPseudoElements::Type*) (nsCSSParser.cpp:3448) ==16799== by 0x54EAADB: (anonymous namespace)::CSSParserImpl::ParseNegatedSimpleSelector(int&, nsCSSSelector&) (nsCSSParser.cpp:3563) ==16799== by 0x54EA3F7: (anonymous namespace)::CSSParserImpl::ParsePseudoSelector(int&, nsCSSSelector&, bool, nsIAtom**, nsAtomList**, nsCSSPseudoElements::Type*) (nsCSSParser.cpp:3417) ==16799== by 0x54E9ADF: (anonymous namespace)::CSSParserImpl::ParseSelector(nsCSSSelectorList*, unsigned short) (nsCSSParser.cpp:3825) ==16799== by 0x54E98E5: (anonymous namespace)::CSSParserImpl::ParseSelectorGroup(nsCSSSelectorList*&) (nsCSSParser.cpp:2867) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x55460F2: nsPseudoClassList::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:194) ==16799== by 0x55476B7: nsCSSSelector::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:832) ==16799== by 0x55476CB: nsCSSSelector::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:833) ==16799== by 0x554618A: nsCSSSelectorList::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:917) ==16799== by 0x5548860: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1519) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x55460F2: nsPseudoClassList::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:194) ==16799== by 0x55476B7: nsCSSSelector::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:832) ==16799== by 0x55476CB: nsCSSSelector::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:833) ==16799== by 0x554618A: nsCSSSelectorList::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:917) ==16799== by 0x5548860: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1519) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== ==16799== Double report of heap block 0x18FB8AB0: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x54ECDAC: (anonymous namespace)::CSSParserImpl::ParseMediaRule(void (*)(mozilla::css::Rule*, void*), void*) (mozalloc.h:200) ==16799== by 0x54EC616: (anonymous namespace)::CSSParserImpl::ParseAtRule(void (*)(mozilla::css::Rule*, void*), void*, bool) (nsCSSParser.cpp:1560) ==16799== by 0x54DD5AF: (anonymous namespace)::CSSParserImpl::ParseSheet(nsAString_internal const&, nsIURI*, nsIURI*, nsIPrincipal*, unsigned int, bool) (nsCSSParser.cpp:937) ==16799== by 0x54DD462: nsCSSParser::ParseSheet(nsAString_internal const&, nsIURI*, nsIURI*, nsIPrincipal*, unsigned int, bool) (nsCSSParser.cpp:10049) ==16799== by 0x54D636D: mozilla::css::Loader::ParseSheet(nsAString_internal const&, mozilla::css::SheetLoadData*, bool&) (Loader.cpp:1632) ==16799== by 0x54D5FDB: mozilla::css::SheetLoadData::OnStreamComplete(nsIUnicharStreamLoader*, nsISupports*, tag_nsresult, nsAString_internal const&) (Loader.cpp:964) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x54F89C0: mozilla::css::MediaRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSRules.cpp:956) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x54F89C0: mozilla::css::MediaRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSRules.cpp:956) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== by 0x603F934: SizeOfEntryExcludingThisEnumerator(PLDHashTable*, PLDHashEntryHdr*, unsigned int, void*) (pldhash.cpp:773) ==16799== ==16799== Double report of heap block 0x18FB8E40: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x603D9DE: nsVoidArray::SizeTo(int) (nsVoidArray.cpp:199) ==16799== by 0x603DB4C: nsVoidArray::GrowArrayBy(int) (nsVoidArray.cpp:263) ==16799== by 0x603DE17: nsVoidArray::InsertElementAt(void*, int) (nsVoidArray.cpp:425) ==16799== by 0x603AC9E: nsCOMArray_base::InsertObjectAt(nsISupports*, int) (nsCOMArray.cpp:49) ==16799== by 0x51C48FE: nsCOMArray_base::AppendObject(nsISupports*) (nsCOMArray.h:53) ==16799== by 0x54ECA05: nsCOMArray<mozilla::css::Rule>::AppendObject(mozilla::css::Rule*) (nsCOMArray.h:229) ==16799== by 0x54F7EC6: mozilla::css::GroupRule::AppendStyleRule(mozilla::css::Rule*) (nsCSSRules.cpp:642) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x603E1F5: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:749) ==16799== by 0x54F89CE: mozilla::css::MediaRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSRules.cpp:957) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x603E1F5: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:749) ==16799== by 0x54F89CE: mozilla::css::MediaRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSRules.cpp:957) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== ==16799== Double report of heap block 0x18FB8BF0: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x5546A72: nsCSSSelector::AddPseudoClass(nsCSSPseudoClasses::Type) (mozalloc.h:200) ==16799== by 0x54EA2C9: (anonymous namespace)::CSSParserImpl::ParsePseudoSelector(int&, nsCSSSelector&, bool, nsIAtom**, nsAtomList**, nsCSSPseudoElements::Type*) (nsCSSParser.cpp:3448) ==16799== by 0x54E9ADF: (anonymous namespace)::CSSParserImpl::ParseSelector(nsCSSSelectorList*, unsigned short) (nsCSSParser.cpp:3825) ==16799== by 0x54E98E5: (anonymous namespace)::CSSParserImpl::ParseSelectorGroup(nsCSSSelectorList*&) (nsCSSParser.cpp:2867) ==16799== by 0x54E9787: (anonymous namespace)::CSSParserImpl::ParseSelectorList(nsCSSSelectorList*&, unsigned short) (nsCSSParser.cpp:2802) ==16799== by 0x54EC7B5: (anonymous namespace)::CSSParserImpl::ParseRuleSet(void (*)(mozilla::css::Rule*, void*), void*, bool) (nsCSSParser.cpp:2763) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x55460F2: nsPseudoClassList::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:194) ==16799== by 0x55476B7: nsCSSSelector::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:832) ==16799== by 0x554618A: nsCSSSelectorList::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:917) ==16799== by 0x5548860: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1519) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x55460F2: nsPseudoClassList::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:194) ==16799== by 0x55476B7: nsCSSSelector::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:832) ==16799== by 0x554618A: nsCSSSelectorList::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:917) ==16799== by 0x5548860: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1519) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== ==16799== Double report of heap block 0x18FB8C80: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x55054DA: nsCSSValue::SetPairValue(nsCSSValue const&, nsCSSValue const&) (mozalloc.h:200) ==16799== by 0x54E7420: (anonymous namespace)::CSSParserImpl::ParsePaint(nsCSSProperty) (nsCSSParser.cpp:9910) ==16799== by 0x54DF580: (anonymous namespace)::CSSParserImpl::ParsePropertyByFunction(nsCSSProperty) (nsCSSParser.cpp:6165) ==16799== by 0x54DF07A: (anonymous namespace)::CSSParserImpl::ParseProperty(nsCSSProperty) (nsCSSParser.cpp:5943) ==16799== by 0x54DEAD9: (anonymous namespace)::CSSParserImpl::ParseDeclaration(mozilla::css::Declaration*, unsigned int, bool, bool*) (nsCSSParser.cpp:4359) ==16799== by 0x54DE46F: (anonymous namespace)::CSSParserImpl::ParseDeclarationBlock(unsigned int) (nsCSSParser.cpp:3911) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x55071C3: nsCSSValuePair_heap::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSValue.cpp:1487) ==16799== by 0x54CF374: nsCSSCompressedDataBlock::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSDataBlock.cpp:233) ==16799== by 0x54D1D34: mozilla::css::Declaration::SizeOfIncludingThis(unsigned long (*)(void const*)) const (Declaration.cpp:1040) ==16799== by 0x5548874: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1520) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x55071C3: nsCSSValuePair_heap::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSValue.cpp:1487) ==16799== by 0x54CF374: nsCSSCompressedDataBlock::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSDataBlock.cpp:233) ==16799== by 0x54D1D34: mozilla::css::Declaration::SizeOfIncludingThis(unsigned long (*)(void const*)) const (Declaration.cpp:1040) ==16799== by 0x5548874: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1520) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== ==16799== Double report of heap block 0x18FB8FB0: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x51D1124: nsTArray_base<nsTArrayDefaultAllocator>::EnsureCapacity(unsigned int, unsigned int) (nsTArray-inl.h:160) ==16799== by 0x54D2006: unsigned char* nsTArray<unsigned char, nsTArrayDefaultAllocator>::AppendElements<nsCSSProperty>(nsCSSProperty const*, unsigned int) (nsTArray.h:877) ==16799== by 0x54D0185: mozilla::css::Declaration::ValueAppended(nsCSSProperty) (Declaration.cpp:54) ==16799== by 0x54CFD6D: nsCSSExpandedDataBlock::DoTransferFromBlock(nsCSSExpandedDataBlock&, nsCSSProperty, bool, bool, bool, mozilla::css::Declaration*) (nsCSSDataBlock.cpp:523) ==16799== by 0x54CFCB0: nsCSSExpandedDataBlock::TransferFromBlock(nsCSSExpandedDataBlock&, nsCSSProperty, bool, bool, bool, mozilla::css::Declaration*) (nsCSSDataBlock.cpp:485) ==16799== by 0x54DEC11: (anonymous namespace)::CSSParserImpl::ParseDeclaration(mozilla::css::Declaration*, unsigned int, bool, bool*) (nsCSSParser.cpp:4413) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x54D1D05: mozilla::css::Declaration::SizeOfIncludingThis(unsigned long (*)(void const*)) const (Declaration.cpp:1039) ==16799== by 0x5548874: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1520) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x54D1D05: mozilla::css::Declaration::SizeOfIncludingThis(unsigned long (*)(void const*)) const (Declaration.cpp:1039) ==16799== by 0x5548874: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1520) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== by 0x550092F: nsCSSStyleSheetInner::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:1006) ==16799== by 0x550089A: nsCSSStyleSheet::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSStyleSheet.cpp:874) ==16799== ==16799== Double report of heap block 0x18FB9790: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x550564F: nsCSSValue::SetListValue() (mozalloc.h:200) ==16799== by 0x54E6C1A: (anonymous namespace)::CSSParserImpl::ParseTransform(bool) (nsCSSParser.cpp:8639) ==16799== by 0x54DF547: (anonymous namespace)::CSSParserImpl::ParsePropertyByFunction(nsCSSProperty) (nsCSSParser.cpp:6152) ==16799== by 0x54DF07A: (anonymous namespace)::CSSParserImpl::ParseProperty(nsCSSProperty) (nsCSSParser.cpp:5943) ==16799== by 0x54DEAD9: (anonymous namespace)::CSSParserImpl::ParseDeclaration(mozilla::css::Declaration*, unsigned int, bool, bool*) (nsCSSParser.cpp:4359) ==16799== by 0x54DE46F: (anonymous namespace)::CSSParserImpl::ParseDeclarationBlock(unsigned int) (nsCSSParser.cpp:3911) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x55072E3: nsCSSValueList_heap::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSValue.cpp:1370) ==16799== by 0x54CF374: nsCSSCompressedDataBlock::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSDataBlock.cpp:233) ==16799== by 0x54D1D5B: mozilla::css::Declaration::SizeOfIncludingThis(unsigned long (*)(void const*)) const (Declaration.cpp:1041) ==16799== by 0x5548874: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1520) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x55072E3: nsCSSValueList_heap::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSValue.cpp:1370) ==16799== by 0x54CF374: nsCSSCompressedDataBlock::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSDataBlock.cpp:233) ==16799== by 0x54D1D5B: mozilla::css::Declaration::SizeOfIncludingThis(unsigned long (*)(void const*)) const (Declaration.cpp:1041) ==16799== by 0x5548874: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1520) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== ==16799== Double report of heap block 0x18FB9C90: ==16799== Allocated ==16799== at 0x402B2AF: malloc (vg_replace_malloc.c:270) ==16799== by 0x4201EFF: moz_xmalloc (mozalloc.cpp:54) ==16799== by 0x550559E: nsCSSValue::SetTripletValue(nsCSSValue const&, nsCSSValue const&, nsCSSValue const&) (mozalloc.h:200) ==16799== by 0x54E6D97: (anonymous namespace)::CSSParserImpl::ParseTransformOrigin(bool) (nsCSSParser.cpp:8692) ==16799== by 0x54DF550: (anonymous namespace)::CSSParserImpl::ParsePropertyByFunction(nsCSSProperty) (nsCSSParser.cpp:6154) ==16799== by 0x54DF07A: (anonymous namespace)::CSSParserImpl::ParseProperty(nsCSSProperty) (nsCSSParser.cpp:5943) ==16799== by 0x54DEAD9: (anonymous namespace)::CSSParserImpl::ParseDeclaration(mozilla::css::Declaration*, unsigned int, bool, bool*) (nsCSSParser.cpp:4359) ==16799== by 0x54DE46F: (anonymous namespace)::CSSParserImpl::ParseDeclarationBlock(unsigned int) (nsCSSParser.cpp:3911) ==16799== Previously reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x5507213: nsCSSValueTriplet_heap::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSValue.cpp:1513) ==16799== by 0x54CF374: nsCSSCompressedDataBlock::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSDataBlock.cpp:233) ==16799== by 0x54D1D34: mozilla::css::Declaration::SizeOfIncludingThis(unsigned long (*)(void const*)) const (Declaration.cpp:1040) ==16799== by 0x5548874: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1520) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755) ==16799== Now reported by 'windows' ==16799== at 0x58BE36E: DOMStyleMallocSizeOf(void const*) (nsWindowMemoryReporter.cpp:108) ==16799== by 0x5507213: nsCSSValueTriplet_heap::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSValue.cpp:1513) ==16799== by 0x54CF374: nsCSSCompressedDataBlock::SizeOfIncludingThis(unsigned long (*)(void const*)) const (nsCSSDataBlock.cpp:233) ==16799== by 0x54D1D34: mozilla::css::Declaration::SizeOfIncludingThis(unsigned long (*)(void const*)) const (Declaration.cpp:1040) ==16799== by 0x5548874: mozilla::css::StyleRule::SizeOfIncludingThis(unsigned long (*)(void const*)) const (StyleRule.cpp:1520) ==16799== by 0x603E24E: SizeOfElementIncludingThisEnumerator(void const*, void*) (nsVoidArray.cpp:737) ==16799== by 0x603E14E: nsVoidArray::EnumerateForwards(bool (*)(void const*, void*), void*) const (nsVoidArray.cpp:704) ==16799== by 0x603E227: nsVoidArray::SizeOfExcludingThis(unsigned long (*)(void const*, unsigned long (*)(void const*), void*), unsigned long (*)(void const*), void*) const (nsVoidArray.cpp:755)
Summary: DMD flags double-report of CSS data (css::Loader::CreateSheet) → DMD flags double-report of CSS data
Summary: DMD flags double-report of CSS data → DMD flags double-report of CSS data in B2G gallery app
> ==16799== Double report of heap block 0x18FB2B80: > ==16799== Previously reported by 'windows' > ... > nsDocument::DocSizeOfExcludingThis(nsWindowSizes*) const > (nsDocument.cpp:9648) > ==16799== Now reported by 'windows' > ... > mozilla::css::Loader::SizeOfIncludingThis(unsigned long (*)(void const*)) > const (Loader.cpp:2455) bz: Looks like the patch from bug 799796 might be wrong in how it judges which sheets are only visible from the Loader?
Yeah, indeed. Catalog sheets, sigh.
Assignee: nobody → bzbarsky
Blocks: 799796
Comment on attachment 680952 [details] [diff] [review] Tell catalog sheets they have the document as an owning node so they won't get double-counted by memory reporters. Justin, does this fix the problem for you?
Attachment #680952 - Flags: feedback?(justin.lebar+bug)
Comment on attachment 680952 [details] [diff] [review] Tell catalog sheets they have the document as an owning node so they won't get double-counted by memory reporters. This patch fixes the problem for me.
Attachment #680952 - Flags: feedback?(justin.lebar+bug) → feedback+
Attachment #680952 - Flags: review?(dbaron)
Whiteboard: [need review]
Comment on attachment 680952 [details] [diff] [review] Tell catalog sheets they have the document as an owning node so they won't get double-counted by memory reporters. r=dbaron
Attachment #680952 - Flags: review?(dbaron) → review+
Flags: in-testsuite?
Whiteboard: [need review]
Target Milestone: --- → mozilla20
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: