[mythtv-commits] Ticket #12005: Mythtv Video Library leaks while playing video with .srt subtitles

MythTV noreply at mythtv.org
Tue Jan 14 16:51:24 UTC 2014


#12005: Mythtv Video Library leaks while playing video with .srt subtitles
--------------------------------------+----------------------------
 Reporter:  martin@…                  |          Owner:  stichnot
     Type:  Bug Report - Memory Leak  |         Status:  accepted
 Priority:  minor                     |      Milestone:
Component:  MythTV - Captions         |        Version:  0.27-fixes
 Severity:  medium                    |     Resolution:
 Keywords:                            |  Ticket locked:  0
--------------------------------------+----------------------------

Comment (by stichnot):

 Valgrind found a definite leak in Master subtitle code.  This was the
 result of a refactor that is not part of 0.27-fixes.

 I ran valgrind on 0.27-fixes in the following way:


 {{{
 valgrind --log-file=/tmp/srt.log --leak-check=full --error-limit=no
 mythfrontend
 }}}

 There were a couple of one-time leaks related to font loading, but I
 didn't see anything systematic related to subtitles.

 It's possible you're seeing the effect of the image cache warming up.  On
 my system, I noticed that the memory footprint grows for a while and then
 stabilizes after it has grown by ~100MB.  (I can accelerate the growth by
 maximizing subtitle zoom and playing in fast-forward mode.)  Can you check
 whether this is also the case for you?

--
Ticket URL: <http://code.mythtv.org/trac/ticket/12005#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list