You're leaking the world when shift-reloading (some?) SVG documents.

RESOLVED INCOMPLETE

Status

()

Core
SVG
P3
normal
RESOLVED INCOMPLETE
2 years ago
2 months ago

People

(Reporter: emilio, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [MemShrink:P2])

(Reporter)

Description

2 years ago
I encountered this while investigating bug 1288938. I verified it also reproduces on current central

Steps to reproduce:

 * ./mach run layout/reftests/text-svgglyphs/svg-glyph-basic.svg
 * Shift-reload (Ctrl + F5) a few times, and close the window. Watch the world leaking.

WARNING: YOU ARE LEAKING THE WORLD (at least one JSRuntime and everything alive inside it, that is) AT JS_ShutDown TIME.  FIX THIS!
Leaked URLs:
  chrome://pluginproblem/content/pluginFinderBinding.css
  chrome://pluginproblem/content/pluginProblemBinding.css
  resource://gre-resources/counterstyles.css
  chrome://global/content/minimal-xul.css
  resource://gre-resources/quirk.css
  resource://gre/res/svg.css
  chrome://global/content/xul.css
  chrome://global/skin/scrollbars.css
  resource://gre-resources/number-control.css
  resource://gre-resources/forms.css
  resource://gre-resources/noscript.css
  resource://gre-resources/html.css
  resource://gre-resources/ua.css
  chrome://global/content/bindings/scrollbar.xml#scrollbar
  chrome://global/skin/scrollbar/slider.gif
  chrome://global/content/bindings/scrollbar.xml#thumb
  chrome://global/content/bindings/scrollbar.xml#scrollbar-base
[Child 4364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/emilio/projects/moz/gecko-4/xpcom/base/nsTraceRefcnt.cpp, line 171
[Child 4364] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/emilio/projects/moz/gecko-4/xpcom/base/nsTraceRefcnt.cpp, line 171
nsStringStats
 => mAllocCount:          24862
 => mReallocCount:          721
 => mFreeCount:           22575  --  LEAKED 2287 !!!
 => mShareCount:          12799
 => mAdoptCount:           1117
 => mAdoptFreeCount:       1117
 => Process ID: 4364, Thread ID: 140400735726080

Updated

2 years ago
Whiteboard: [MemShrink]
Whiteboard: [MemShrink] → [MemShrink:P1]

Updated

10 months ago
Priority: -- → P3
I don't think anyone is going to fix this.
Status: NEW → RESOLVED
Last Resolved: 8 months ago
Resolution: --- → INCOMPLETE
Whiteboard: [MemShrink:P1] → [MemShrink:P2]
You need to log in before you can comment on or make changes to this bug.