[mythtv-commits] Ticket #6525: Memory Leaks (Valgrind Logs attached)

MythTV mythtv at cvs.mythtv.org
Wed May 6 10:08:52 UTC 2009

#6525: Memory Leaks (Valgrind Logs attached)
 Reporter:  bradley.kite at gmail.com  |       Owner:  ijr    
     Type:  defect                  |      Status:  new    
 Priority:  minor                   |   Milestone:  unknown
Component:  MythTV - General        |     Version:  unknown
 Severity:  medium                  |     Mlocked:  0      
 Hi there.

 I recently upgraded to revision 20491 and started listening to my favorite
 radio show that I record each day.

 After about 20 minutes my box ground to a halt.

 I did some digging, and noticed memory growing a few megs each minute.

 With a debug build and valgrind, I have produced 2 logs:

 The first (valgrind-mythfrontend-20491M-start-and-quit.log) shows a small
 memory leak during initialisation - probably not significant. All I did
 was start mythfrontend and then quit again.

 The second, more interesting log (valgrind-mythfrontend-20491M-radio-
 playback.log), is where I played back my radio show. It shows lots of
 leaks when dealing with MHI and OSD data. I only played around 20 seconds
 under valgrind, but it shows around 50MB leaked in total.

 Am happy to do more testing etc. if required.

Ticket URL: <http://svn.mythtv.org/trac/ticket/6525>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list