[Live-devel] rtsp proxy: memory leak

agritsay at cnord.ru agritsay at cnord.ru
Wed Feb 27 22:39:00 PST 2013


Hello,

I believe I found a huge memory leak in the rtsp proxy server. The
problem is that I can only reliably reproduce it on qemu-arm or
physical armv7 device. It doesn't happen when I run rtsp proxy on my
x86-64 machine. Moreover, it only reveals when there are four or more
clients connected to the proxy server: everything works fine
when there are just three clients (memory usage stays at the level of
about 6 MiB) but when the fourth client connects, memory consumption
increases very quickly until the process gets killed by oom killer.

Unfortunately I can not use valgrind for debugging the leak because it
is not available on the platforms the problem is reproducible on.

What can be done in order to debug the leak? Or maybe I'm just doing
something wrong and this behaviour is sort of expected?

Thanks!

--
Anton Gritsay


More information about the live-devel mailing list