[mythtv-commits] Ticket #9459: Mythfrontend Memory Leak while watching BBC HD / BBC1 HD only

MythTV noreply at mythtv.org
Mon Jan 17 13:42:19 UTC 2011


#9459: Mythfrontend Memory Leak while watching BBC HD / BBC1 HD only
-----------------------------------+----------------------------
 Reporter:  sijones2010@…          |          Owner:  stuartm
     Type:  Bug Report             |         Status:  accepted
 Priority:  major                  |      Milestone:  unknown
Component:  MythTV - General       |        Version:  0.24-fixes
 Severity:  medium                 |     Resolution:
 Keywords:  memory leak bbc hd     |  Ticket locked:  0
-----------------------------------+----------------------------

Comment (by v0466@…):

 I noticed this problem a few weeks ago and tracked it down. I was
 intending to file a bug report but completely forgot about it (sorry).

 I found two leaks. The first is in the subtitle handling code and is
 caused by a missing break statement in
 mythtv/external/FFmpeg/libavcodec/dvbsubdec.c after case
 DVBSUB_DISPLAYDEFINITION_SEGMENT.

 The other leak is in mythtv/external/FFmpeg/libavformat/mpegts.c where it
 was reallocating a packet without freeing the old one. The fix is to add a
 call to av_free_packet().

 I have been running with these two fixes for a few weeks and can watch BBC
 HD and BBC1 HD all day without running out of memory. I will attach
 patches shortly.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9459#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list