← Back to team overview

compiz team mailing list archive

[Bug 1097126] [NEW] resize leaks memory in multiple locations calling resize::CompScreenImpl::findWindow() -> operator new()

 

Public bug reported:

==17459== 416 (160 direct, 256 indirect) bytes in 4 blocks are definitely lost in loss record 1,180 of 1,323
==17459==    at 0x4C2AF8E: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==17459==    by 0x11DCEC2C: resize::CompScreenImpl::findWindow(unsigned long) (window-impl.h:71)
==17459==    by 0x11DD9C2D: ResizeLogic::handleEvent(_XEvent*) (resize-logic.cpp:141)
==17459==    by 0x4EA933C: CompScreen::handleEvent(_XEvent*) (event.cpp:1155)
==17459==    by 0x11FFF9DE: RotateScreen::handleEvent(_XEvent*) (rotate.cpp:910)
==17459==    by 0x4EA933C: CompScreen::handleEvent(_XEvent*) (event.cpp:1155)
==17459==    by 0x12D3AE1A: PlaceScreen::handleEvent(_XEvent*) (place.cpp:209)
==17459==    by 0x4EA933C: CompScreen::handleEvent(_XEvent*) (event.cpp:1155)
==17459==    by 0x1488700C: PrivateScaleScreen::handleEvent(_XEvent*) (scale.cpp:1700)
==17459==    by 0x4EA933C: CompScreen::handleEvent(_XEvent*) (event.cpp:1155)
==17459==    by 0x152F0C8B: MoveScreen::handleEvent(_XEvent*) (move.cpp:634)
==17459==    by 0x4EA933C: CompScreen::handleEvent(_XEvent*) (event.cpp:1155)
==17459== 
==17459== 416 (160 direct, 256 indirect) bytes in 4 blocks are definitely lost in loss record 1,181 of 1,323
==17459==    at 0x4C2AF8E: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==17459==    by 0x11DCEC2C: resize::CompScreenImpl::findWindow(unsigned long) (window-impl.h:71)
==17459==    by 0x11DD6DD4: ResizeLogic::initiateResizeDefaultMode(CompAction*, unsigned int, std::vector<CompOption, std::allocator<CompOption> >&) (resize-logic.cpp:1538)
==17459==    by 0x11DDA13C: ResizeLogic::handleEvent(_XEvent*) (resize-logic.cpp:199)
==17459==    by 0x4EA933C: CompScreen::handleEvent(_XEvent*) (event.cpp:1155)
==17459==    by 0x11FFF9DE: RotateScreen::handleEvent(_XEvent*) (rotate.cpp:910)
==17459==    by 0x4EA933C: CompScreen::handleEvent(_XEvent*) (event.cpp:1155)
==17459==    by 0x12D3AE1A: PlaceScreen::handleEvent(_XEvent*) (place.cpp:209)
==17459==    by 0x4EA933C: CompScreen::handleEvent(_XEvent*) (event.cpp:1155)
==17459==    by 0x1488700C: PrivateScaleScreen::handleEvent(_XEvent*) (scale.cpp:1700)
==17459==    by 0x4EA933C: CompScreen::handleEvent(_XEvent*) (event.cpp:1155)
==17459==    by 0x152F0C8B: MoveScreen::handleEvent(_XEvent*) (move.cpp:634)
==17459== 
==17459== 416 (160 direct, 256 indirect) bytes in 4 blocks are definitely lost in loss record 1,182 of 1,323
==17459==    at 0x4C2AF8E: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==17459==    by 0x11DCEC2C: resize::CompScreenImpl::findWindow(unsigned long) (window-impl.h:71)
==17459==    by 0x11DD62B5: ResizeLogic::initiateResize(CompAction*, unsigned int, std::vector<CompOption, std::allocator<CompOption> >&, unsigned int) (resize-logic.cpp:1194)
==17459==    by 0x11DD6F11: ResizeLogic::initiateResizeDefaultMode(CompAction*, unsigned int, std::vector<CompOption, std::allocator<CompOption> >&) (resize-logic.cpp:1553)
==17459==    by 0x11DDA13C: ResizeLogic::handleEvent(_XEvent*) (resize-logic.cpp:199)
==17459==    by 0x4EA933C: CompScreen::handleEvent(_XEvent*) (event.cpp:1155)
==17459==    by 0x11FFF9DE: RotateScreen::handleEvent(_XEvent*) (rotate.cpp:910)
==17459==    by 0x4EA933C: CompScreen::handleEvent(_XEvent*) (event.cpp:1155)
==17459==    by 0x12D3AE1A: PlaceScreen::handleEvent(_XEvent*) (place.cpp:209)
==17459==    by 0x4EA933C: CompScreen::handleEvent(_XEvent*) (event.cpp:1155)
==17459==    by 0x1488700C: PrivateScaleScreen::handleEvent(_XEvent*) (scale.cpp:1700)
==17459==    by 0x4EA933C: CompScreen::handleEvent(_XEvent*) (event.cpp:1155)
==17459==

** Affects: compiz
     Importance: High
         Status: Triaged

** Affects: compiz (Ubuntu)
     Importance: High
         Status: Triaged

** Also affects: compiz (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: compiz (Ubuntu)
       Status: New => Triaged

** Changed in: compiz (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1097126

Title:
  resize leaks memory in multiple locations calling
  resize::CompScreenImpl::findWindow() -> operator new()

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1097126/+subscriptions


Follow ups

References