[mythtv-commits] Ticket #5410: memory leak in myth-backend on x64 when recording from DVB-C / qam256

MythTV mythtv at cvs.mythtv.org
Thu Jun 5 20:05:56 UTC 2008


#5410: memory leak in myth-backend on x64 when recording from DVB-C / qam256
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  ijr    
     Type:  defect     |      Status:  new    
 Priority:  minor      |   Milestone:  unknown
Component:  mythtv     |     Version:  unknown
 Severity:  medium     |     Mlocked:  0      
-----------------------+----------------------------------------------------
 Bug forwarded from the Mythbuntu bug tracker:


 ----
 When recording from a "Satelco EasyWatch DVB-C MK3" DVB-C card I see a
 memory leak in mythtv-backend.
 The system seems to allocate about 0.2% of the 4Gb ram installed in the
 backend every minute until the memory usage rises to about 80% then the
 system starts swapping and becomes totally unusable.
 When the recording is finished the memory is not released. The only way to
 release the memory is to stop/start the mythtv-backend process.

 kernel 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008 x86_64
 GNU/Linux.

 My cable provider sends DVB-C in QAM256.

 The problem could be related to EIT and the option "Close DVB card when
 not it use".

 mythbackend version: 0.21.20080304-1

 I've run the backend under valgrind and have attached the log file.

 Valgrind started with the following options:-
 valgrind --leak-check=full --error-limit=no --show-reachable=yes --log-
 file=logfile -v -- /usr/bin/mythbackend
 --daemon --logfile /var/log/mythtv/mythbackend.log --pidfile
 /var/run/mythtv/mythbackend.pid --noupnp | tee backend.log

 Regards
 Ian Dobson
 ----

 The OP also suggests:

 ----
 I've done abit more testing and the leak only happens on some channels. At
 the moment I can say that the leak happens on channel ProSieben (Pro7).
 Note I can watch the programms recorded from ProSieben without any
 problems.

 After abit of googling I've come across several comments about "encoding
 fixups for German networks"
 ----

 Logs attached.

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


More information about the mythtv-commits mailing list