Project

General

Profile

Actions

Bug #4167

open

Hang after resume

Added by Ivan Kalvachev over 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Crashes
Target version:
-
Start date:
2017-01-07
Due date:
% Done:

0%

Estimated time:
Found in version:
4.1-1931~gc3eefc6
Affected Versions:

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

Actions

Also available in: Atom PDF