Bug#717371: idesk: Workaround for memory usage issue (patch attached)
Package: idesk Version: 0.7.5-4.2 I got a stable memory usage with the attached patch. Extensive tests are required, but things seems to work fine. However, probably this could be considered just an interim solution, because some bad warnings from Imlib2 * Imlib2 Developer Warning * : This program is calling the Imlib call: imlib_free_image_and_decache(); With the parameter: image being NULL. Please fix your program. Except for these warnings, the fix seems to works. --- a/src/XImlib2Background.cpp 2005-11-10 21:08:55.0 -0200 +++ b/src/XImlib2Background.cpp 2013-07-20 11:14:43.0 -0300 @@ -311,6 +311,12 @@ void XImlib2Background::InitSpareRoot(Wi xContainer-widthOfScreen(), xContainer-heightOfScreen(), 1); XDestroyWindow(xContainer-getDisplay(), tmp); imlib_context_set_drawable(xContainer-getRootWindow()); + + // Just a temporary hack to fix anomalous memory consumption (AMC). + if (spareRoot) { + cout [idesk] Debug: AMC hack. endl; + imlib_free_image_and_decache(); + } } Window XImlib2Background::createWindow()
Bug#717371: idesk: Workaround for memory usage issue (patch attached)
Control: tag -1 + patch Hi, a...@usp.br wrote: I got a stable memory usage with the attached patch. Extensive tests are required, but things seems to work fine. However, probably this could be considered just an interim solution, because some bad warnings from Imlib2 * Imlib2 Developer Warning * : This program is calling the Imlib call: imlib_free_image_and_decache(); With the parameter: image being NULL. Please fix your program. Except for these warnings, the fix seems to works. Thanks for the patch nevertheless. Regards, Axel -- ,''`. | Axel Beckert a...@debian.org, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `-| 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org