[Bug 775746] New: Threads leaking after freeing up qmlglsink

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Dec 7 09:59:59 UTC 2016


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

            Bug ID: 775746
           Summary: Threads leaking after freeing up qmlglsink
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: serge.borovkov at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

After every video playback on RPI I have threads from gstreamer that never get
freed.

Backtrace looks like this:

Thread 32 (Thread 2025.2369):
#0  0x7540ceb0 in poll () from /work/build/buildroot/target//lib/libc.so.6
#1  0x76b46718 in g_main_context_poll (priority=<optimized out>, n_fds=2,
fds=0x6c689868, timeout=-1, context=0x6c665b80) at gmain.c:4029
#2  g_main_context_iterate (context=context at entry=0x6c665b80,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3729
#3  0x76b46878 in g_main_context_iteration (context=0x6c665b80, may_block=1) at
gmain.c:3795
#4  0x75926758 in QEventDispatcherGlib::processEvents (this=0x6c6c23f8,
flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x758b8064 in QEventLoop::processEvents (this=this at entry=0x617fedf4,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:128
#6  0x758b86dc in QEventLoop::exec (this=this at entry=0x617fedf4, flags=...,
flags at entry=...) at kernel/qeventloop.cpp:204
#7  0x756c58d4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:500
#8  0x756ccc70 in QThreadPrivate::start (arg=0x6c56f8) at
thread/qthread_unix.cpp:341
#9  0x755cc070 in start_thread () from
/work/build/buildroot/target//lib/libpthread.so.0
Backtrace stopped: Cannot access memory at address 0x4f4b09f8

Thread 31 (Thread 2025.2345):
#0  0x75413adc in syscall () from /work/build/buildroot/target//lib/libc.so.6
#1  0x76ba0840 in g_cond_wait_until (cond=cond at entry=0x4c8b0,
mutex=mutex at entry=0x4c8a8, end_time=<optimized out>) at gthread-posix.c:1437
#2  0x76b0d964 in g_async_queue_pop_intern_unlocked (queue=queue at entry=0x4c8a8,
wait=wait at entry=1, end_time=<optimized out>) at gasyncqueue.c:422
#3  0x76b0e554 in g_async_queue_timeout_pop (queue=0x4c8a8, timeout=<optimized
out>) at gasyncqueue.c:543
#4  0x76b7a248 in g_thread_pool_wait_for_new_pool () at gthreadpool.c:167
#5  g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:364
#6  0x76b790bc in g_thread_proxy (data=0x6bd04200) at gthread.c:764
#7  0x755cc070 in start_thread () from
/work/build/buildroot/target//lib/libpthread.so.0
#8  0x75417320 in ?? () from /work/build/buildroot/target//lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 30 (Thread 2025.2337):
#0  0x7540ceb0 in poll () from /work/build/buildroot/target//lib/libc.so.6
#1  0x76b46718 in g_main_context_poll (priority=<optimized out>, n_fds=1,
fds=0x6aa00110, timeout=-1, context=0x72e30f00) at gmain.c:4029
#2  g_main_context_iterate (context=0x72e30f00, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3729
#3  0x76b46c78 in g_main_loop_run (loop=0x6aa001f0) at gmain.c:3928
#4  0x76e8a43c in _event_thread_main (display=0x6d0115c0) at gstgldisplay.c:137
#5  0x76b790bc in g_thread_proxy (data=0x6bbe4af0) at gthread.c:764
#6  0x755cc070 in start_thread () from
/work/build/buildroot/target//lib/libpthread.so.0
#7  0x75417320 in ?? () from /work/build/buildroot/target//lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

-- 
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