Project

General

Profile

Bug #4128

Crash when stopping a recording

Added by Richard van der Hoff almost 8 years ago. Updated almost 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-12-09
Due date:
% Done:

100%

Estimated time:
Found in version:
4.0.9-13~g64fec81~wily
Affected Versions:

Description

tvheadend crashes whenever I try to stop a recording. I think it's because there was a problem starting the recording, so the recording is left in the list in a broken state.

Log:

Dec 09 00:15:55 giles tvheadend6275: dvr: entry eba7de2c08203e811d62c7747aeaf311 "One Night in 2012 - An Imagine Special" on "BBC TWO HD" starting at 2016-12-09 00:14:30, scheduled for recording by "admin"
Dec 09 00:15:55 giles tvheadend6275: settings: saving to /home/hts/.hts/tvheadend/dvr/log/eba7de2c08203e811d62c7747aeaf311
Dec 09 00:15:55 giles tvheadend6275: settings: saving to /home/hts/.hts/tvheadend/dvr/log/eba7de2c08203e811d62c7747aeaf311
Dec 09 00:15:55 giles tvheadend6275: dvr: "One Night in 2012 - An Imagine Special" on "BBC TWO HD" recorder starting
Dec 09 00:15:55 giles tvheadend6275: settings: saving to /home/hts/.hts/tvheadend/dvr/log/eba7de2c08203e811d62c7747aeaf311
Dec 09 00:15:55 giles tvheadend6275: dvr: unable to create new channel streaming chain for 'BBC TWO HD'
Dec 09 00:16:40 giles tvheadend6275: CRASH: Signal: 6 in PRG: /usr/bin/tvheadend (4.0.9-13~g64fec81~wily) [a9492b9420e33adce68f3b9a0066d4da9f7c206d] CWD: /
Dec 09 00:16:40 giles tvheadend6275: CRASH: Fault address 0x7100001883 (N/A)
Dec 09 00:16:40 giles tvheadend6275: CRASH: Loaded libraries: /lib/x86_64-linux-gnu/libssl.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/x86_64-linux-gnu/liburiparser.so.1 /usr/lib/x86_64-linux-gnu/libavahi-common.so.3 /usr/lib/x86_64-linux-gnu/libavahi-client.so.3 /lib/x86_64-linux-gnu/libdbus-1.so.3 /lib/x86_64-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libpthread.so.0 /lib/x86_64-linux-gnu/libm.so.6 /lib/x86_64-linux-gnu/librt.so.1 /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libsystemd.so.0 /lib64/ld-linux-x86-64.so.2 /lib/x86_64-linux-gnu/liblzma.so.5 /lib/x86_64-linux-gnu/libgcrypt.so.20 /lib/x86_64-linux-gnu/libgpg-error.so.0 /lib/x86_64-linux-gnu/libnss_compat.so.2 /lib/x86_64-linux-gnu/libnsl.so.1 /lib/x86_64-linux-gnu/libnss_nis.so.2 /lib/x86_64-linux-gnu/libnss_files.so.2
Dec 09 00:16:40 giles tvheadend6275: CRASH: Register dump [23]: 00007f3f0800179000000000000000000000000000000008000000000000020200000000004fd3fb00000000004fd48000007f3f08000c5000007f3f1401196000000000000018830000000000001a3700007f3f6f8b4f7800007f3f7177f0000000000000000006000000000000000000007f3f6f75a1c700007f3f4cff828800007f3f6f75a1c700000000000002026e6100000000003300000000000000000000000000000000fffffffe7ffbba130000000000000000
Dec 09 00:16:40 giles tvheadend6275: CRASH: STACKTRACE
Dec 09 00:16:40 giles tvheadend6275: CRASH: /tmp/buildd/tvheadend-4.0.9/src/trap.c:148 0x440799
Dec 09 00:16:40 giles tvheadend6275: CRASH: ??:0 0x7f3f7000fd10
Dec 09 00:16:40 giles tvheadend6275: CRASH: gsignal+0x37 (/lib/x86_64-linux-gnu/libc.so.6)
Dec 09 00:16:40 giles tvheadend6275: CRASH: abort+0x16a (/lib/x86_64-linux-gnu/libc.so.6)
Dec 09 00:16:40 giles tvheadend6275: CRASH: ??:0 0x7f3f6f7530bd
Dec 09 00:16:40 giles tvheadend6275: CRASH: ??:0 0x7f3f6f753172
Dec 09 00:16:40 giles tvheadend6275: CRASH: /tmp/buildd/tvheadend-4.0.9/src/dvr/dvr_rec.c:115 (discriminator 1) 0x4709e6
Dec 09 00:16:40 giles tvheadend6275: CRASH: /tmp/buildd/tvheadend-4.0.9/src/dvr/dvr_db.c:1150 0x46e5ea
Dec 09 00:16:40 giles tvheadend6275: CRASH: /tmp/buildd/tvheadend-4.0.9/src/dvr/dvr_db.c:2367 0x46ec59
Dec 09 00:16:40 giles tvheadend6275: CRASH: /tmp/buildd/tvheadend-4.0.9/src/api/api_idnode.c:506 0x45b410
Dec 09 00:16:41 giles tvheadend6275: CRASH: /tmp/buildd/tvheadend-4.0.9/src/webui/webui_api.c:43 0x47c8df
Dec 09 00:16:41 giles tvheadend6275: CRASH: /tmp/buildd/tvheadend-4.0.9/src/http.c:571 0x41b352
Dec 09 00:16:41 giles tvheadend6275: CRASH: /tmp/buildd/tvheadend-4.0.9/src/http.c:701 0x41beea
Dec 09 00:16:41 giles tvheadend6275: CRASH: /tmp/buildd/tvheadend-4.0.9/src/http.c:807 0x41b7b2
Dec 09 00:16:41 giles tvheadend6275: CRASH: /tmp/buildd/tvheadend-4.0.9/src/http.c:1085 0x41c115
Dec 09 00:16:41 giles tvheadend6275: CRASH: /tmp/buildd/tvheadend-4.0.9/src/http.c:1128 0x41c1fc
Dec 09 00:16:41 giles tvheadend6275: CRASH: /tmp/buildd/tvheadend-4.0.9/src/tcp.c:543 0x416ccd
Dec 09 00:16:41 giles tvheadend6275: CRASH: /tmp/buildd/tvheadend-4.0.9/src/wrappers.c:150 0x4137a9
Dec 09 00:16:41 giles tvheadend6275: CRASH: ??:0 0x7f3f700066aa


Files

gdb.txt (5.98 KB) gdb.txt full backtrace Richard van der Hoff, 2016-12-09 01:25

History

#1

Updated by Richard van der Hoff almost 8 years ago

Hum; this seems to happen when I configure the 'Stream Profile' under 'DVR behaviour' to be 'htsp' instead of 'pass'. I haven't really figured out what that is supposed to do, though causing a crash was not expected...

#2

Updated by Mark Clarkstone almost 8 years ago

Richard van der Hoff wrote:

Hum; this seems to happen when I configure the 'Stream Profile' under 'DVR behaviour' to be 'htsp' instead of 'pass'. I haven't really figured out what that is supposed to do, though causing a crash was not expected...

You can't use the htsp profile to record (or http streaming). I believe it was fixed in dev.

#3

Updated by Jaroslav Kysela almost 8 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|a6740f923769a20839eff4e70448c9bdf6d82204.

#4

Updated by Jaroslav Kysela almost 8 years ago

  • Status changed from Fixed to New
  • % Done changed from 100 to 0

Fixed in v4.0.9-15-ga6740f9 .

#5

Updated by Jaroslav Kysela almost 8 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF