[Bug 767483] Maximum number of clients reached, memory accumulation
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Jun 17 10:06:31 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=767483
--- Comment #8 from Joona Laine <joonarlaine at gmail.com> ---
I tested that just now and changing vaapidecode to avdec_h264 has no effect.
<<< Closing player "Axis_Q3709-PVE_Center_Stream"
0:00:47.725437202 6261 0x7efdf8002cf0 WARN rtspsrc
gstrtspsrc.c:5477:gst_rtspsrc_try_send:<rtspsrc17> receive interrupted
0:00:47.725447039 6261 0x7efdf8002cf0 WARN rtspsrc
gstrtspsrc.c:7500:gst_rtspsrc_pause:<rtspsrc17> PAUSE interrupted
0:00:47.726991959 6261 0x7efdf8002cf0 WARN rtspsrc
gstrtspsrc.c:5477:gst_rtspsrc_try_send:<rtspsrc17> receive interrupted
0:00:47.727000353 6261 0x7efdf8002cf0 WARN rtspsrc
gstrtspsrc.c:6971:gst_rtspsrc_close:<rtspsrc17> TEARDOWN interrupted
<<< Closing player "Axis_Q3709-PVE_Center_Stream"
0:00:47.729601257 6261 0x7efe30002680 WARN rtspsrc
gstrtspsrc.c:5477:gst_rtspsrc_try_send:<rtspsrc18> receive interrupted
0:00:47.729619725 6261 0x7efe30002680 WARN rtspsrc
gstrtspsrc.c:7500:gst_rtspsrc_pause:<rtspsrc18> PAUSE interrupted
0:00:47.734494498 6261 0x7efe30002680 WARN rtspsrc
gstrtspsrc.c:5477:gst_rtspsrc_try_send:<rtspsrc18> receive interrupted
0:00:47.734509126 6261 0x7efe30002680 WARN rtspsrc
gstrtspsrc.c:6971:gst_rtspsrc_close:<rtspsrc18> TEARDOWN interrupted
<<< Closing player "Axis_Q3709-PVE_Center_Stream"
0:00:47.738842101 6261 0x7efe500022d0 WARN rtspsrc
gstrtspsrc.c:5477:gst_rtspsrc_try_send:<rtspsrc19> receive interrupted
0:00:47.738859005 6261 0x7efe500022d0 WARN rtspsrc
gstrtspsrc.c:7500:gst_rtspsrc_pause:<rtspsrc19> PAUSE interrupted
0:00:47.740214863 6261 0x7efe500022d0 WARN rtspsrc
gstrtspsrc.c:5477:gst_rtspsrc_try_send:<rtspsrc19> receive interrupted
0:00:47.740222776 6261 0x7efe500022d0 WARN rtspsrc
gstrtspsrc.c:6971:gst_rtspsrc_close:<rtspsrc19> TEARDOWN interrupted
<<< Closing player "Axis_Q3709-PVE_Center_Stream"
0:00:47.743138268 6261 0x7efeac038370 WARN rtspsrc
gstrtspsrc.c:5477:gst_rtspsrc_try_send:<rtspsrc20> receive interrupted
0:00:47.743149911 6261 0x7efeac038370 WARN rtspsrc
gstrtspsrc.c:7500:gst_rtspsrc_pause:<rtspsrc20> PAUSE interrupted
0:00:47.744779745 6261 0x7efeac038370 WARN rtspsrc
gstrtspsrc.c:5477:gst_rtspsrc_try_send:<rtspsrc20> receive interrupted
0:00:47.744791132 6261 0x7efeac038370 WARN rtspsrc
gstrtspsrc.c:6971:gst_rtspsrc_close:<rtspsrc20> TEARDOWN interrupted
Thos are the last debug messages I get before it crashes. So I'm able to make
20 new pipelines before it goes down.
There are situations where I'm having two streams from the same camera playing
at the same time.
Could it be that the rtspsrc elements don't destroy when I delete the pipeline?
Here's my player class destructor:
Player::~Player()
{
if (_pipeline) {
qDebug() << " <<< Closing player " << this->name;
this->stop();
_source->unlink(_depay);
stopPipelineWatch();
releaseVideoSink();
_pipeline->setState(QGst::StateNull);
}
}
It is inherited from QWidget and QGst::Ui::VideoWidget.
The source and rtph264depay are linked in the same function with all the other
elements, but they are linked again in onPadAdded callback. Can that have
something to do with this?
--
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