Actions
Bug #5353
closedLocked up with "too much queued input data" and "too much queued table input data"
Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-12-10
Due date:
% Done:
100%
Estimated time:
(Total: 0:00 h)
Found in version:
4.3-1544~gfb329606b
Affected Versions:
Description
I just experienced a complete lockup of tvheadend. In the logs it complained about too much queued input data. Running gdb and running "info threads" gave this:
* 1 Thread 0x7f8f91706bc0 (LWP 44826) "tvheadend" __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 2 Thread 0x7f8f8c045700 (LWP 44828) "tvh:log" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a553e872c <tvhlog_cond+44>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 3 Thread 0x7f8f8be44700 (LWP 44832) "tvh:notify" __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 4 Thread 0x7f8f8bc43700 (LWP 44833) "tvheadend" 0x00007f8f8e785bb7 in epoll_wait (epfd=14, events=0x7f8f7c000b80, maxevents=2, timeout=500) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 5 Thread 0x7f8f8b442700 (LWP 44834) "tvh:save" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a55287f88 <save_cond+40>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 6 Thread 0x7f8f8b241700 (LWP 44835) "tvh:mtick" __clock_nanosleep (clock_id=1, flags=0, req=0x7f8f8b240920, rem=0x7f8f8b240920) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48 7 Thread 0x7f8f8b040700 (LWP 44836) "tvh:mtimer" __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 8 Thread 0x7f8f8ae3f700 (LWP 44837) "tvh:tasklet" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a55287ccc <tasklet_cond+44>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 9 Thread 0x7f8f8ac3e700 (LWP 44846) "tvh:fsmonitor" 0x00007f8f8fafb384 in __libc_read (fd=15, buf=0x7f8f8ac3d4e0, nbytes=160) at ../sysdeps/unix/sysv/linux/read.c:27 10 Thread 0x7f8f8aa3d700 (LWP 44855) "tvh:imagecache" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a5528b9cc <imagecache_cond+44>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 11 Thread 0x7f8f8a83c700 (LWP 44856) "tvh:httpc" 0x00007f8f8e785bb7 in epoll_wait (epfd=18, events=0x562a571b9940, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 12 Thread 0x7f8f8a63b700 (LWP 44860) "tvh:service" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a55288a0c <pending_save_cond+44>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 13 Thread 0x7f8f8a43a700 (LWP 44861) "tvh:capmt" 0x00007f8f8e785bb7 in epoll_wait (epfd=47, events=0x7f8f74005300, maxevents=1, timeout=500) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 14 Thread 0x7f8f8a239700 (LWP 44865) "tvh:iptv" 0x00007f8f8e785bb7 in epoll_wait (epfd=23, events=0x562a571c5a70, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 15 Thread 0x7f8f8a038700 (LWP 44866) "tvh:iptv" 0x00007f8f8e785bb7 in epoll_wait (epfd=24, events=0x562a571f7f20, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 16 Thread 0x7f8f89e37700 (LWP 44867) "tvh:iptv" 0x00007f8f8e785bb7 in epoll_wait (epfd=25, events=0x562a571bd860, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 17 Thread 0x7f8f89c36700 (LWP 44868) "tvh:iptv" 0x00007f8f8e785bb7 in epoll_wait (epfd=26, events=0x562a5727a0b0, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 18 Thread 0x7f8f89a35700 (LWP 44869) "tvh:iptv" 0x00007f8f8e785bb7 in epoll_wait (epfd=27, events=0x562a571d1fb0, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 19 Thread 0x7f8f89834700 (LWP 44870) "tvh:iptv" 0x00007f8f8e785bb7 in epoll_wait (epfd=28, events=0x562a571b8800, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 20 Thread 0x7f8f89633700 (LWP 44871) "tvh:iptv" 0x00007f8f8e785bb7 in epoll_wait (epfd=29, events=0x562a571c9270, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 21 Thread 0x7f8f89432700 (LWP 44872) "tvh:iptv" 0x00007f8f8e785bb7 in epoll_wait (epfd=30, events=0x562a571b9270, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 22 Thread 0x7f8f89231700 (LWP 44873) "tvh:iptv" 0x00007f8f8e785bb7 in epoll_wait (epfd=31, events=0x562a571f7ea0, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 23 Thread 0x7f8f89030700 (LWP 44874) "tvh:iptv" 0x00007f8f8e785bb7 in epoll_wait (epfd=32, events=0x562a571e1930, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 24 Thread 0x7f8f88e2f700 (LWP 44879) "tvh:tshift-reap" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a5528d1cc <timeshift_reaper_cond+44>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 25 Thread 0x7f8f88c2e700 (LWP 44880) "tvh:tcp-loop" __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 26 Thread 0x7f8f88a2d700 (LWP 44881) "tvh:upnp" 0x00007f8f8e785bb7 in epoll_wait (epfd=36, events=0x7f8f78000b80, maxevents=2, timeout=1000) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 27 Thread 0x7f8f8882c700 (LWP 44882) "tvh:svcmap" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a5528ba68 <service_mapper_cond+40>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 28 Thread 0x7f8f73fff700 (LWP 44917) "tvh:epggrabso" 0x00007f8f8fafb6d7 in __libc_accept (fd=39, addr=..., len=0x0) at ../sysdeps/unix/sysv/linux/accept.c:26 29 Thread 0x7f8f8862b700 (LWP 44919) "tvh:epggrabi" 0x00007f8f8fafb384 in __libc_read (fd=41, buf=0x7f8edc919aa0, nbytes=8192) at ../sysdeps/unix/sysv/linux/read.c:27 30 Thread 0x7f8f8842a700 (LWP 44922) "tvh:epgdata" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a552883a8 <epggrab_data_cond+40>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 31 Thread 0x7f8f88229700 (LWP 44927) "tvh:dvr-inotify" 0x00007f8f8fafb384 in __libc_read (fd=40, buf=0x7f8f88228830, nbytes=335) at ../sysdeps/unix/sysv/linux/read.c:27 32 Thread 0x7f8f72f7e700 (LWP 44936) "tvh:satip-rtcp" __clock_nanosleep (clock_id=1, flags=0, req=0x7f8f72f7d330, rem=0x7f8f72f7d330) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48 33 Thread 0x7f8f72d7d700 (LWP 44937) "tvh:avahi" 0x00007f8f8e778bf9 in __GI___poll (fds=0x7f8f68004550, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 34 Thread 0x7f8f72338700 (LWP 44940) "tvh:mi-table" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a5723dfa0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 35 Thread 0x7f8f72137700 (LWP 44941) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a5723de98) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 36 Thread 0x7f8f71f36700 (LWP 44942) "tvh:mi-table" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a571d8e10) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 37 Thread 0x7f8f71d35700 (LWP 44943) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a571d8d08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 38 Thread 0x7f8f71b34700 (LWP 44944) "tvh:mi-table" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a57266a50) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 39 Thread 0x7f8f71933700 (LWP 44945) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a57266948) ---Type <return> to continue, or q <return> to quit--- at ../sysdeps/unix/sysv/linux/futex-internal.h:88 40 Thread 0x7f8f71732700 (LWP 44946) "tvh:mi-table" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a57264e50) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 41 Thread 0x7f8f71531700 (LWP 44947) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a57264d48) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 42 Thread 0x7f8f71330700 (LWP 44948) "tvh:mi-table" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a57237a80) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 43 Thread 0x7f8f7112f700 (LWP 44949) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a57237978) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 44 Thread 0x7f8f70f2e700 (LWP 44950) "tvh:mi-table" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a5721e130) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 45 Thread 0x7f8f70d2d700 (LWP 44951) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a5721e028) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 46 Thread 0x7f8f70b2c700 (LWP 44952) "tvh:mi-table" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a5723c760) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 47 Thread 0x7f8f7092b700 (LWP 44953) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a5723c658) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 48 Thread 0x7f8f7072a700 (LWP 44954) "tvh:mi-table" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a572086b0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 49 Thread 0x7f8f70529700 (LWP 44955) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a572085a8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 50 Thread 0x7f8f70328700 (LWP 44956) "tvh:mi-table" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a57561aa0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 51 Thread 0x7f8f53fff700 (LWP 44957) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a5756199c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 52 Thread 0x7f8f53dfe700 (LWP 44958) "tvh:mi-table" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a572435f4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 53 Thread 0x7f8f53bfd700 (LWP 44959) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a572434e8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 54 Thread 0x7f8f72b7c700 (LWP 44960) "tvh:satip-front" 0x00007f8f8e785bb7 in epoll_wait (epfd=57, events=0x7f8f44000b80, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 55 Thread 0x7f8f539fc700 (LWP 44961) "tvh:satip-front" 0x00007f8f8e785bb7 in epoll_wait (epfd=60, events=0x7f8f48000b80, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 56 Thread 0x7f8f537fb700 (LWP 44962) "tvh:satip-front" 0x00007f8f8e785bb7 in epoll_wait (epfd=63, events=0x7f8f3c000b80, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 57 Thread 0x7f8f535fa700 (LWP 44963) "tvh:satip-front" 0x00007f8f8e785bb7 in epoll_wait (epfd=54, events=0x7f8f40000b80, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 58 Thread 0x7f8f533f9700 (LWP 44964) "tvh:mi-table" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f8f4c007e04) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 59 Thread 0x7f8f531f8700 (LWP 44965) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f8f4c007cf8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 60 Thread 0x7f8f52ff7700 (LWP 44966) "tvh:mi-table" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f8f4c006240) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 61 Thread 0x7f8f52df6700 (LWP 44967) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f8f4c006138) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 62 Thread 0x7f8f52bf5700 (LWP 44968) "tvh:mi-table" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f8f4c005ad4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 63 Thread 0x7f8f529f4700 (LWP 44969) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f8f4c0059cc) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 64 Thread 0x7f8f527f3700 (LWP 44970) "tvh:mi-table" __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 65 Thread 0x7f8f525f2700 (LWP 44971) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f8f4c00531c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 66 Thread 0x7f8f523f1700 (LWP 44972) "tvh:satip-front" 0x00007f8f8e785bb7 in epoll_wait (epfd=72, events=0x7f8f38000b80, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 67 Thread 0x7f8f521f0700 (LWP 44973) "tvh:satip-front" 0x00007f8f8e785bb7 in epoll_wait (epfd=69, events=0x7f8f34000b80, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 68 Thread 0x7f8f51fef700 (LWP 44974) "tvh:satip-front" 0x00007f8f8e785bb7 in epoll_wait (epfd=75, events=0x7f8f30000b80, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 69 Thread 0x7f8f51dee700 (LWP 44975) "tvh:satip-front" 0x00007f8f8e785bb7 in epoll_wait (epfd=53, events=0x7f8f2c000b80, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 70 Thread 0x7f8f51bed700 (LWP 44976) "tvh:mi-table" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f8f4c00a384) ---Type <return> to continue, or q <return> to quit--- at ../sysdeps/unix/sysv/linux/futex-internal.h:88 71 Thread 0x7f8f519ec700 (LWP 44977) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f8f4c00a27c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 72 Thread 0x7f8f517eb700 (LWP 44978) "tvh:mi-table" __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 73 Thread 0x7f8f515ea700 (LWP 44979) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f8f4c0091fc) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 74 Thread 0x7f8f513e9700 (LWP 44980) "tvh:mi-table" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f8f4c008b74) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 75 Thread 0x7f8f511e8700 (LWP 44981) "tvh:mi-main" __pthread_mutex_lock_full (mutex=0x7f8e94002378) at ../nptl/pthread_mutex_lock.c:313 76 Thread 0x7f8f50fe7700 (LWP 44982) "tvh:mi-table" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f8f4c0083b0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 77 Thread 0x7f8f50de6700 (LWP 44983) "tvh:mi-main" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f8f4c0082a8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 78 Thread 0x7f8ea71f8700 (LWP 1727) "tvh:tcp-start" __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 79 Thread 0x7f8f7297b700 (LWP 4353) "tvh:tcp-start" __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 80 Thread 0x7f8f50be5700 (LWP 31697) "tvh:tcp-start" __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 81 Thread 0x7f8ea7dfe700 (LWP 48132) "tvh:dvr" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a589d2290) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 82 Thread 0x7f8ea59ec700 (LWP 32182) "tvh:dvr" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a5a1da350) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 83 Thread 0x7f8ea5dee700 (LWP 32183) "tvh:dvr" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a5a034e14) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 84 Thread 0x7f8ea4fe7700 (LWP 9893) "tvh:dvr" 0x00007f8f8faf79f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562a592abca4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
Unfortunately I did not run a "thread apply all bt full" but only a "bt full", so attached is what I have available, even though this probably not be much help (I really hope that the "info threads" will help to figure out what happened though) :(
Files
Actions