Bug 180311 - [GStreamer] GstCaps leaked in MediaPlayerPrivateGStreamer::createGSTPlayBin
Summary: [GStreamer] GstCaps leaked in MediaPlayerPrivateGStreamer::createGSTPlayBin
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk, InRadar
Depends on:
Blocks:
 
Reported: 2017-12-02 08:38 PST by Carlos Garcia Campos
Modified: 2017-12-03 01:08 PST (History)
3 users (show)

See Also:


Attachments
Patch (1.91 KB, patch)
2017-12-02 08:40 PST, Carlos Garcia Campos
mcatanzaro: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 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)
Comment 1 Carlos Garcia Campos 2017-12-02 08:40:42 PST
Created attachment 328232 [details]
Patch
Comment 2 Carlos Garcia Campos 2017-12-03 01:07:35 PST
Committed r225458: <https://trac.webkit.org/changeset/225458>
Comment 3 Radar WebKit Bug Importer 2017-12-03 01:08:53 PST
<rdar://problem/35817664>