RESOLVED FIXED 180311
[GStreamer] GstCaps leaked in MediaPlayerPrivateGStreamer::createGSTPlayBin
https://bugs.webkit.org/show_bug.cgi?id=180311
Summary [GStreamer] GstCaps leaked in MediaPlayerPrivateGStreamer::createGSTPlayBin
Carlos Garcia Campos
Reported 2017-12-02 08:38:12 PST
==2990== 600 (96 direct, 504 indirect) bytes in 3 blocks are definitely lost in loss record 22,395 of 23,856 ==2990== at 0x4C2ABEF: malloc (vg_replace_malloc.c:299) ==2990== by 0xFA19A88: g_malloc (gmem.c:94) ==2990== by 0xFA30D35: g_slice_alloc (gslice.c:1025) ==2990== by 0xD3EE5A2: ??? (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.1203.0) ==2990== by 0xD398E18: gst_caps_new_empty_simple (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.1203.0) ==2990== by 0x760C97F: WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin() (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37.26.0) ==2990== by 0x760CDB7: WebCore::MediaPlayerPrivateGStreamer::load(WTF::String const&) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37.26.0) ==2990== by 0x718F512: WebCore::MediaPlayer::loadWithNextMediaEngine(WebCore::MediaPlayerFactory const*) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.\ so.37.26.0) ==2990== by 0x718F8C4: WebCore::MediaPlayer::load(WebCore::URL const&, WebCore::ContentType const&, WTF::String const&) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/lib\ webkit2gtk-4.0.so.37.26.0) ==2990== by 0x6E0EC71: WebCore::HTMLMediaElement::loadResource(WebCore::URL const&, WebCore::ContentType&, WTF::String const&) (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/\ lib/libwebkit2gtk-4.0.so.37.26.0) ==2990== by 0x6E0F6BA: WTF::Function<void ()>::CallableWrapper<WebCore::HTMLMediaElement::selectMediaResource()::{lambda()#1}>::call() (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/\ Release/lib/libwebkit2gtk-4.0.so.37.26.0) ==2990== by 0x70D26B4: WebCore::TaskDispatcher<WebCore::Timer>::dispatchOneTask() (in /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37.26.0)
Attachments
Patch (1.91 KB, patch)
2017-12-02 08:40 PST, Carlos Garcia Campos
mcatanzaro: review+
Carlos Garcia Campos
Comment 1 2017-12-02 08:40:42 PST
Carlos Garcia Campos
Comment 2 2017-12-03 01:07:35 PST
Radar WebKit Bug Importer
Comment 3 2017-12-03 01:08:53 PST
Note You need to log in before you can comment on or make changes to this bug.