GNOME Bugzilla – Bug 775746
Threads leaking after freeing up qmlglsink
Last modified: 2016-12-07 13:28:37 UTC
After every video playback on RPI I have threads from gstreamer that never get freed. Backtrace looks like this:
+ Trace 236937
Thread 31 (Thread 2025.2345)
Reproducable with the sink test app if we destroy the QApplication before gst_deinit() is executed.
commit afae1c53d21e5d6716796aa46f0ce469ce47c3c7 Author: Matthew Waters <matthew@centricular.com> Date: Wed Dec 7 22:55:46 2016 +1100 qml/item: also unref the display on destruction Leaking objects (and a thread!) is never a good idea. https://bugzilla.gnome.org/show_bug.cgi?id=775746 commit de41d74e6fc0453b5a929d269019f68812563828 Author: Matthew Waters <matthew@centricular.com> Date: Wed Dec 7 22:58:29 2016 +1100 tests/examples/qmlsink: scope QApplication/Engine So they are destroyed before gst_deinit() is run and the leaks tracer doesn't show false-positives. https://bugzilla.gnome.org/show_bug.cgi?id=775746