[Bug 767483] Maximum number of clients reached, memory accumulation

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jun 21 07:23:12 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=767483

--- Comment #17 from Joona Laine <joonarlaine at gmail.com> ---
Thanks!

A sidenote on the matter: I used to have the following environment set up:
GST_GL_WINDOW=x11
GST_GL_API=egl
GST_GL_PLATFORM=gles

That was due to some forum that suggested having that combination of
environment variable. This caused my program to crush in random situations;
sometimes my program ran fine for several minutes, but sometimes it crashed
after a couple of tens of seconds. Also sometimes when changing to another
camera source the program complained about EGL_BAD_ALLOC. 

Well, now I tried the following combination:
GST_GL_WINDOW=x11
GST_GL_API=glx
GST_GL_PLATFORM=opengl

with addition of XInitThreads(). This fixed my problem. More precisely some of
it. My program doesn't crash anymore, but the memory still slowly accumulates
and I keep getting these messages in the debug log:

0:12:21.238679233  2762 0x7f38642ffd90 WARN  rtspsrc
gstrtspsrc.c:5477:gst_rtspsrc_try_send:<rtspsrc388> receive interrupted
0:12:21.238687020  2762 0x7f38642ffd90 WARN  rtspsrc
gstrtspsrc.c:7500:gst_rtspsrc_pause:<rtspsrc388> PAUSE interrupted
0:12:21.245145826  2762 0x7f38642ffd90 WARN  rtspsrc
gstrtspsrc.c:5477:gst_rtspsrc_try_send:<rtspsrc388> receive interrupted
0:12:21.245156453  2762 0x7f38642ffd90 WARN  rtspsrc
gstrtspsrc.c:6971:gst_rtspsrc_close:<rtspsrc388> TEARDOWN interrupted

I believe the number after rtspsrc388 refers to the index of the connection. So
there are a lot of connections, most probably because the elements are poorly
linked, therefore not released.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list