wpesrc leaves threads on pipeline shutdown
With recent wpesrc updates I see following threads being left after each pipeline run that has wpevideosrc
:
14 Thread 0x7fbd75ffb640 (LWP 118762) "HashSaltStorage" 0x00007fbdb815366f in poll () from target:/lib/x86_64-linux-gnu/libc.so.6
15 Thread 0x7fbd0a2d3640 (LWP 118763) "ebsiteDataStore" 0x00007fbdb815366f in poll () from target:/lib/x86_64-linux-gnu/libc.so.6
16 Thread 0x7fbccb7fe640 (LWP 118772) "ReceiveQueue" 0x00007fbdb815366f in poll () from target:/lib/x86_64-linux-gnu/libc.so.6
17 Thread 0x7fbd08ccf640 (LWP 2446099) "HashSaltStorage" 0x00007fbdb815366f in poll () from target:/lib/x86_64-linux-gnu/libc.so.6
18 Thread 0x7fbceaffd640 (LWP 2446100) "ebsiteDataStore" 0x00007fbdb815366f in poll () from target:/lib/x86_64-linux-gnu/libc.so.6
19 Thread 0x7fbcc9ffb640 (LWP 2446109) "ReceiveQueue" 0x00007fbdb815366f in poll () from target:/lib/x86_64-linux-gnu/libc.so.6
20 Thread 0x7fbd7cff9640 (LWP 2468090) "HashSaltStorage" 0x00007fbdb815366f in poll () from target:/lib/x86_64-linux-gnu/libc.so.6
21 Thread 0x7fbd0acd3640 (LWP 2468094) "ebsiteDataStore" 0x00007fbdb815366f in poll () from target:/lib/x86_64-linux-gnu/libc.so.6
22 Thread 0x7fbca6ffd640 (LWP 2468112) "ReceiveQueue" 0x00007fbdb815366f in poll () from target:/lib/x86_64-linux-gnu/libc.so.6
Looks like something isn't closing properly?:
Thread 16 (Thread 0x7fbccb7fe640 (LWP 118772)):
#0 0x00007fbdb815366f in poll () from target:/lib/x86_64-linux-gnu/libc.so.6
#1 0x00007fbdb858e86e in ?? () from target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fbdb858ebf3 in g_main_loop_run () from target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fbd4f0fb4c0 in WTF::RunLoop::run() () from target:/lib/x86_64-linux-gnu/libWPEWebKit-1.0.so.3
#4 0x00007fbd4f08fb0d in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () from target:/lib/x86_64-linux-gnu/libWPEWebKit-1.0.so.3
#5 0x00007fbd4f0fd44d in WTF::wtfThreadEntryPoint(void*) () from target:/lib/x86_64-linux-gnu/libWPEWebKit-1.0.so.3
#6 0x00007fbdb8390590 in start_thread () from target:/lib/x86_64-linux-gnu/libpthread.so.0
#7 0x00007fbdb815f223 in clone () from target:/lib/x86_64-linux-gnu/libc.so.6
Thread 15 (Thread 0x7fbd0a2d3640 (LWP 118763)):
#0 0x00007fbdb815366f in poll () from target:/lib/x86_64-linux-gnu/libc.so.6
#1 0x00007fbdb858e86e in ?? () from target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fbdb858ebf3 in g_main_loop_run () from target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fbd4f0fb4c0 in WTF::RunLoop::run() () from target:/lib/x86_64-linux-gnu/libWPEWebKit-1.0.so.3
#4 0x00007fbd4f08fb0d in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () from target:/lib/x86_64-linux-gnu/libWPEWebKit-1.0.so.3
#5 0x00007fbd4f0fd44d in WTF::wtfThreadEntryPoint(void*) () from target:/lib/x86_64-linux-gnu/libWPEWebKit-1.0.so.3
#6 0x00007fbdb8390590 in start_thread () from target:/lib/x86_64-linux-gnu/libpthread.so.0
#7 0x00007fbdb815f223 in clone () from target:/lib/x86_64-linux-gnu/libc.so.6
Thread 14 (Thread 0x7fbd75ffb640 (LWP 118762)):
#0 0x00007fbdb815366f in poll () from target:/lib/x86_64-linux-gnu/libc.so.6
#1 0x00007fbdb858e86e in ?? () from target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fbdb858ebf3 in g_main_loop_run () from target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fbd4f0fb4c0 in WTF::RunLoop::run() () from target:/lib/x86_64-linux-gnu/libWPEWebKit-1.0.so.3
#4 0x00007fbd4f08fb0d in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () from target:/lib/x86_64-linux-gnu/libWPEWebKit-1.0.so.3
#5 0x00007fbd4f0fd44d in WTF::wtfThreadEntryPoint(void*) () from target:/lib/x86_64-linux-gnu/libWPEWebKit-1.0.so.3
#6 0x00007fbdb8390590 in start_thread () from target:/lib/x86_64-linux-gnu/libpthread.so.0
#7 0x00007fbdb815f223 in clone () from target:/lib/x86_64-linux-gnu/libc.so.6
I think this didn't happen before !2252 (merged)