Bug #3054
tvheadend crashes with signal 6 at end of recording
0%
Description
After exchange of the recording harddisk and mounting the new harddisk in the very same mount point, all recordings fail and tvheadend crashes at the scheduled end of the recording. I have definitely sorted out any permission issues. I can create, modify and delete files under the mount point as user hts.
At the scheduled beginning of the recording, tvheadend logs (title and channel removed):
Aug 28 17:28:50 tvheadend tvheadend[2402]: dvr: <title> on <channel> recorder starting Aug 28 17:28:50 tvheadend tvheadend[2402]: dvr: unable to create new channel streaming chain for <channel>
At the scheduled end of the recording, tvheadend crashes:
Aug 28 17:55:00 tvheadend tvheadend[2402]: CRASH: Signal: 6 in PRG: tvheadend (4.0.5-19~gd6c9d90) [ab30c684d4fd086825e8293599fd03b0088f0dd2] CWD: / Aug 28 17:55:00 tvheadend tvheadend[2402]: CRASH: Fault address 0x6a00000962 (N/A) Aug 28 17:55:00 tvheadend tvheadend[2402]: CRASH: Loaded libraries: /usr/lib/x86_64-linux-gnu/libdvbcsa.so.1 /lib/x86_64-linux-gnu/libssl.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 Aug 28 17:55:00 tvheadend tvheadend[2402]: CRASH: Register dump [23]: fefefefefefefe00000000000b5830e0000000000000000800000000000002020000000000a083510000000000a083d0000000000000002c00007f Aug 28 17:55:00 tvheadend tvheadend[2402]: CRASH: STACKTRACE Aug 28 17:55:02 tvheadend tvheadend[2402]: CRASH: /build/tvheadend/src/trap.c:148 0x461c69 Aug 28 17:55:02 tvheadend tvheadend[2402]: CRASH: ??:0 0x7f50ad1ba340 Aug 28 17:55:02 tvheadend tvheadend[2402]: CRASH: gsignal+0x39 (/lib/x86_64-linux-gnu/libc.so.6) Aug 28 17:55:02 tvheadend tvheadend[2402]: CRASH: abort+0x148 (/lib/x86_64-linux-gnu/libc.so.6) Aug 28 17:55:02 tvheadend tvheadend[2402]: CRASH: ??:0 0x7f50ac906b86 Aug 28 17:55:02 tvheadend tvheadend[2402]: CRASH: ??:0 0x7f50ac906c32 Aug 28 17:55:02 tvheadend tvheadend[2402]: CRASH: /build/tvheadend/src/dvr/dvr_rec.c:115 (discriminator 1) 0x492626 Aug 28 17:55:03 tvheadend tvheadend[2402]: CRASH: /build/tvheadend/src/dvr/dvr_db.c:1150 0x4902ca Aug 28 17:55:03 tvheadend tvheadend[2402]: CRASH: /build/tvheadend/src/main.c:542 0x42c3b4 Aug 28 17:55:03 tvheadend tvheadend[2402]: CRASH: __libc_start_main+0xf5 (/lib/x86_64-linux-gnu/libc.so.6) Aug 28 17:55:06 tvheadend kernel: [509872.983154] init: tvheadend main process (2402) killed by ABRT signal Aug 28 17:55:06 tvheadend kernel: [509872.983216] init: tvheadend main process ended, respawning Aug 28 17:55:07 tvheadend tvheadend[2550]: main: Log started Aug 28 17:55:07 tvheadend tvheadend[2550]: config: loaded
Is there anything else I can supply?
History
Updated by Jaroslav Kysela about 9 years ago
Check the streaming profile configuration for the DVR . Perhaps, you changed the default profile to htsp which cannot be used for DVR. The line "unable to create new channel streaming chain for <channel>" notifies you about this problem.
This bug was fixed in the development 4.1 branch, but it's not easy to fix this bug in 4.0.
Updated by Werner Karl about 9 years ago
Thank you for your response. In fact the recordings work after changing the default profile from htsp to something else. Funny enough, the crash at the end of the recording did also not occur until now (1 successful recording).
I'll file a feature request to not offer the htsp profile for recording.
Updated by Werner Karl about 9 years ago
I seem not to be allowed to mark this bug report as solved or closed. Please close.