vdr-plugin-vnsiserver
vdr-plugin-vnsiserver copied to clipboard
Constant crash when using LiveTV and recordings
Hi,
I'm unable to watch Live TV (libreelec) when I have recordings going on at the same time (4 DVB-S2 cards in use).
Using GDB and latest git code the problem occurs here, each and every time: Thread 13 (Thread 0x7fffd37fe700 (LWP 31478)): #0 0x00007ffff62f49e3 in select () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007ffff4901d4d in cVNSIServer::Action (this=0x8cf650) at vnsiserver.c:195 #2 0x00000000005136f9 in cThread::StartThread (Thread=0x8cf650) at thread.c:262 #3 0x00007ffff79686ba in start_thread (arg=0x7fffd37fe700) at pthread_create.c:333 #4 0x00007ffff62fe82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Entire bt: Thread 13 "VNSI Server" hit Catchpoint 1 (signal SIG32), 0x00007ffff62f49e3 in select () at ../sysdeps/unix/syscall-template.S:84 84 ../sysdeps/unix/syscall-template.S: Datei oder Verzeichnis nicht gefunden.
Thread 13 "VNSI Server" hit Catchpoint 1 (signal SIG32), 0x00007ffff62f49e3 in select () at ../sysdeps/unix/syscall-template.S:84 84 ../sysdeps/unix/syscall-template.S: Datei oder Verzeichnis nicht gefunden. (gdb) thread apply all bt
Thread 37 (Thread 0x7fffab7fe700 (LWP 32079)):
#0 0x00007ffff62f2b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007ffff63104ce in __poll_chk (fds=
Thread 36 (Thread 0x7fffabfff700 (LWP 32078)):
#0 0x00007ffff79719ff in __libc_send (fd=67, buf=buf@entry=0x7fffe4041370, n=n@entry=40, flags=flags@entry=32768)
at ../sysdeps/unix/sysv/linux/x86_64/send.c:26
#1 0x00007ffff48f7f26 in cxSocket::write (this=0x7fffc80015b0, buffer=
Thread 35 (Thread 0x7fffb27fc700 (LWP 32077)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1 0x0000000000512eee in cCondWait::Wait (this=this@entry=0x7fffe89992b8, TimeoutMs=
Thread 34 (Thread 0x7fffb2ffd700 (LWP 32076)):
#0 0x00007ffff62f2b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007ffff63104ce in __poll_chk (fds=
Thread 33 (Thread 0x7fffb0bfb700 (LWP 31849)):
#0 0x00007ffff62f2b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007ffff63104ce in __poll_chk (fds=
Thread 32 (Thread 0x7fffa9efd700 (LWP 31848)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1 0x0000000000512eee in cCondWait::Wait (this=this@entry=0x7fffd40009e8, TimeoutMs=
Thread 31 (Thread 0x7fffaabff700 (LWP 31847)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1 0x0000000000512eee in cCondWait::Wait (this=this@entry=0x92dad8, TimeoutMs=
Thread 30 (Thread 0x7ffff36a9700 (LWP 31734)):
#0 0x00007ffff62f2b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007ffff63104ce in __poll_chk (fds=
Thread 29 (Thread 0x7fffb13fc700 (LWP 31733)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1 0x0000000000512eee in cCondWait::Wait (this=this@entry=0x7fffc40009e8, TimeoutMs=
Thread 28 (Thread 0x7fffb1bfd700 (LWP 31732)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1 0x0000000000512eee in cCondWait::Wait (this=this@entry=0x951ba8, TimeoutMs=
Thread 21 (Thread 0x7fffb37fe700 (LWP 31486)):
#0 0x00007ffff62f2b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007ffff63104ce in __poll_chk (fds=
Thread 15 (Thread 0x7fffd27fc700 (LWP 31480)): #0 0x00007ffff62c375d in nanosleep () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007ffff62f51a4 in usleep (useconds=useconds@entry=250000) at ../sysdeps/posix/usleep.c:32 #2 0x00007ffff490c726 in cVNSIStatus::Action (this=0x8cf780) at status.c:307 #3 0x00000000005136f9 in cThread::StartThread (Thread=0x8cf780) at thread.c:262 #4 0x00007ffff79686ba in start_thread (arg=0x7fffd27fc700) at pthread_create.c:333 #5 0x00007ffff62fe82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 13 (Thread 0x7fffd37fe700 (LWP 31478)): #0 0x00007ffff62f49e3 in select () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007ffff4901d4d in cVNSIServer::Action (this=0x8cf650) at vnsiserver.c:195 #2 0x00000000005136f9 in cThread::StartThread (Thread=0x8cf650) at thread.c:262 #3 0x00007ffff79686ba in start_thread (arg=0x7fffd37fe700) at pthread_create.c:333 #4 0x00007ffff62fe82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 12 (Thread 0x7fffd3fff700 (LWP 31477)): #0 0x00007ffff62f2b5d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00000000004f05b2 in poll (__timeout=1000, __nfds=6, __fds=0x7fffd3ffde10) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 #2 cSectionHandler::Action (this=0x902900) at sections.c:184 #3 0x00000000005136f9 in cThread::StartThread (Thread=0x902900) at thread.c:262 #4 0x00007ffff79686ba in start_thread (arg=0x7fffd3fff700) at pthread_create.c:333 #5 0x00007ffff62fe82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 11 (Thread 0x7ffff0ea4700 (LWP 31476)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x00000000005130dc in cCondVar::TimedWait (this=this@entry=0x8fb498, Mutex=..., TimeoutMs=TimeoutMs@entry=1000) at thread.c:127 #2 0x000000000048e6b5 in cDvbTuner::Action (this=0x8fad10) at dvbdevice.c:1000 #3 0x00000000005136f9 in cThread::StartThread (Thread=0x8fad10) at thread.c:262 #4 0x00007ffff79686ba in start_thread (arg=0x7ffff0ea4700) at pthread_create.c:333 #5 0x00007ffff62fe82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 10 (Thread 0x7ffff16a5700 (LWP 31474)): #0 0x00007ffff62f2b5d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00000000004f05b2 in poll (__timeout=1000, __nfds=6, __fds=0x7ffff16a3e10) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 #2 cSectionHandler::Action (this=0x9025c0) at sections.c:184 #3 0x00000000005136f9 in cThread::StartThread (Thread=0x9025c0) at thread.c:262 #4 0x00007ffff79686ba in start_thread (arg=0x7ffff16a5700) at pthread_create.c:333 #5 0x00007ffff62fe82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 9 (Thread 0x7ffff1ea6700 (LWP 31473)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
---Type
Thread 8 (Thread 0x7ffff26a7700 (LWP 31471)): #0 0x00007ffff62f2b5d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00000000004f05b2 in poll (__timeout=1000, __nfds=6, __fds=0x7ffff26a5e10) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 #2 cSectionHandler::Action (this=0x8b3020) at sections.c:184 #3 0x00000000005136f9 in cThread::StartThread (Thread=0x8b3020) at thread.c:262 #4 0x00007ffff79686ba in start_thread (arg=0x7ffff26a7700) at pthread_create.c:333 #5 0x00007ffff62fe82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 7 (Thread 0x7ffff46ab700 (LWP 31470)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x00000000005130dc in cCondVar::TimedWait (this=this@entry=0x8da448, Mutex=..., TimeoutMs=TimeoutMs@entry=1000) at thread.c:127 #2 0x000000000048e6b5 in cDvbTuner::Action (this=0x8d9cc0) at dvbdevice.c:1000 #3 0x00000000005136f9 in cThread::StartThread (Thread=0x8d9cc0) at thread.c:262 #4 0x00007ffff79686ba in start_thread (arg=0x7ffff46ab700) at pthread_create.c:333 #5 0x00007ffff62fe82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 6 (Thread 0x7ffff2ea8700 (LWP 31468)): #0 0x00007ffff62f2b5d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00000000004f05b2 in poll (__timeout=1000, __nfds=6, __fds=0x7ffff2ea6e10) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 #2 cSectionHandler::Action (this=0x8a79b0) at sections.c:184 #3 0x00000000005136f9 in cThread::StartThread (Thread=0x8a79b0) at thread.c:262 #4 0x00007ffff79686ba in start_thread (arg=0x7ffff2ea8700) at pthread_create.c:333 #5 0x00007ffff62fe82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 5 (Thread 0x7ffff3eaa700 (LWP 31467)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x00000000005130dc in cCondVar::TimedWait (this=this@entry=0x8b2958, Mutex=..., TimeoutMs=TimeoutMs@entry=1000) at thread.c:127 #2 0x000000000048e6b5 in cDvbTuner::Action (this=0x8b21d0) at dvbdevice.c:1000 #3 0x00000000005136f9 in cThread::StartThread (Thread=0x8b21d0) at thread.c:262 #4 0x00007ffff79686ba in start_thread (arg=0x7ffff3eaa700) at pthread_create.c:333 #5 0x00007ffff62fe82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 1 (Thread 0x7ffff7fe2740 (LWP 31453)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1 0x0000000000512eee in cCondWait::Wait (this=this@entry=0x7fffffffdf70, TimeoutMs=TimeoutMs@entry=10) at thread.c:71
#2 0x0000000000512f46 in cCondWait::SleepMs (TimeoutMs=TimeoutMs@entry=10) at thread.c:60
---Type
Cheers, Michael
hmm, select is a standard posix function. on what system do you run vdr? hardware, os, etc