wpesrc: memory leaks
wpesrc causes memory leaks even when pipeline is gone. Leak tracer confirms it:
0:00:21.987234471 2696461 0x55b4d1d032a0 TRACE GST_TRACER :0:: object-alive, type-name=(string)GstMemory, address=(gpointer)0x7fb26c023860, description=(string)0x7fb26c023860, ref-count=(uint)1, trace=(string)/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x773bc) [0x7fb31c0383bc]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoretracers.so(+0x9528) [0x7fb31b187528]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_mini_object_init+0x98) [0x7fb31c043eb8]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_memory_init+0x49) [0x7fb31c043259]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_memory_new_wrapped+0x63) [0x7fb31c0024b3]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_buffer_new_wrapped_full+0x4d) [0x7fb31c00d27d]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x7402) [0x7fb318680402]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xd813) [0x7fb318636813]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xf49b) [0x7fb31863849b]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x1759f) [0x7fb31864059f]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x10299) [0x7fb318639299]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x102c5) [0x7fb3186392c5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x6ff5) [0x7fb31b651ff5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x640a) [0x7fb31b65140a]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0xc628) [0x7fb31855e628]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0x89e2) [0x7fb31855a9e2]
/lib/x86_64-linux-gnu/libwayland-server.so.0(wl_event_loop_dispatch+0xca) [0x7fb31855c65a]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xfea1) [0x7fb318638ea1]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xff0c) [0x7fb318638f0c]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7fb31be89fbd]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52240) [0x7fb31be8a240]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83) [0x7fb31be8a533]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x5606) [0x7fb31867e606]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x7b931) [0x7fb31beb3931]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7fb31b9c2609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7fb31b8ce103]
;
0:00:21.987265349 2696461 0x55b4d1d032a0 TRACE GST_TRACER :0:: object-alive, type-name=(string)GstMemory, address=(gpointer)0x7fb3142db550, description=(string)0x7fb3142db550, ref-count=(uint)1, trace=(string)/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x773bc) [0x7fb31c0383bc]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoretracers.so(+0x9528) [0x7fb31b187528]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_mini_object_init+0x98) [0x7fb31c043eb8]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_memory_init+0x49) [0x7fb31c043259]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_memory_new_wrapped+0x63) [0x7fb31c0024b3]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_buffer_new_wrapped_full+0x4d) [0x7fb31c00d27d]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x7402) [0x7fb318680402]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xd813) [0x7fb318636813]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xf49b) [0x7fb31863849b]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x1759f) [0x7fb31864059f]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x10299) [0x7fb318639299]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x102c5) [0x7fb3186392c5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x6ff5) [0x7fb31b651ff5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x640a) [0x7fb31b65140a]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0xc628) [0x7fb31855e628]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0x89e2) [0x7fb31855a9e2]
/lib/x86_64-linux-gnu/libwayland-server.so.0(wl_event_loop_dispatch+0xca) [0x7fb31855c65a]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xfea1) [0x7fb318638ea1]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xff0c) [0x7fb318638f0c]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7fb31be89fbd]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52240) [0x7fb31be8a240]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83) [0x7fb31be8a533]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x5606) [0x7fb31867e606]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x7b931) [0x7fb31beb3931]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7fb31b9c2609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7fb31b8ce103]
;
0:00:21.987283772 2696461 0x55b4d1d032a0 TRACE GST_TRACER :0:: object-alive, type-name=(string)GstMemory, address=(gpointer)0x7fb26c023aa0, description=(string)0x7fb26c023aa0, ref-count=(uint)1, trace=(string)/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x773bc) [0x7fb31c0383bc]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoretracers.so(+0x9528) [0x7fb31b187528]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_mini_object_init+0x98) [0x7fb31c043eb8]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_memory_init+0x49) [0x7fb31c043259]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_memory_new_wrapped+0x63) [0x7fb31c0024b3]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_buffer_new_wrapped_full+0x4d) [0x7fb31c00d27d]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x7402) [0x7fb318680402]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xd813) [0x7fb318636813]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xf49b) [0x7fb31863849b]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x1759f) [0x7fb31864059f]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x10299) [0x7fb318639299]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x102c5) [0x7fb3186392c5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x6ff5) [0x7fb31b651ff5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x640a) [0x7fb31b65140a]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0xc628) [0x7fb31855e628]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0x89e2) [0x7fb31855a9e2]
/lib/x86_64-linux-gnu/libwayland-server.so.0(wl_event_loop_dispatch+0xca) [0x7fb31855c65a]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xfea1) [0x7fb318638ea1]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xff0c) [0x7fb318638f0c]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7fb31be89fbd]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52240) [0x7fb31be8a240]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83) [0x7fb31be8a533]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x5606) [0x7fb31867e606]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x7b931) [0x7fb31beb3931]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7fb31b9c2609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7fb31b8ce103]
;
0:00:21.987297049 2696461 0x55b4d1d032a0 TRACE GST_TRACER :0:: object-alive, type-name=(string)GstMemory, address=(gpointer)0x7fb26c0103f0, description=(string)0x7fb26c0103f0, ref-count=(uint)1, trace=(string)/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x773bc) [0x7fb31c0383bc]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoretracers.so(+0x9528) [0x7fb31b187528]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_mini_object_init+0x98) [0x7fb31c043eb8]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_memory_init+0x49) [0x7fb31c043259]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_memory_new_wrapped+0x63) [0x7fb31c0024b3]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_buffer_new_wrapped_full+0x4d) [0x7fb31c00d27d]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x7402) [0x7fb318680402]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xd813) [0x7fb318636813]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xf49b) [0x7fb31863849b]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x1759f) [0x7fb31864059f]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x10299) [0x7fb318639299]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x102c5) [0x7fb3186392c5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x6ff5) [0x7fb31b651ff5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x640a) [0x7fb31b65140a]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0xc628) [0x7fb31855e628]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0x89e2) [0x7fb31855a9e2]
/lib/x86_64-linux-gnu/libwayland-server.so.0(wl_event_loop_dispatch+0xca) [0x7fb31855c65a]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xfea1) [0x7fb318638ea1]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xff0c) [0x7fb318638f0c]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7fb31be89fbd]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52240) [0x7fb31be8a240]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83) [0x7fb31be8a533]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x5606) [0x7fb31867e606]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x7b931) [0x7fb31beb3931]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7fb31b9c2609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7fb31b8ce103]
;
0:00:21.987309078 2696461 0x55b4d1d032a0 TRACE GST_TRACER :0:: object-alive, type-name=(string)GstMemory, address=(gpointer)0x7fb3142db700, description=(string)0x7fb3142db700, ref-count=(uint)1, trace=(string)/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x773bc) [0x7fb31c0383bc]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoretracers.so(+0x9528) [0x7fb31b187528]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_mini_object_init+0x98) [0x7fb31c043eb8]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_memory_init+0x49) [0x7fb31c043259]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_memory_new_wrapped+0x63) [0x7fb31c0024b3]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_buffer_new_wrapped_full+0x4d) [0x7fb31c00d27d]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x7402) [0x7fb318680402]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xd813) [0x7fb318636813]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xf49b) [0x7fb31863849b]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x1759f) [0x7fb31864059f]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x10299) [0x7fb318639299]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x102c5) [0x7fb3186392c5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x6ff5) [0x7fb31b651ff5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x640a) [0x7fb31b65140a]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0xc628) [0x7fb31855e628]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0x89e2) [0x7fb31855a9e2]
/lib/x86_64-linux-gnu/libwayland-server.so.0(wl_event_loop_dispatch+0xca) [0x7fb31855c65a]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xfea1) [0x7fb318638ea1]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xff0c) [0x7fb318638f0c]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7fb31be89fbd]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52240) [0x7fb31be8a240]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83) [0x7fb31be8a533]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x5606) [0x7fb31867e606]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x7b931) [0x7fb31beb3931]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7fb31b9c2609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7fb31b8ce103]
;
0:00:21.987325470 2696461 0x55b4d1d032a0 TRACE GST_TRACER :0:: object-alive, type-name=(string)GstCaps, address=(gpointer)0x7fb3141ae0a0, description=(string)video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)1/1, texture-target=(string)2D; video/x-raw, format=(string)BGRA, ref-count=(uint)1, trace=(string)/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x773bc) [0x7fb31c0383bc]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoretracers.so(+0x9528) [0x7fb31b187528]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_mini_object_init+0x98) [0x7fb31c043eb8]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_caps_new_empty+0x38) [0x7fb31c016288]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_caps_from_string+0x33) [0x7fb31c019cf3]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x7d8f) [0x7fb318680d8f]
/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_class_ref+0x471) [0x7fb31bf9a161]
/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new_valist+0x681) [0x7fb31bf7d5e1]
/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new+0x9d) [0x7fb31bf7d6cd]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_element_factory_create+0xa7) [0x7fb31c02ef47]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_element_factory_make+0x5e) [0x7fb31c02f1ee]
target/debug/app(+0x4b4f22) [0x55b4cf110f22]
...
target/debug/app(+0xdaf5ea) [0x55b4cfa0b5ea]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7fb31b9c2609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7fb31b8ce103]
;
0:00:21.987353700 2696461 0x55b4d1d032a0 TRACE GST_TRACER :0:: object-alive, type-name=(string)GstCaps, address=(gpointer)0x7fb2fc278280, description=(string)video/x-raw, format=(string)BGRA, width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, ref-count=(uint)1, trace=(string)/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x773bc) [0x7fb31c0383bc]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoretracers.so(+0x9528) [0x7fb31b187528]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_mini_object_init+0x98) [0x7fb31c043eb8]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_caps_new_empty+0x38) [0x7fb31c016288]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_caps_intersect_full+0x137) [0x7fb31c018ae7]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so(+0xe2c3) [0x7fb319b4d2c3]
/lib/x86_64-linux-gnu/libgstbase-1.0.so.0(+0x4aba1) [0x7fb31c156ba1]
/lib/x86_64-linux-gnu/libgstbase-1.0.so.0(+0x4e843) [0x7fb31c15a843]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_pad_query+0x3c8) [0x7fb31c04ff38]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_pad_peer_query+0x34b) [0x7fb31c05069b]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_pad_peer_query_caps+0xec) [0x7fb31c08f59c]
/lib/x86_64-linux-gnu/libgstbase-1.0.so.0(+0x47770) [0x7fb31c153770]
/lib/x86_64-linux-gnu/libgstbase-1.0.so.0(+0x41939) [0x7fb31c14d939]
/lib/x86_64-linux-gnu/libgstbase-1.0.so.0(+0x45414) [0x7fb31c151414]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0xbf667) [0x7fb31c080667]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x7c1d4) [0x7fb31beb41d4]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x7b931) [0x7fb31beb3931]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7fb31b9c2609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7fb31b8ce103]
;
0:00:21.987366947 2696461 0x55b4d1d032a0 TRACE GST_TRACER :0:: object-alive, type-name=(string)GstBuffer, address=(gpointer)0x7fb2d00137e0, description=(string)buffer: 0x7fb2d00137e0, pts 99:99:99.999999999, dts 99:99:99.999999999, dur 99:99:99.999999999, size 3686400, offset none, offset_end none, flags 0x0, ref-count=(uint)1, trace=(string)/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x773bc) [0x7fb31c0383bc]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoretracers.so(+0x9528) [0x7fb31b187528]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_mini_object_init+0x98) [0x7fb31c043eb8]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_buffer_new+0x81) [0x7fb31c00c241]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_buffer_new_wrapped_full+0x2a) [0x7fb31c00d25a]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x7402) [0x7fb318680402]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xd813) [0x7fb318636813]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xf49b) [0x7fb31863849b]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x1759f) [0x7fb31864059f]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x10299) [0x7fb318639299]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x102c5) [0x7fb3186392c5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x6ff5) [0x7fb31b651ff5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x640a) [0x7fb31b65140a]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0xc628) [0x7fb31855e628]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0x89e2) [0x7fb31855a9e2]
/lib/x86_64-linux-gnu/libwayland-server.so.0(wl_event_loop_dispatch+0xca) [0x7fb31855c65a]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xfea1) [0x7fb318638ea1]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xff0c) [0x7fb318638f0c]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7fb31be89fbd]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52240) [0x7fb31be8a240]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83) [0x7fb31be8a533]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x5606) [0x7fb31867e606]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x7b931) [0x7fb31beb3931]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7fb31b9c2609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7fb31b8ce103]
;
0:00:21.987380082 2696461 0x55b4d1d032a0 TRACE GST_TRACER :0:: object-alive, type-name=(string)GstBuffer, address=(gpointer)0x7fb2c4065d80, description=(string)buffer: 0x7fb2c4065d80, pts 99:99:99.999999999, dts 99:99:99.999999999, dur 99:99:99.999999999, size 3686400, offset none, offset_end none, flags 0x0, ref-count=(uint)1, trace=(string)/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x773bc) [0x7fb31c0383bc]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoretracers.so(+0x9528) [0x7fb31b187528]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_mini_object_init+0x98) [0x7fb31c043eb8]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_buffer_new+0x81) [0x7fb31c00c241]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_buffer_new_wrapped_full+0x2a) [0x7fb31c00d25a]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x7402) [0x7fb318680402]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xd813) [0x7fb318636813]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xf49b) [0x7fb31863849b]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x1759f) [0x7fb31864059f]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x10299) [0x7fb318639299]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x102c5) [0x7fb3186392c5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x6ff5) [0x7fb31b651ff5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x640a) [0x7fb31b65140a]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0xc628) [0x7fb31855e628]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0x89e2) [0x7fb31855a9e2]
/lib/x86_64-linux-gnu/libwayland-server.so.0(wl_event_loop_dispatch+0xca) [0x7fb31855c65a]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xfea1) [0x7fb318638ea1]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xff0c) [0x7fb318638f0c]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7fb31be89fbd]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52240) [0x7fb31be8a240]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83) [0x7fb31be8a533]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x5606) [0x7fb31867e606]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x7b931) [0x7fb31beb3931]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7fb31b9c2609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7fb31b8ce103]
;
0:00:21.987391653 2696461 0x55b4d1d032a0 TRACE GST_TRACER :0:: object-alive, type-name=(string)GstBuffer, address=(gpointer)0x7fb2d0013a20, description=(string)buffer: 0x7fb2d0013a20, pts 99:99:99.999999999, dts 99:99:99.999999999, dur 99:99:99.999999999, size 3686400, offset none, offset_end none, flags 0x0, ref-count=(uint)1, trace=(string)/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x773bc) [0x7fb31c0383bc]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoretracers.so(+0x9528) [0x7fb31b187528]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_mini_object_init+0x98) [0x7fb31c043eb8]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_buffer_new+0x81) [0x7fb31c00c241]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_buffer_new_wrapped_full+0x2a) [0x7fb31c00d25a]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x7402) [0x7fb318680402]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xd813) [0x7fb318636813]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xf49b) [0x7fb31863849b]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x1759f) [0x7fb31864059f]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x10299) [0x7fb318639299]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x102c5) [0x7fb3186392c5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x6ff5) [0x7fb31b651ff5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x640a) [0x7fb31b65140a]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0xc628) [0x7fb31855e628]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0x89e2) [0x7fb31855a9e2]
/lib/x86_64-linux-gnu/libwayland-server.so.0(wl_event_loop_dispatch+0xca) [0x7fb31855c65a]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xfea1) [0x7fb318638ea1]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xff0c) [0x7fb318638f0c]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7fb31be89fbd]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52240) [0x7fb31be8a240]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83) [0x7fb31be8a533]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x5606) [0x7fb31867e606]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x7b931) [0x7fb31beb3931]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7fb31b9c2609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7fb31b8ce103]
;
0:00:21.987404995 2696461 0x55b4d1d032a0 TRACE GST_TRACER :0:: object-alive, type-name=(string)GstBuffer, address=(gpointer)0x7fb2d00136c0, description=(string)buffer: 0x7fb2d00136c0, pts 99:99:99.999999999, dts 99:99:99.999999999, dur 99:99:99.999999999, size 3686400, offset none, offset_end none, flags 0x0, ref-count=(uint)1, trace=(string)/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x773bc) [0x7fb31c0383bc]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoretracers.so(+0x9528) [0x7fb31b187528]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_mini_object_init+0x98) [0x7fb31c043eb8]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_buffer_new+0x81) [0x7fb31c00c241]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_buffer_new_wrapped_full+0x2a) [0x7fb31c00d25a]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x7402) [0x7fb318680402]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xd813) [0x7fb318636813]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xf49b) [0x7fb31863849b]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x1759f) [0x7fb31864059f]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x10299) [0x7fb318639299]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x102c5) [0x7fb3186392c5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x6ff5) [0x7fb31b651ff5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x640a) [0x7fb31b65140a]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0xc628) [0x7fb31855e628]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0x89e2) [0x7fb31855a9e2]
/lib/x86_64-linux-gnu/libwayland-server.so.0(wl_event_loop_dispatch+0xca) [0x7fb31855c65a]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xfea1) [0x7fb318638ea1]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xff0c) [0x7fb318638f0c]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7fb31be89fbd]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52240) [0x7fb31be8a240]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83) [0x7fb31be8a533]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x5606) [0x7fb31867e606]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x7b931) [0x7fb31beb3931]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7fb31b9c2609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7fb31b8ce103]
;
0:00:21.987419726 2696461 0x55b4d1d032a0 TRACE GST_TRACER :0:: object-alive, type-name=(string)GstBuffer, address=(gpointer)0x7fb2c4127360, description=(string)buffer: 0x7fb2c4127360, pts 99:99:99.999999999, dts 99:99:99.999999999, dur 99:99:99.999999999, size 3686400, offset none, offset_end none, flags 0x0, ref-count=(uint)1, trace=(string)/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x773bc) [0x7fb31c0383bc]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoretracers.so(+0x9528) [0x7fb31b187528]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_mini_object_init+0x98) [0x7fb31c043eb8]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_buffer_new+0x81) [0x7fb31c00c241]
/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_buffer_new_wrapped_full+0x2a) [0x7fb31c00d25a]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x7402) [0x7fb318680402]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xd813) [0x7fb318636813]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xf49b) [0x7fb31863849b]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x1759f) [0x7fb31864059f]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x10299) [0x7fb318639299]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0x102c5) [0x7fb3186392c5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x6ff5) [0x7fb31b651ff5]
/lib/x86_64-linux-gnu/libffi.so.7(+0x640a) [0x7fb31b65140a]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0xc628) [0x7fb31855e628]
/lib/x86_64-linux-gnu/libwayland-server.so.0(+0x89e2) [0x7fb31855a9e2]
/lib/x86_64-linux-gnu/libwayland-server.so.0(wl_event_loop_dispatch+0xca) [0x7fb31855c65a]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xfea1) [0x7fb318638ea1]
/lib/x86_64-linux-gnu/libWPEBackend-fdo-1.0.so.1(+0xff0c) [0x7fb318638f0c]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7fb31be89fbd]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52240) [0x7fb31be8a240]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83) [0x7fb31be8a533]
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwpe.so(+0x5606) [0x7fb31867e606]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x7b931) [0x7fb31beb3931]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7fb31b9c2609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7fb31b8ce103]
;
Can be reproduced with:
export LIBGL_ALWAYS_SOFTWARE=true GST_TRACERS="leaks(stack-traces-flags=full)" GST_DEBUG=3,*TRACER*:7
gst-launch-1.0 wpesrc location=https://gstreamer.freedesktop.org/ num-buffers=10 ! video/x-raw, format=BGRA ! fakesink
@philn there is a suspicion it started happening or happening more with !1568 (merged) even though that one fixed segfaults.
Edited by Nazar Mokrynskyi