[Bug 774029] New: vaapiwindow: wayland: fix surface leaks.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 7 06:48:39 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=774029

            Bug ID: 774029
           Summary: vaapiwindow: wayland: fix surface leaks.
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer-vaapi
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: zzoon at igalia.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: bsreerenj at gmail.com, vjaquez at igalia.com
     GNOME version: ---

Reproduce step:
1. running GST_DEBUG="GST_TRACER:7,2" GST_TRACERS="leaks" gst-play-1.0
sample.mp4
on *Wayland*.
2. Just quit.

We can see the following log.

0:00:01.269680384   465      0x1c0aac0 TRACE             GST_TRACER :0::
object-alive, type-name=(string)GstVaapiDisplayWayland,
address=(gpointer)0x7fc964064230, description=(string)<vaapidisplaywayland1>,
ref-count=(uint)4, trace=(string);

Note that this leak happens only whe the tested media is rendering with crop.


In addition, this leak leads to crash when playing videos in playlist by
gst-play.

Reproduce step:
1. Running gst-play-1.0 sample1.mp4 sample2.mp4 on *Wayland*
2. Press 'n' to skip to next video.
3. Crashed after about 1 sec.

This is because VaapiDisplayWayland is not destroyed properly(because of leak)
when skipping to the next one.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list