adamsutton / tvheadend

Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources.
http://www.lonelycoder.com/hts/tvheadend_overview.html
Other
18 stars 5 forks source link

CRASH #46

Closed lazynooblet closed 12 years ago

lazynooblet commented 12 years ago
Sep 10 10:38:09 hologram tvheadend[1151]: dvr: "Waybuloo" on "CBeebies" starting at Tue Sep 18 11:37:00 2012, scheduled for recording by "Auto recording by: stalks"
Sep 10 10:38:09 hologram tvheadend[1151]: /usr/bin/tv_grab_uk_rt: parse took 0 seconds
Sep 10 10:38:09 hologram tvheadend[1151]: /usr/bin/tv_grab_uk_rt:   channels   tot=   44 new=    0 mod=    0
Sep 10 10:38:09 hologram tvheadend[1151]: /usr/bin/tv_grab_uk_rt:   brands     tot=    0 new=    0 mod=    0
Sep 10 10:38:09 hologram tvheadend[1151]: /usr/bin/tv_grab_uk_rt:   seasons    tot=    0 new=    0 mod=    0
Sep 10 10:38:09 hologram tvheadend[1151]: /usr/bin/tv_grab_uk_rt:   episodes   tot= 8180 new= 1058 mod= 3601
Sep 10 10:38:09 hologram tvheadend[1151]: /usr/bin/tv_grab_uk_rt:   broadcasts tot= 8180 new= 5234 mod= 5235
Sep 10 10:38:20 hologram tvheadend[1151]: dvr: "The Jeremy Kyle Show" on "ITV1" starting at Mon Sep 17 09:22:00 2012, scheduled for recording by "Auto recording by: stalks"
Sep 10 10:40:34 hologram tvheadend[1151]: CRASH: Signal: 11 in PRG: /usr/bin/tvheadend () [4989896f586090600d1eb7e16753267b59749c7e] CWD: /  
Sep 10 10:40:34 hologram tvheadend[1151]: CRASH: Fault address (nil) (Address not mapped)
Sep 10 10:40:34 hologram tvheadend[1151]: CRASH: Loaded libraries: /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libz.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/librt.so.1 /lib/x86_64-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libpthread.so.0 /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libdbus-1.so.3 /lib64/ld-linux-x86-64.so.2 /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  
Sep 10 10:40:34 hologram tvheadend[1151]: CRASH: Register dump [23]: 00000000018d2960 0000000001861e90 0000000000000000 a3d70a3d70a3d70b 000000000069b198 00007f452674879c 0000000000000000 000000000160b820 00007f451400d878 0000000000000001 00007f451400d878 0000000001c98760 0000000000000000 0000000000000000 00000000018d9270 00007f45267486f0 000000000040b691 0000000000010246 0000000000000033 0000000000000006 000000000000000e fffffffe7ffbfa17 0000000000000000 
Sep 10 10:40:34 hologram tvheadend[1151]: CRASH: STACKTRACE
Sep 10 10:40:34 hologram tvheadend[1151]: CRASH: ??:0 0x4248a6
Sep 10 10:40:34 hologram tvheadend[1151]: CRASH: ??:0 0x7f4529361030
Sep 10 10:40:34 hologram tvheadend[1151]: CRASH: ??:0 0x40b691
Sep 10 10:40:34 hologram tvheadend[1151]: CRASH: ??:0 0x40b5e8
Sep 10 10:40:34 hologram tvheadend[1151]: CRASH: ??:0 0x40aa5a
Sep 10 10:40:34 hologram tvheadend[1151]: CRASH: ??:0 0x42e195
Sep 10 10:40:34 hologram tvheadend[1151]: CRASH: ??:0 0x42edd1
Sep 10 10:40:34 hologram tvheadend[1151]: CRASH: ??:0 0x44447a
Sep 10 10:40:34 hologram tvheadend[1151]: CRASH: ??:0 0x7f4529358b50
Sep 10 10:40:34 hologram tvheadend[1151]: CRASH: clone+0x6d  (/lib/x86_64-linux-gnu/libc.so.6)
Sep 10 20:19:22 hologram tvheadend[2761]: htsp: 192.168.7.101 [ xbmc | XBMC Media Center ]: Disconnected
Sep 10 22:42:32 hologram tvheadend[2761]: /usr/bin/tv_grab_uk_rt: grab /usr/bin/tv_grab_uk_rt
Sep 10 22:43:12 hologram tvheadend[2761]: /usr/bin/tv_grab_uk_rt: grab took 40 seconds
Sep 10 22:43:12 hologram tvheadend[2761]: CRASH: Signal: 7 in PRG: /usr/bin/tvheadend () [4989896f586090600d1eb7e16753267b59749c7e] CWD: /  
Sep 10 22:43:12 hologram tvheadend[2761]: CRASH: Fault address (nil) (N/A)
Sep 10 22:43:12 hologram tvheadend[2761]: CRASH: Loaded libraries: /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libz.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/librt.so.1 /lib/x86_64-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libpthread.so.0 /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libdbus-1.so.3 /lib64/ld-linux-x86-64.so.2 /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  
Sep 10 22:43:12 hologram tvheadend[2761]: CRASH: Register dump [23]: 0000000000000000 0000000000000000 0000000000000000 0000000000000010 0000000000000001 00007f52b80a4210 000000000297cf90 000000000046fdb1 000000000297cf90 00007f52b86ae1e0 2073747365756720 00007f52b86ae1e0 0000000000000000 00007f52b80a42d0 00000000ffffffff 00007f52c0294c90 000000000040e85d 0000000000010202 0000000000000033 0000000000000000 000000000000000c fffffffe7ffbfa17 0000000000000000 
Sep 10 22:43:12 hologram tvheadend[2761]: CRASH: STACKTRACE
Sep 10 22:43:13 hologram tvheadend[2761]: CRASH: ??:0 0x4248a6
Sep 10 22:43:13 hologram tvheadend[2761]: CRASH: ??:0 0x7f52c42ae030
Sep 10 22:43:13 hologram tvheadend[2761]: CRASH: ??:0 0x40e85d
Sep 10 22:43:13 hologram tvheadend[2761]: CRASH: ??:0 0x42d93d
Sep 10 22:43:13 hologram tvheadend[2761]: CRASH: ??:0 0x42a384
Sep 10 22:43:13 hologram tvheadend[2761]: CRASH: ??:0 0x40fd85
Sep 10 22:43:13 hologram tvheadend[2761]: CRASH: ??:0 0x7f52c42a5b50
Sep 10 22:43:13 hologram tvheadend[2761]: CRASH: clone+0x6d  (/lib/x86_64-linux-gnu/libc.so.6)
adamsutton commented 12 years ago

Can you clarify where this was built from? Is this my epg-update branch? Also which revision is this?

I have had a similar crash but put it down to my messing about, since it only ever happened the once. But I'm not using XMLTV so its possible there is an error in there somewhere.

If you can repeat the problem it would be useful to get a full trace report from gdb.

Adam

lazynooblet commented 12 years ago

Sorry about the sparse info.

Both crashes are from 00fa2f44 (compiled 2012.09.09 19:52), Debian Wheezy amd64, 2x NOVA-T 900 single tuner DVB-T

I think it is the XMLTV stuff, as it crashed at 10am and I noticed immediately so I restarted it about 2 mins later. XMLTV is set to refresh every 12 hours and that is when it next crashed.

I don't actually need the XMLTV data as I'm happy with what EIT gives, however I'll test to see if that is what is causing the issue.

I have updated to latest epg-update, keeping settings, just using autobuild to create a new deb. 878a3a3d. I will set XMLTV to hourly update and run with gdb.

adamsutton commented 12 years ago

I'll take a look at running XMLTV input through my setup, to see if I can repeat there. I've not tested it much since I made recent mods so I can believe I cocked up somewhere.

lazynooblet commented 12 years ago

Is there a way to use gdb to run tvheadend -d and also log the debug output to file? I tried to use gdb --args tvheadend -d | tee debug.log but it only logs gdb output :(

adamsutton commented 12 years ago

you can use -s which will log to syslog, that's usually the best way to get a persistent log. One day I might add a TVH specific log file, but not yet.

lazynooblet commented 12 years ago

Argh deleted comment by mistake, my bad. I even accepted the warning, dumb me.

Anyways, left it for a few hours doing XMLTV per hour. Twas fine.

So, first I donated some beer money :) Then I've restarted tvheadend using gdb after restoring the config, see if it crashes tomorrow.

lazynooblet commented 12 years ago

Been working fine for 24 hours, I'll close this for now.