[gstreamer-bugs] [Bug 590797] New: Memory leak in rtpsource.c
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Tue Aug 4 22:36:54 PDT 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=590797
GStreamer | gst-plugins-bad | Ver: 0.10.26
Summary: Memory leak in rtpsource.c
Product: GStreamer
Version: 0.10.26
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: csxnju at sogou.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Please describe the problem:
when there is bad sequence rtp, there is memory leak of one gstbuffer.
Steps to reproduce:
1. under streaming media data environment, large bitrate (>2Mbps)
2. lost rtp or resent lost rtp
3. there is bad sequence rtp in function: rtp_source_process_rtp
Actual results:
memory leak, process crash
Expected results:
Does this happen every time?
no, sometimes. when there is bad sequence rtp
Other information:
I have fixed this.
Just tell others.
add this to rtp_source_process_rtp function:
bad_sequence:
{
GST_WARNING ("unacceptable seqnum received");
static int bytes = 0 ;
bytes += sizeof(*buffer) ;
bytes += GST_BUFFER_SIZE(buffer);
fprintf(stderr, "--ric rtp mleak[%d] kB\n", bytes/1024);
gst_buffer_unref(buffer);
return GST_FLOW_OK;
}
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=590797.
More information about the Gstreamer-bugs
mailing list