[linux-dvb] kernel memleak with DVB drivers

Johannes Stezenbach js at linuxtv.org
Sat Jun 18 20:07:17 CEST 2005


Stefan Seyfried wrote:
> i have a strange bug here, observed both on a cinergyT2 and a
> budget-ci card (Hauppauge nova-s):
> if i leave an EPG-grabber application running (e.g. dvbrowse or
> tv_grab_epg) and change transponders / multiplexes, i will soon
> run out of kernel memory.
> I did a small setup with a cronjob that is tuning once per hour
> to all 6 Nuernberg multiplexes, leaves it running for 2 minutes
> and tv_grab_dvb dumps the EPG information.
> Every run of this cronjob "loses" about 10MB of kernel memory.
> Just now i reproduced it at home with the DVB-S setup, running
> dvbrowse and then tuning in all Astra 19.2e transponders and the
> result was the same.
> 
> I am using SUSE 9.3 with kernel 2.6.11.4, there are no SUSE-specific
> DVB patches in the kernel.
> 
> Has anybody else seen something like that? I first suspected that
> the cinergyT2 driver might be fubar, but now it looks more like a
> general problem in sections handling.

VDR does EPG scanning all the time, if there's be a leak I guess
someone had noticed already.

How do you measure the "10MB kernel memory lost"?

Johannes




More information about the linux-dvb mailing list