Bug #4167
openHang after resume
0%
Description
I've had this issue for a while and I wasn't sure how to exactly reproduce it.
I suspect that it happens when I resume (in this case, after suspend to disk) and it is time for a recording. This is part of the log:
2017-01-06 02:04:36.039 [ INFO] subscription: 0041: "epggrab" unsubscribing
2017-01-06 11:11:25.157 [ ERROR] tcp: tcp_server_loop: tvhpoll_wait: Прекъснато системно извикване (Interrupted system call)
2017-01-06 11:11:25.212 [ INFO] linuxdvb: adapter removed /dev/dvb/adapter0
2017-01-06 11:11:25.216 [ INFO] dvr: "Дързост и красота " on "BNT1" recorder starting
The tvheadend hangs and only `kill -9 ` could make it exit. Attaching `gdb -p` gives the following backtrace:
#0 0x00007f8bc4e1b91d in pthread_join () from /lib64/libpthread.so.0
#1 0x000055b41962af78 in dvr_rec_unsubscribe (de=0x7f8b5c0435a0) at src/dvr/dvr_rec.c:166
#2 0x000055b419626b35 in dvr_stop_recording (de=0x7f8b5c0435a0, stopcode=0, saveconf=1, clone=<optimized out> ) at src/dvr/dvr_db.c:2063
#3 0x000055b4195a5a84 in mainloop () at src/main.c:705
#4 main (argc=<optimized out>, argv=<optimized out> ) at src/main.c:1259