Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387717 - media-libs/gst-plugins-good-0.10.30: memory leak in module videomixer2
Summary: media-libs/gst-plugins-good-0.10.30: memory leak in module videomixer2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2011-10-19 17:39 UTC by lexa
Modified: 2012-12-02 19:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch eliminates leakage (3.patch,1.07 KB, patch)
2011-10-19 17:46 UTC, lexa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description lexa 2011-10-19 17:39:37 UTC
I try run example from videomixer2 :
 gst-launch-0.10 videotestsrc pattern=1 ! video/x-raw-rgb, framerate=\(fraction\)10/1, width=100, height=100 ! videomixer2 name=mix ! ffmpegcolorspace ! ximagesink videotestsrc ! video/x-raw-rgb, framerate=\(fraction\)5/1, width=320, height=240 ! mix.

It working, i see picture with colored lines and rectangle with noise; at the
same time process gst-launch eat memory. memory consumption grows untill oom
killer will not  kill the process;


Reproducible: Always

Steps to Reproduce:
1.execute some command that using module videomixer2. for example: 
gst-launch-0.10 videotestsrc pattern=1 ! video/x-raw-yuv,format=\(fourcc\)AYUV,framerate=\(fraction\)10/1,width=100,height=100 !  videobox border-alpha=0 top=-70 bottom=-70 right=-220 ! videomixer2 name=mix sink_0::alpha=0.7 sink_1::alpha=0.5 !  ffmpegcolorspace ! fakesink  videotestsrc ! video/x-raw-yuv,format=\(fourcc\)AYUV,framerate=\(fraction\)5/1,width=320,height=240
! mix.

2. wait while gstreamer eats ram.
3.


Expected Results:  
Memory consumption must not grow.
Comment 1 lexa 2011-10-19 17:46:12 UTC
Created attachment 290255 [details, diff]
patch eliminates leakage

This tiny patch proposed by developer gstreamer and fully eliminates leakage in the module videomixer2. I belive you should add this patch to portage tree right now do not wait release of gstreamer with amended.
Comment 2 Pacho Ramos gentoo-dev 2011-10-19 20:42:08 UTC
That URL is incorrect and this package doesn't belong to gnome maintainers ;)
Comment 3 Mart Raudsepp gentoo-dev 2011-10-20 04:53:16 UTC
I believe new upstream releases will happen soon. Though pre-releases first, which would still probably mean a couple weeks for new stable releases.
I don't think this memory leak is hit much, if at all, in general purpose gstreamer using desktop programs though. videomixer2 is more common in specific use cases, e.g putting together a security feed from multiple camera sources and such specific things.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2012-12-02 19:15:10 UTC
This should be fixed in 0.10.31 that has just been unmasked. If you still have 
problems, feel free to reopen. Thanks for reporting.