Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181917 - x11-plugins/beryl-plugins-0.2.1 memory leak when using "burn" or "beam up" animations
Summary: x11-plugins/beryl-plugins-0.2.1 memory leak when using "burn" or "beam up" an...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Joshua Jackson (RETIRED)
URL: http://lists.beryl-project.org/piperm...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-13 14:46 UTC by Akshay Shah
Modified: 2007-07-18 04:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for animation.c (beryl-plugins-0.2.1-burnbeam-memleak.patch,526 bytes, patch)
2007-06-14 15:31 UTC, Akshay Shah
Details | Diff
New ebuild for patch (beryl-plugins-0.2.1-r1.ebuild,1.25 KB, text/plain)
2007-06-14 15:32 UTC, Akshay Shah
Details
beryl-plugins-0.2.1-burnbeam-memleak.patch (beryl-plugins-0.2.1-burnbeam-memleak.patch,526 bytes, patch)
2007-06-14 15:33 UTC, Akshay Shah
Details | Diff
beryl-plugins-0.2.1-r1.ebuild (beryl-plugins-0.2.1-r1.ebuild,1.25 KB, text/plain)
2007-06-14 15:33 UTC, Akshay Shah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Akshay Shah 2007-06-13 14:46:28 UTC
More info: http://gitweb.beryl-project.org/?p=inactive/beryl/beryl-plugins;a=commit;h=d3c96484f543dbd99c5e5fee0e8c53630ad175a6
Path here: http://gitweb.beryl-project.org/?p=inactive/beryl/beryl-plugins;a=commitdiff;h=d3c96484f543dbd99c5e5fee0e8c53630ad175a6

I've noticed this myself when beryl started taking up >1GB of memory after 2 days.  I disabled the "burn" and "beam up" actions this morning and hopefully that will resolve it.



spartacus ~ # emerge --info
Portage 2.1.2.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.21-ck2 x86_64)
=================================================================
System uname: 2.6.21-ck2 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Wed, 13 Jun 2007 13:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer nodoc noinfo parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://gentoo.netnitco.net"
LINGUAS="en en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mccoy/gentoo-portage"
USE="X a52 aac acpi alsa amd64 bash-completion bitmap-fonts branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss evo fam ffmpeg firefox fortran gif gnome gtk hal iconv isdnlog java jpeg jpeg2k kde libg++ libnotify mad md5sum midi mikmod mmx mng motif mp3 mpeg mudflap ncurses network-cron nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session spl sse sse2 ssl startup-notification svg tcpd tiff truetype truetype-fonts type1-fonts unicode vcd vim-syntax vorbis wmf x264 xinerama xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Akshay Shah 2007-06-13 14:50:14 UTC
This will be released in a maintenance release (version 0.2.2 or something), but I'm not sure when that will be released.

http://lists.beryl-project.org/pipermail/beryl-dev/2007-April/000405.html
Comment 2 Alex 2007-06-13 17:19:44 UTC
Don't count on any more releases for beryl, it's unlikely for one to happen, but it has a extremely slight posibility.
Comment 3 Joshua Jackson (RETIRED) gentoo-dev 2007-06-13 17:48:38 UTC
As was said previously, beryl as itself is dead...just really waiting for the new upstream release that is a combination of beryl and compiz, and then no doubt both compiz and beryl will become masked in favor of the new.
Comment 4 Alex 2007-06-13 17:51:53 UTC
Compiz isn't getting replaced, compizi is the new core, everything else runs ontop of compiz. It's basically beryl, new features, using compiz instead of beryl-core (Which really contained nothing more than compiz, but a few features like copy rendering)
Comment 5 Akshay Shah 2007-06-13 18:05:33 UTC
I understand that, I'm just asking for the patch to be included for the current version so we can use the current version of beryl without having to worry about the memory leak until the new version becomes available.

Since the impression that I'm getting is that this is going to take an inordinate amount of time to accomplish, can we add this patch to x11-wm/beryl-core-0.2.1-r1?
Comment 6 Akshay Shah 2007-06-14 15:31:07 UTC
Created attachment 122035 [details, diff]
Patch for animation.c
Comment 7 Akshay Shah 2007-06-14 15:32:26 UTC
Created attachment 122037 [details]
New ebuild for patch

animation.c is in beryl-plugins-0.2.1.tar.bz2, in the x11-plugins/beryl-plugins package.
Comment 8 Akshay Shah 2007-06-14 15:33:07 UTC
Created attachment 122039 [details, diff]
beryl-plugins-0.2.1-burnbeam-memleak.patch
Comment 9 Akshay Shah 2007-06-14 15:33:49 UTC
Created attachment 122041 [details]
beryl-plugins-0.2.1-r1.ebuild

My apologies, had to rename them.
Comment 10 Joshua Jackson (RETIRED) gentoo-dev 2007-07-18 04:28:18 UTC
finally added...I'm sorry for the lengthy delay, I honestly expected beryl to be out of the tree by this point but fusion is taking its time so...

Thank you for the patch.