[Webkit-unassigned] [Bug 118473] [GTK] Leak: GstElement* leaking in MediaPlayerPrivateGStreamer::createAudioSink()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 9 02:35:10 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=118473
--- Comment #11 from Brian Holt <brian.holt at samsung.com> 2013-07-09 02:37:10 PST ---
Some more detail about the origins of the leaks from the debug build:
Leak_StillReachable
40 bytes in 1 blocks are still reachable in loss record 335 of 1,176
malloc (/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
...
gst_element_factory_make (/WebKitBuild/Dependencies/Source/gstreamer/gst/gstelementfactory.c:446)
WebCore::MediaPlayerPrivateGStreamer::createAudioSink() (/WebKitBuild/Debug/../../Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:1564)
GstElement* scale = gst_element_factory_make("scaletempo", 0);
Leak_StillReachable
554 bytes in 41 blocks are still reachable in loss record 855 of 1,176
malloc (/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
...
gst_element_factory_make (/WebKitBuild/Dependencies/Source/gstreamer/gst/gstelementfactory.c:446)
WebCore::MediaPlayerPrivateGStreamer::createAudioSink() (/WebKitBuild/Debug/../../Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:1570)
GstElement* convert = gst_element_factory_make("audioconvert", 0);
Leak_StillReachable
576 bytes in 4 blocks are still reachable in loss record 836 of 1,139
realloc (/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
...
gst_element_factory_make (/WebKitBuild/Dependencies/Source/gstreamer/gst/gstelementfactory.c:446)
WebCore::MediaPlayerPrivateGStreamer::createAudioSink() (/WebKitBuild/Debug/../../Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:1571)
GstElement* resample = gst_element_factory_make("audioresample", 0);
Leak_StillReachable
304 bytes in 10 blocks are still reachable in loss record 750 of 1,176
malloc (/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
...
gst_element_factory_make (/WebKitBuild/Dependencies/Source/gstreamer/gst/gstelementfactory.c:446)
WebCore::MediaPlayerPrivateGStreamer::createAudioSink() (/WebKitBuild/Debug/../../Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:1572)
GstElement* sink = gst_element_factory_make("autoaudiosink", 0);
Leak_StillReachable
120 bytes in 3 blocks are still reachable in loss record 525 of 1,139
malloc (/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
...
gst_element_factory_make (/WebKitBuild/Dependencies/Source/gstreamer/gst/gstelementfactory.c:446)
WebCore::MediaPlayerPrivateGStreamer::createAudioSink() (/WebKitBuild/Debug/../../Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:1578)
GstElement* audioSink = gst_bin_new("audio-sink");
Additionally there are leaks at
Leak_StillReachable
3,928 bytes in 49 blocks are still reachable in loss record 1,016 of 1,138
calloc (/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
...
gst_element_factory_make (/WebKitBuild/Dependencies/Source/gstreamer/gst/gstelementfactory.c:446)
WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin() (/WebKitBuild/Debug/../../Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:1599)
m_playBin = gst_element_factory_make(gPlaybinName, "play");
Leak_StillReachable
3,104 bytes in 28 blocks are still reachable in loss record 1,008 of 1,139
calloc (/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
...
gst_element_factory_make (/WebKitBuild/Dependencies/Source/gstreamer/gst/gstelementfactory.c:446)
WebCore::MediaPlayerPrivateGStreamerBase::createVideoSink(_GstElement*) (/WebKitBuild/Debug/../../Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:563)
m_fpsSink = gst_element_factory_make("fpsdisplaysink", "sink");
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list