Closed Bug 1189568 Opened 9 years ago Closed 8 years ago

Leak of IMContextWrapper and nsIntRect

Categories

(Core :: Widget: Gtk, defect, P4)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox42 --- affected

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: memory-leak, Whiteboard: [MemShrink:P3], tpi:+)

Attachments

(1 file)

Attached file leak allocation stacks
This shows up in a LeakSanitizer run:
   ./mach mochitest -f plain --e10s dom/plugins/

It also shows up in e10s bc2 but I haven't been able to narrow it down. Presumably there's some plugin stuff in there, too.

The first stack is allocated at this line in the GTK nsWindow::Create:
  mIMContext = new IMContextWrapper(this);

The second two stacks are allocated at this line in nsBaseWidget::StoreWindowClipRegion:
  mClipRects = new nsIntRect[mClipRectCount];

This is with GTK2, which I enabled via the following:
  ac_add_options --enable-default-toolkit=cairo-gtk2
Whiteboard: [MemShrink] → [MemShrink:P3]
Priority: -- → P4
Whiteboard: [MemShrink:P3] → [MemShrink:P3], tpi:+
This leak appears to be gone now. The suppression was removed in bug 1311584.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: