From: Darrin Ritter <darrinritter@optusnet.com.au>
To: linux-dvb@linuxtv.org
Subject: [linux-dvb] Conexant CX23880 suspected driver memory leak
Date: Thu, 10 Apr 2008 15:31:21 +0930 [thread overview]
Message-ID: <47FDAD31.6030901@optusnet.com.au> (raw)
Hi All,
Whilst helping in the development of me-tv:
http://launchpad.net/me-tv/
it was discovered that there was a memory leak that uses up memory at an
approximate rate of 1Mb per 5min.
This cam be duplicated by simply using the me-tv (or klear) application
and in my case the winfast DVT2000H card and using the gnome system
monitor, the memory usage rises steadily and linearly.
It became apparent that the problem was driver based as some people were
using different devices and weren't experiencing the same problems.
The kernel details are as follows:
dv@StudioMachine:~/.me-tv$ uname -r
2.6.22-14-generic
running Ubuntu 7.10
The device details are:
root@StudioMachine:/home/dv# lspci |grep CX
00:0b.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI
Video and Audio Decoder (rev 05)
00:0b.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and
Audio Decoder [Audio Port] (rev 05)
00:0b.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and
Audio Decoder [MPEG Port] (rev 05)
The following are excerpts from the discussion with the me-tv
development team:
It was initially thought that the problem started with version
0.5.25 so I did some testing this morning on channel 10 (Standard
Definition without EPG started) and found the following:
I recompiled v 0.5.23 and v 0.5.24 and tested them by watching the
gnome system monitor, at no time did the Memory usage go down during the
test.
0.5.23
Time Memory usage
11:05 26.5MB
11.20 28.9MB
11:30 31.3MB
0.5.24
10:05 25.8MB
10:20 30.6MB
Now the interesting thing is I also tested Klear 0.6 (distro
provided binaries) and got the following results:
klear v0.6
11:50 24.0MB
12:20 29.0MB
12:35 31.4MB
To me this proves to problem lies elsewhere either in the Xine code
or my suspicion is in the driver code, This would explain why it isn't
showing in up on some people's systems
The following test isolates the fault from the me-tv application and any
code above the drivers:
If you put a recorded file at ~/.me-tv/test.ts and change your
frontend device to some path (in me-tv.config) to a path that does not
exist then Me TV will fail to open the device and then try to play
~/.me-tv/test.ts. This will completely bypass the DVB device and you
should be able to determine if the driver is at fault.
I tested the application for an hour and the memory usage stayed at a
steady 14.6 Mb, given the previous tests I would have expected the
memory usage to rise to approx 26.6 Mb
thanks Darrin Ritter
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
next reply other threads:[~2008-04-10 6:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-10 6:01 Darrin Ritter [this message]
2008-04-10 12:52 ` [linux-dvb] Conexant CX23880 suspected driver memory leak Steven Toth
2008-04-10 14:32 ` Darrin Ritter
2008-04-13 13:25 ` Darrin Ritter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47FDAD31.6030901@optusnet.com.au \
--to=darrinritter@optusnet.com.au \
--cc=linux-dvb@linuxtv.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox