Project

General

Profile

Actions

Bug #5359

closed

EPGDB Snapshot crashes after XMLTV update

Added by Marco Jakobs over 6 years ago. Updated over 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
EPG
Target version:
-
Start date:
2018-11-27
Due date:
% Done:

100%

Estimated time:
Found in version:
4.3-1532
Affected Versions:

Description

I am hunting TVH crashes / restarts which are occurring several times a day (I always get warnings from my HAPROXY for my TVH instance, so I got aware of these "silent failures"). I could track them down to the automatic EPG database save feature (EPGDB snapshot).

I've configured TVH to save the EPG to disk every 2 hours. That works fine unless my EPG grabber for XMLTV is running the update at 10 in the morning. My XMLTV grabber is "XMLTV: Parts of Europe (www.epgdata.com)".

All following epgdb snapshot actions after the XMLTV update are crashing TVH (see a first log below):

Nov 27 10:56:14 FlairTV tvheadend[28352]: epgdb: snapshot start
Nov 27 10:56:14 FlairTV tvheadend[28352]: CRASH: Signal: 6 in PRG: /usr/bin/tvheadend (4.3-1532~g409a706) [0dc82f1cbb6ae2aaeee1e2771d6a572ad382a4de] CWD: /
Nov 27 10:56:14 FlairTV tvheadend[28352]: CRASH: Fault address 0x7000006ec0 (N/A)
Nov 27 10:56:14 FlairTV tvheadend[28352]: 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 /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0 /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 /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /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/libgcc_s.so.1 /lib/x86_64-linux-gnu/libselinux.so.1 /lib/x86_64-linux-gnu/liblzma.so.5 /lib/x86_64-linux-gnu/libgcrypt.so.20 /lib/x86_64-linux-gnu/libpcre.so.3 /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-g
Nov 27 10:56:14 FlairTV tvheadend[28352]: CRASH: Register dump [23]: 0000557c63d66940ff092d63646b680000000000000000080000000000000206000000000000015b0000557c607e8a70000000000000010000000000000008960000000000006ec00000000000006ec00000557c607e8a9a00007fb7191470000000000000000006000000000000000000007fb71690b42800007ffdcf0b594800007fb71690b4280000000000000206000000000000003300000000000000000000000000000000fffffffe7ffbba150000000000000000

This is not a debug version log, I'm running debug version now and will add a dbg log tomorrow after the next crash

The TVH thread is then automatically restarted, but the very next epgdb snapshot kills it again.
When I manually restart TVH and it loads the current EPG-DB from disk, the snapshots are fine until the next XMLTV update run (where it crashes again afterwards).


Files

TVH_EPG.jpg (60.7 KB) TVH_EPG.jpg TVH option shich is suspected to cause the crash @epgdb snapshot run Marco Jakobs, 2018-11-28 08:05
myfile.xml (29.5 MB) myfile.xml XMLTV file Marco Jakobs, 2018-11-29 11:43
Actions

Also available in: Atom PDF