gstrtpdec - memory leak

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

gstrtpdec - memory leak

Krzysztof Błaszkowski
Hi folks,

Haven't i told already there is a memory leak ?

damn, what's wrong with you ?

shall the gst_rtp_dec_chain_rtcp() dereference buffer in bad_packet path or if
there is no HAVE_RTCP ?

i do have such video server which doesn't stream audio but every couple
seconds it sends 48 bytes to udpsrc for audio. then these are collected by
gst_base_src_get_range() every time with new buffer.

if the gst_rtp_dec_chain_rtcp() misses gst_buffer_unref() here is the patch
included and now it works as expected.

seems that plugins-good-10.15 miss that patch too. there may be more places
which require buffer dereferencing but review code by yourself.

i'm going to unsubscribe from this list.

regards,
Krzysztof Blaszkowski

------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

rtpdec-mem-leak.diff (554 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: gstrtpdec - memory leak

Wim Taymans
On Thu, 2009-06-25 at 13:04 +0200, Krzysztof Błaszkowski wrote:
> Hi folks,
>
> Haven't i told already there is a memory leak ?
>
> damn, what's wrong with you ?

Messages on this list are lossy. The correct place to put bugs and
patches (such as yours) is in bugzilla.

I've commited your patch in git now but please use bugzilla in the
future if you care about it not getting lost.

Wim

>
> shall the gst_rtp_dec_chain_rtcp() dereference buffer in bad_packet path or if
> there is no HAVE_RTCP ?
>
> i do have such video server which doesn't stream audio but every couple
> seconds it sends 48 bytes to udpsrc for audio. then these are collected by
> gst_base_src_get_range() every time with new buffer.
>
> if the gst_rtp_dec_chain_rtcp() misses gst_buffer_unref() here is the patch
> included and now it works as expected.
>
> seems that plugins-good-10.15 miss that patch too. there may be more places
> which require buffer dereferencing but review code by yourself.
>
> i'm going to unsubscribe from this list.
>
> regards,
> Krzysztof Blaszkowski
> ------------------------------------------------------------------------------
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstrtpdec - memory leak

Edward Hervey
Administrator
In reply to this post by Krzysztof Błaszkowski
On Thu, 2009-06-25 at 13:04 +0200, Krzysztof Błaszkowski wrote:
> Hi folks,
>
> Haven't i told already there is a memory leak ?
>
> damn, what's wrong with you ?

  ... That kind of attitude will just lead us to *REALLY* ignore you.

  Bugs should be filed in bugzilla, do so and it will be fixed promptly.

>
> i'm going to unsubscribe from this list.

  We much appreciate any effort to reduce the signal-to-noise ratio on
this channel,

     Edward

>
> regards,
> Krzysztof Blaszkowski
> ------------------------------------------------------------------------------
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstrtpdec - memory leak

Krzysztof Błaszkowski
On Thursday 25 June 2009 13:29, Edward Hervey wrote:
> On Thu, 2009-06-25 at 13:04 +0200, Krzysztof Błaszkowski wrote:
> > Hi folks,
> >
> > Haven't i told already there is a memory leak ?
> >
> > damn, what's wrong with you ?
>
>   ... That kind of attitude will just lead us to *REALLY* ignore you.

actually you have ignored me already.

yeah, big-shot Mr, think this if i ignored you and didn't post this message
you would enjoy your work loosing memory constantly from very long time.

>
>   Bugs should be filed in bugzilla, do so and it will be fixed promptly.
>
> > i'm going to unsubscribe from this list.
>
>   We much appreciate any effort to reduce the signal-to-noise ratio on
> this channel,

welcome. maybe you are that noise. better put your hands on rtp/rtsp
implementation.

Krzysztof Blaszkowski

>
>      Edward
>
> > regards,
> > Krzysztof Blaszkowski
> > -------------------------------------------------------------------------
> >----- _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
> ---------------------------------------------------------------------------
>--- _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel