Project

General

Profile

Bug #1128

TVHeadend Crash While Recording

Added by Prof Yaffle about 12 years ago. Updated about 12 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
Category:
DVB
Target version:
-
Start date:
2012-08-17
Due date:
% Done:

0%

Estimated time:
Found in version:
2.12
Affected Versions:

Description

Guys -

No real context information, since I was away at the time and I've just come home to find that nothing recorded during the week. A peer at the box showed tvheadend wasn't running (should it try to restart, btw?) and the following in one of the archived syslog files:

Aug 13 20:58:30 revo tvheadend[1051]: dvr: "Speed" on "5*" recorder starting
Aug 13 20:58:30 revo kernel: [163301.656334] tbsqboxs2: tbsqboxs2_set_voltage 1
Aug 13 20:58:31 revo tvheadend[1051]: subscription: "DVR: Speed" subscribing on "5*", weight: 300, adapter: "Conexant CX24116/CX24118", network: "ASTRA", mux: "ASTRA: 10,964,250 kHz Horizontal (No satconf)", provider: "BSkyB", service: "5*", quality: 100
Aug 13 20:58:31 revo tvheadend[1051]: dvr: "Jimmy's Forest" on "More 4" recorder starting
Aug 13 20:58:31 revo tvheadend[1051]: subscription: "DVR: Jimmy's Forest" subscribing on "More 4", weight: 300, adapter: "DiBcom 7000PC", network: "Gloucestershire", mux: "Gloucestershire: 506,000 kHz", provider: "", service: "More 4", quality: 100
Aug 13 20:58:31 revo tvheadend[1051]: dvr: "Growing Children" on "BBC FOUR" recorder starting
Aug 13 20:58:31 revo tvheadend[1051]: subscription: No transponder available for subscription "DVR: Growing Children" to channel "BBC FOUR" 
Aug 13 20:58:31 revo tvheadend[1051]: dvr: Recording unable to start: "Growing Children": Adapter in use by other subscription
Aug 13 20:58:32 revo tvheadend[1051]: dvr: Speed.2012-08-13.21-00 from adapter: "Conexant CX24116/CX24118", network: "ASTRA", mux: "ASTRA: 10,964,250 kHz Horizontal (No satconf)", provider: "BSkyB", service: "5*" 
Aug 13 20:58:32 revo tvheadend[1051]: dvr:  # type                 lang resolution       samplerate channels
Aug 13 20:58:32 revo tvheadend[1051]: dvr:  1 MPEG2VIDEO                544 x 576
Aug 13 20:58:32 revo tvheadend[1051]: dvr:  2 MPEG2AUDIO           eng                   48000      2
Aug 13 20:58:32 revo tvheadend[1051]: dvr:  3 MPEG2AUDIO           NAR                   48000      2
Aug 13 20:58:32 revo tvheadend[1051]: dvr:  4 TELETEXT                          
Aug 13 20:58:32 revo tvheadend[1051]: dvr:  5 DVBSUB               eng          
Aug 13 20:58:32 revo tvheadend[1051]: dvr:  6 TEXTSUB              eng          
Aug 13 20:58:36 revo tvheadend[1051]: dvr: Jimmy's Forest.2012-08-13.21-00 from adapter: "DiBcom 7000PC", network: "Gloucestershire", mux: "Gloucestershire: 506,000 kHz", provider: "", service: "More 4" 
Aug 13 20:58:36 revo tvheadend[1051]: dvr:  # type                 lang resolution       samplerate channels
Aug 13 20:58:36 revo tvheadend[1051]: dvr:  1 MPEG2VIDEO                544 x 576
Aug 13 20:58:36 revo tvheadend[1051]: dvr:  2 MPEG2AUDIO           eng                   48000      2
Aug 13 20:58:36 revo tvheadend[1051]: dvr:  3 MPEG2AUDIO           eng                   96000      0          <disabled, no valid input>
Aug 13 20:58:36 revo tvheadend[1051]: dvr:  4 DVBSUB               eng          
Aug 13 21:17:01 revo CRON[8381]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 13 21:18:06 revo tvheadend[1051]: CRASH: Signal: 6 in PRG: /usr/bin/tvheadend (2.12) [7e4eb3f2d5c93b097decc0a987d6332f097e174e] CWD: /
Aug 13 21:18:06 revo tvheadend[1051]: CRASH: Fault address 0x41b (N/A)
Aug 13 21:18:06 revo tvheadend[1051]: CRASH: Loaded libraries: /lib/i386-linux-gnu/librt.so.1 /lib/i386-linux-gnu/libdl.so.2 /lib/i386-linux-gnu/libcrypt.so.1 /usr/lib/i386-linux-gnu/libavahi-common.so.3 /usr/lib/i386-linux-gnu/libavahi-client.so.3 /lib/i386-linux-gnu/libpthread.so.0 /lib/i386-linux-gnu/libm.so.6 /lib/i386-linux-gnu/libc.so.6 /lib/ld-linux.so.2 /lib/i386-linux-gnu/libdbus-1.so.3 /lib/i386-linux-gnu/libnss_compat.so.2 /lib/i386-linux-gnu/libnsl.so.1 /lib/i386-linux-gnu/libnss_nis.so.2 /lib/i386-linux-gnu/libnss_files.so.2
Aug 13 21:18:06 revo tvheadend[1051]: CRASH: Register dump [19]: 00000033 c1530000 ffff007b c153007b 003a3ff4 a18d5428 b4f249a8 b4f2481c 0000041b 00000006 000004b5 00000000 00000000 00000000 007f2416 00000073 00000206 b4f2481c 0000007b
Aug 13 21:18:06 revo tvheadend[1051]: CRASH: STACKTRACE
Aug 13 21:18:10 revo kernel: [164481.840078] tbsqboxs2: tbsqboxs2_set_voltage 2

You can see that it was trying to record two things from two different tuners at the same time, both died in unison. I have no idea what might have precipitated it - maybe my wife switching on the second PC (which also connects to this backend), maybe something utterly unrelated...

Version is reporting as 2.12 from the web page and from dpkg -l, but I'm guessing that it's actually 2.99-9~oneiric from https://launchpad.net/~pulse-eight/+ppa-packages, since I have Dushmaniac/Pulse8's binaries installed.

Thought I'd report it here in case that means anything to Adam or one of the team!

History

#1

Updated by Adam Sutton about 12 years ago

  • Status changed from New to Need feedback

Can you confirm what version you're running, there should be an about box on the UI which gives a version string.

No particular idea why this should crash, if this is not using master and pre 3.0 should be very stable.

Without a proper trace of the dump, its going to be difficult to invesigate. But I'll leave open for now.

As for process restart, maybe, but probably not. If you want that sort of thing I'd recommend looking at something like monit. I use that a lot for some work stuff, I must admit I'm not a "massive" fan (we've had some troubles over the years) but its not bad.

Adam

#2

Updated by Prof Yaffle about 12 years ago

Yeah, thought it smelled a bit of a random event - if it happens again, I'll try running it in gdb or however I can get better logs, but I thought I'd mention it simply because I know you've been cleaning up so many of the old "not sure if it's there, please re-report if it's still there" bugs.

The web tab reports HTS Tvheadend 2.12 - but I'm confused now, since this was a clean build only a week or so ago and I only ever added things in from the Pulse8 repositories. But 2.12 hts-tvheadend it is (and not tvheadend) - maybe that's the underlying issue, wrong version??

xbmc@revo:~$ sudo dpkg -p hts-tvheadend
Package: hts-tvheadend
Priority: extra
Section: main
Installed-Size: 1784
Maintainer: Andreas Ãman <[email protected]>
Architecture: i386
Version: 2.12
Depends: libavahi-client3 (>= 0.6.16), libavahi-common3 (>= 0.6.16), libc6 (>= 2.7)
Recommends: xmltv
Enhances: hts-showtime
Size: 1392492
Description: HTS Tvheadend
 TV backend for use with hts-showtime and various other clients.
 Based on ffmpeg 'http://www.ffmpeg.org/' and ExtJS 'http://www.extjs.org/'
#3

Updated by Prof Yaffle about 12 years ago

On the presumption that it is an ancient version, I've switched to HTS Tvheadend 2.99.53.4502158 (2.99-9~oneiric - which is what I thought I was running!). If I'm not on the right version, please feel free to close this one as a bloodware issue...

#4

Updated by Adam Sutton about 12 years ago

  • Status changed from Need feedback to Invalid

Rejecting on the basis this was being run on 2.12 which is no longer actively supported.

Thanks.

Also available in: Atom PDF