[mythtv-commits] Ticket #3317: mythbackend memory leak

MythTV mythtv at cvs.mythtv.org
Tue Apr 17 00:35:06 UTC 2007


#3317: mythbackend memory leak
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  ijr    
     Type:  defect     |      Status:  new    
 Priority:  minor      |   Milestone:  unknown
Component:  mythtv     |     Version:  unknown
 Severity:  medium     |  
-----------------------+----------------------------------------------------
 I seem to have a problem with a memory leak.  The backend runs fine for a
 while but after a day or two it starts to eat up all of the swap space on
 my machine.
 Valgrind gives me the following after running it for a couple hours:

 {{{
 ==22603==    definitely lost: 7,483,036 bytes in 7,906 blocks.
 ==22603==      possibly lost: 54,448 bytes in 55 blocks.
 ==22603==    still reachable: 13,296,516 bytes in 287,277 blocks.
 ==22603==         suppressed: 0 bytes in 0 blocks.
 }}}


 I've never used valgrind before but it seems to imply that around 7 megs
 was lost.

 I'm running ubuntu edgy (64 bit) on an Athlon 64 X2 4200+
 Qt is version 3.3.6-3u
 Gcc is version 4.1.2 20060928 (ubuntu 4.1.1-13ubuntu5)

 I configured using the following: ./configure --enable-xvmc --enable-dvb
 --enable-dts

 My system has 2 gb of ram and 3.5 gb of swap.  I have a pchdtv hd5500 and
 a wintv pvr-150
 The video card is a a GeForce 7300GS

 The backend and frontend are on the same machine.
 I have attached the valgrind log.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3317>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list