← Back to team overview

desktop-packages team mailing list archive

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

 

** Changed in: compiz/0.9.8
       Status: Triaged => Won't Fix

** Changed in: compiz/0.9.8
    Milestone: 0.9.8.8 => None

-- 
You received this bug notification because you are a member of Desktop
Packages, 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()

Status in Compiz:
  Fix Released
Status in Compiz 0.9.8 series:
  Won't Fix
Status in “compiz” package in Ubuntu:
  Fix Released

Bug description:
  ==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==

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