Package: python-fife Version: 0.3.3+r3-1.1 Severity: normal Dear Maintainer,
with the game unknown-horizons, there seems an memory leak within the python-fife package. These logs are written to console window: swig/python detected a memory leak of type 'FIFE::MouseEvent *', no destructor found. swig/python detected a memory leak of type 'FIFE::MouseEvent *', no destructor found. As i found on the fife trac system, these is an known problem, maybe it can be tweaked and backported. ( http://fife.trac.cvsdude.com/engine/ticket/699 ). I tried attached patch and get smoother mouse movements and no messages on console. cheers, tim -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-fife depends on: ii libboost-filesystem1.49.0 1.49.0-3.1 ii libboost-regex1.49.0 1.49.0-3.1 ii libboost-system1.49.0 1.49.0-3.1 ii libc6 2.13-37 ii libgcc1 1:4.7.2-4 ii libgl1-mesa-glx [libgl1] 8.0.5-3 ii libglee0d1 5.4.0-1 ii libguichan-0.8.1-1 0.8.2-10+b1 ii libguichan-opengl-0.8.1-1 0.8.2-10+b1 ii libguichan-sdl-0.8.1-1 0.8.2-10+b1 ii libogg0 1.3.0-4 ii libopenal1 1:1.14-4 ii libpng12-0 1.2.49-1 ii libpython2.6 2.6.8-0.2 ii libpython2.7 2.7.3~rc2-2.1 ii libsdl-image1.2 1.2.12-2 ii libsdl-ttf2.0-0 2.0.11-2 ii libsdl1.2debian 1.2.15-5 ii libstdc++6 4.7.2-4 ii libtinyxml2.6.2 2.6.2-1 ii libvorbis0a 1.3.2-1.3 ii libvorbisfile3 1.3.2-1.3 ii libxcursor1 1:1.1.13-1 ii python 2.7.3~rc2-1 ii python2.6 2.6.8-0.2 ii python2.7 2.7.3~rc2-2.1 python-fife recommends no packages. python-fife suggests no packages. -- no debconf information
Index: /trunk/engine/core/eventchannel/eventchannel.i =================================================================== --- /trunk/engine/core/eventchannel/eventchannel.i (revision 3775) +++ /trunk/engine/core/eventchannel/eventchannel.i (revision 3949) @@ -59,5 +59,5 @@ virtual std::string getDebugString() const; virtual const std::string& getName() const; - virtual ~IEvent() {} + virtual ~Event() {} private: Event(); @@ -71,5 +71,5 @@ virtual bool isMetaPressed() const; virtual bool isShiftPressed() const; - virtual ~IInputEvent() {} + virtual ~InputEvent() {} private: InputEvent(); @@ -154,5 +154,5 @@ virtual MouseEventType getType() const; virtual MouseButtonType getButton() const; - virtual ~IMouseEvent(); + virtual ~MouseEvent(); private: MouseEvent();