Open Bug 820900 Opened 13 years ago Updated 1 year ago

Memory used by cairo's _render_glyph_outline is not reported

Categories

(Core :: Graphics, defect)

ARM
Gonk (Firefox OS)
defect

Tracking

()

People

(Reporter: justin.lebar+bug, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [MemShrink:P2])

The DMD report in attachment 691386 [details] shows the following set of unreported blocks in the main process with the B2G gallery app open and in the foreground. > Unreported: ~30 blocks in block group 12 of 724 > ~139,216 bytes (~113,288 requested / ~25,928 slop) > 0.51% of the heap (22.83% cumulative); 1.03% of unreported (46.71% cumulative) > Allocated at > calloc /Users/jlebar/code/moz/ff-git/src/memory/build/replace_malloc.c:182 (0x4024e250 libmozglue.so+0x4250) > _render_glyph_outline /Users/jlebar/code/moz/ff-git/src/gfx/cairo/cairo/src/cairo-ft-font.c:1395 (0x41a61698 libxul.so+0xb4d698) > _cairo_scaled_glyph_lookup /Users/jlebar/code/moz/ff-git/src/gfx/cairo/cairo/src/cairo-scaled-font.c:2836 (0x41a47468 libxul.so+0xb33468) > _composite_glyphs /Users/jlebar/code/moz/ff-git/src/gfx/cairo/cairo/src/cairo-image-surface.c:3965 (0x41a37a0a libxul.so+0xb23a0a) > _clip_and_composite /Users/jlebar/code/moz/ff-git/src/gfx/cairo/cairo/src/cairo-image-surface.c:2307 (0x41a3875a libxul.so+0xb2475a) > _cairo_image_surface_glyphs /Users/jlebar/code/moz/ff-git/src/gfx/cairo/cairo/src/cairo-image-surface.c:4076 (0x41a389f4 libxul.so+0xb249f4) > _cairo_surface_show_text_glyphs /Users/jlebar/code/moz/ff-git/src/gfx/cairo/cairo/src/cairo-surface.c:2784 (0x41a4b8f8 libxul.so+0xb378f8) > _cairo_gstate_show_text_glyphs /Users/jlebar/code/moz/ff-git/src/gfx/cairo/cairo/src/cairo-gstate.c:1992 (0x41a3388c libxul.so+0xb1f88c) > _moz_cairo_show_glyphs /Users/jlebar/code/moz/ff-git/src/gfx/cairo/cairo/src/cairo.c:3523 (0x41a25570 libxul.so+0xb11570) > GlyphBuffer::Flush(_cairo*, gfxFont::DrawMode, bool, gfxTextObjectPaint*, gfxMatrix const&, bool) /Users/jlebar/code/moz/ff-git/src/gfx/thebes/gfxFont.cpp:1565 (0x419b2ef4 libxul.so+0xa9eef4) > gfxFont::Draw(gfxTextRun*, unsigned int, unsigned int, gfxContext*, gfxFont::DrawMode, gfxPoint*, gfxFont::Spacing*, gfxTextObjectPaint*) /Users/jlebar/code/moz/ff-git/src/gfx/thebes/gfxFont.cpp:1932 (0x419b70d6 libxul.so+0xaa30d6) > gfxTextRun::DrawGlyphs(gfxFont*, gfxContext*, gfxFont::DrawMode, gfxPoint*, gfxTextObjectPaint*, unsigned int, unsigned int, gfxTextRun::PropertyProvider*, unsigned int, unsigned int) /Users/jlebar/code/moz/ff-git/src/gfx/thebes/gfxFont.cpp:4779 (0x419b0fac libxul.so+0xa9cfac) > gfxTextRun::Draw(gfxContext*, gfxPoint, gfxFont::DrawMode, unsigned int, unsigned int, gfxTextRun::PropertyProvider*, double*, gfxTextObjectPaint*, gfxTextRun::DrawCallbacks*) /Users/jlebar/code/moz/ff-git/src/gfx/thebes/gfxFont.cpp:4982 (0x419b1ecc libxul.so+0xa9decc) > DrawTextRun /Users/jlebar/code/moz/ff-git/src/layout/generic/nsTextFrameThebes.cpp:5917 (0x412fdeae libxul.so+0x3e9eae) > nsTextFrame::DrawTextRun(gfxContext*, gfxPoint const&, unsigned int, unsigned int, PropertyProvider&, unsigned int, double&, bool, nsTextFrame::DrawPathCallbacks*) /Users/jlebar/code/moz/ff-git/src/layout/generic/nsTextFrameThebes.cpp:5932 (0x412feeb4 libxul.so+0x3eaeb4) > nsTextFrame::DrawText(gfxContext*, gfxRect const&, gfxPoint const&, gfxPoint const&, unsigned int, unsigned int, PropertyProvider&, nsTextPaintStyle const&, unsigned int, nsCharClipDisplayItem::ClipEdges const&, double&, bool, unsigned int const*, nsTextFrame::DrawPathCallbacks*) /Users/jlebar/code/moz/ff-git/src/layout/generic/nsTextFrameThebes.cpp:6070 (0x41302ce6 libxul.so+0x3eece6) > ~nsRefPtr /Users/jlebar/code/moz/B2G/objdir-gecko/dist/include/nsAutoPtr.h:875 (0x41302ee0 libxul.so+0x3eeee0) > nsTextFrame::PaintText(nsRenderingContext*, nsPoint, nsRect const&, nsCharClipDisplayItem const&, nsTextFrame::DrawPathCallbacks*) /Users/jlebar/code/moz/ff-git/src/layout/generic/nsTextFrameThebes.cpp:5883 (0x41303924 libxul.so+0x3ef924) > ~gfxContextAutoDisableSubpixelAntialiasing /Users/jlebar/code/moz/B2G/objdir-gecko/dist/include/gfxContext.h:930 (0x41303a36 libxul.so+0x3efa36) > mozilla::FrameLayerBuilder::DrawThebesLayer(mozilla::layers::ThebesLayer*, gfxContext*, nsIntRegion const&, nsIntRegion const&, void*) /Users/jlebar/code/moz/ff-git/src/layout/base/FrameLayerBuilder.cpp:3382 (0x41275d02 libxul.so+0x361d02) > ~nsRegion /Users/jlebar/code/moz/B2G/objdir-gecko/dist/include/nsRegion.h:75 (0x419ce8be libxul.so+0xaba8be) > mozilla::layers::BasicLayerManager::PaintSelfOrChildren(mozilla::layers::PaintContext&, gfxContext*) /Users/jlebar/code/moz/ff-git/src/gfx/layers/basic/BasicLayerManager.cpp:829 (0x419c8cf4 libxul.so+0xab4cf4) > mozilla::layers::BasicLayerManager::PaintLayer(gfxContext*, mozilla::layers::Layer*, void (*)(mozilla::layers::ThebesLayer*, gfxContext*, nsIntRegion const&, nsIntRegion const&, void*), void*, mozilla::layers::ReadbackProcessor*) /Users/jlebar/code/moz/ff-git/src/gfx/layers/basic/BasicLayerManager.cpp:954 (0x419c91c6 libxul.so+0xab51c6) > mozilla::layers::BasicLayerManager::PaintSelfOrChildren(mozilla::layers::PaintContext&, gfxContext*) /Users/jlebar/code/moz/ff-git/src/gfx/layers/basic/BasicLayerManager.cpp:845 (0x419c8d58 libxul.so+0xab4d58)
Whiteboard: [MemShrink] → [MemShrink:P2]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.