Project

General

Profile

Bug #5154

Cash with 4.3-1288~g66d6161 while using /usr/bin/tv_grab_zz_sdjson_sqlite XMLTV grabber

Added by Ash Guest over 6 years ago. Updated over 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Crashes
Target version:
-
Start date:
2018-07-14
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-1288~g66d6161
Affected Versions:

Description

i've just updated to 4.3-1288~g66d6161 on Ubuntu 16.04.4 LTS and am getting repeating crashes every 2 min or so, if i disable /usr/bin/tv_grab_zz_sdjson_sqlite then everything behaves. Everything seemed to be OK on the previous version although i do not recall what version this was...

I appreciate that my information is somewhat limited! i'm doing this in a bit of a rush as i dont have a lot of time and am away for the next couple of weeks, however i thought it was best to get this out there in case others have the same issue. I can certainly provide further information on my return.


@htpc@HTPC:~$ tail -f /var/log/syslog | grep tvheadend
Jul 14 08:23:58 HTPC tvheadend[17453]: subscription: 0004: "192.168.1.217 [ test                                                                                         | Kodi Media Center ]" unsubscribing from "BBC One East Midlands", hostname="19                                                                                        2.168.1.217", username="test", client="Kodi Media Center" 
Jul 14 08:24:16 HTPC tvheadend[17453]: htsp: 192.168.1.217 [ test | Kodi Media C                                                                                        enter ]: Disconnected
Jul 14 08:25:40 HTPC tvheadend[17453]: xmltv: /usr/bin/tv_grab_zz_sdjson_sqlite:                                                                                         grab /usr/bin/tv_grab_zz_sdjson_sqlite
Jul 14 08:25:40 HTPC tvheadend[17453]: spawn: Executing "/usr/bin/tv_grab_zz_sdj                                                                                        son_sqlite" 
Jul 14 08:25:41 HTPC tvheadend[17453]: spawn: Opening the local database
Jul 14 08:25:41 HTPC tvheadend[17453]: spawn: Obtaining authentication token for                                                                                         Schedules Direct
Jul 14 08:25:41 HTPC tvheadend[17453]: spawn:    Schedules Direct account expire                                                                                        s on 2019-04-25T08:25:15
Jul 14 08:25:41 HTPC tvheadend[17453]: spawn:    Schedules Direct data last upda                                                                                        ted on 2018-07-14T05:47:06
Jul 14 08:25:41 HTPC tvheadend[17453]: spawn: Downloading data from Schedules Di                                                                                        rect
Jul 14 08:25:41 HTPC tvheadend[17453]: spawn:    not downloading lineups from Sc                                                                                        hedules Direct (data current)
Jul 14 08:25:41 HTPC tvheadend[17453]: spawn:    not downloading channel and sta                                                                                        tion maps for lineup GBR-1001659-DEFAULT (data current)
Jul 14 08:25:41 HTPC tvheadend[17453]: spawn:    not downloading station schedul                                                                                        e hashes (data current)
Jul 14 08:25:41 HTPC tvheadend[17453]: spawn:    not downloading daily schedules                                                                                         (data current)
Jul 14 08:25:42 HTPC tvheadend[17453]: spawn:    not downloading programs (data                                                                                         current)
Jul 14 08:25:42 HTPC tvheadend[17453]: spawn:    not downloading programs for su                                                                                        pplemental data (data current)
Jul 14 08:25:42 HTPC tvheadend[17453]: spawn:    not downloading artwork (data c                                                                                        urrent)
Jul 14 08:25:42 HTPC tvheadend[17453]: spawn: Processing data and creating XMLTV                                                                                         output
Jul 14 08:25:42 HTPC tvheadend[17453]: spawn:    184 channels processed
Jul 14 08:26:02 HTPC tvheadend[17453]: htsp: Got connection from 192.168.1.217
Jul 14 08:26:02 HTPC tvheadend[17453]: htsp: 192.168.1.217: Welcomed client software: Kodi Media Center (HTSPv29)
Jul 14 08:26:02 HTPC tvheadend[17453]: htsp: 192.168.1.217 [ Kodi Media Center ]: Identified as user 'test'
Jul 14 08:26:02 HTPC tvheadend[17453]: htsp: 192.168.1.217 [ test | Kodi Media Center ]: Privileges updated
Jul 14 08:26:39 HTPC tvheadend[17453]: spawn:    84951 program schedules process                                                                                        ed
Jul 14 08:26:39 HTPC tvheadend[17453]: spawn: Pruning the local database
Jul 14 08:26:39 HTPC tvheadend[17453]: mpegts: 10788V in DVB-S Network - tuning                                                                                         on TurboSight TBS 6905 DVB-S/S2  #1 : DVB-S #0
Jul 14 08:26:40 HTPC tvheadend[17453]: subscription: 0005: "192.168.1.217 [ test                                                                                         | Kodi Media Center ]" subscribing on channel "BBC One East Midlands", weight:                                                                                         150, adapter: "TurboSight TBS 6905 DVB-S/S2  #1 : DVB-S #0", network: "DVB-S Net                                                                                        work", mux: "10788V", provider: "BSkyB", service: "BBC One E Mid", profile="htsp                                                                                        ", hostname="192.168.1.217", username="test", client="Kodi Media Center" 
Jul 14 08:26:41 HTPC tvheadend[17453]: xmltv: /usr/bin/tv_grab_zz_sdjson_sqlite:                                                                                         grab took 60 seconds
Jul 14 08:26:41 HTPC tvheadend[17453]: CRASH: Signal: 11 in PRG: /usr/bin/tvhead                                                                                        end (4.3-1288~g66d6161) [eaa2ed22600de3eed86f302f612cd51e011e6414] CWD: /
Jul 14 08:26:41 HTPC tvheadend[17453]: CRASH: Fault address 0x971 (Address not m                                                                                        apped)
Jul 14 08:26:41 HTPC tvheadend[17453]: 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-gn                                                                                        u/libpcre2-8.so.0 /usr/lib/x86_64-linux-gnu/liburiparser.so.1 /usr/lib/x86_64-li                                                                                        nux-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-li                                                                                        nux-gnu/libpthread.so.0 /lib/x86_64-linux-gnu/libm.so.6 /lib/x86_64-linux-gnu/li                                                                                        brt.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/lib                                                                                        pcre.so.3 /lib/x86_64-linux-gnu/libgpg-error.so.0 /lib/x86_64-linux-gnu/libnss_c                                                                                        ompat.so.2 /lib/x86_64-linux-gnu/libnsl.so.1 /lib/x86_64-linux-gnu/libnss_nis.so                                                                                        .2 /lib/x86_64-linux-g
Jul 14 08:26:41 HTPC tvheadend[17453]: CRASH: Register dump [23]: 00007f96a106a5                                                                                        5000007f96a3a1a06400000000fffffff0000000000000000100007f96c807531d00000000000009                                                                                        710000556551a85b9000007f96953dddc000007f96a3a1a06000007f9695543560000055655778e5                                                                                        9000007f96955436b000007f9695543540000000000000097100007f972af7a68800007f972af7a5                                                                                        f0000055654f7e9c3600000000000102060000000000000033000000000000000400000000000000                                                                                        0efffffffe7ffbba130000000000000971
Jul 14 08:26:41 HTPC tvheadend[17453]: CRASH: STACKTRACE
Jul 14 08:26:41 HTPC tvheadend[17453]: CRASH: /project/repo/checkout/src/trap.c:                                                                                        148 0x55654f7ab0ed 0x55654f59d000
Jul 14 08:26:41 HTPC tvheadend[17453]: CRASH: ??:0 0x7f974502b390 0x7f974501a000
Jul 14 08:26:41 HTPC tvheadend[17453]: CRASH: /project/repo/checkout/src/epggrab                                                                                        /module/xmltv.c:680 0x55654f7e9c36 0x55654f59d000
Jul 14 08:26:42 HTPC tvheadend[17453]: CRASH: /project/repo/checkout/src/epggrab                                                                                        /module.c:388 0x55654f7e4b9b 0x55654f59d000
Jul 14 08:26:42 HTPC tvheadend[17453]: CRASH: /project/repo/checkout/src/epggrab                                                                                        .c:84 0x55654f787110 0x55654f59d000
Jul 14 08:26:42 HTPC tvheadend[17453]: CRASH: /project/repo/checkout/src/wrapper                                                                                        s.c:181 0x55654f76dcb5 0x55654f59d000
Jul 14 08:26:42 HTPC tvheadend[17453]: CRASH: ??:0 0x7f97450216ba 0x7f974501a000
Jul 14 08:26:42 HTPC tvheadend[17453]: CRASH: clone+0x6d  (/lib/x86_64-linux-gnu                                                                                        /libc.so.6)
Jul 14 08:26:42 HTPC kernel: [29764.656500] tvh:epggrabi[17490]: segfault at 971                                                                                         ip 000055654f7e9c36 sp 00007f972af7a5f0 error 4 in tvheadend[55654f59d000+120d0                                                                                        00]
Jul 14 08:26:42 HTPC systemd[1]: tvheadend.service: Main process exited, code=ki                                                                                        lled, status=11/SEGV
Jul 14 08:26:42 HTPC systemd[1]: tvheadend.service: Unit entered failed state.
Jul 14 08:26:42 HTPC systemd[1]: tvheadend.service: Failed with result 'signal'.
Jul 14 08:27:36 HTPC systemd[1]: tvheadend.service: Service hold-off time over, scheduling restart.@

History

#1

Updated by Ludi K. over 6 years ago

I wonder whether it is not the same issue as bug #5143.

I am creating an xmltv file with the tooltv_grab_zz_sdjson_sqlite. After its creation, I do an import by using the tv_grab_file mechanism of tvheadend: it results in a crash of tvheadend.

I am using version 4.4.20180702 (66d6161c56) of tvheadend on a Synology.

#2

Updated by Ash Guest over 6 years ago

Ludi K. wrote:

I wonder whether it is not the same issue as bug #5143.

I am creating an xmltv file with the tooltv_grab_zz_sdjson_sqlite. After its creation, I do an import by using the tv_grab_file mechanism of tvheadend: it results in a crash of tvheadend.

I am using version 4.4.20180702 (66d6161c56) of tvheadend on a Synology.

yes sounds the same, i think you're right

#3

Updated by Volker Rothert over 6 years ago

Hello,

use the data from koditvepg. Use socat to transfer it to xmltv.socket. That always worked until 1288.
So confirm hereby the crash.
greeting
Google translator

#4

Updated by Volker Rothert over 6 years ago

Sorry: That always worked until 1288 = This always worked until before 1288.

#5

Updated by Rob vh over 6 years ago

I'm running lubuntu with 4.3-1292~g9b9ee6859~bionic and xmltv installed.
tv_grab_zz_sdjson works perfectly (without sqlite).

#6

Updated by Ash Guest over 6 years ago

Rob vh wrote:

I'm running lubuntu with 4.3-1292~g9b9ee6859~bionic and xmltv installed.
tv_grab_zz_sdjson works perfectly (without sqlite).

just tested as well, just to make sure, same issue:

Aug 8 20:00:39 HTPC tvheadend[986]: xmltv: /usr/bin/tv_grab_zz_sdjson: grab took 70 seconds
Aug 8 20:00:39 HTPC tvheadend[986]: CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (4.3-1292~g9b9ee68) [d990aa06fbb643a9bd205e40df2de3021a59fe16] CWD: /
Aug 8 20:00:39 HTPC tvheadend[986]: CRASH: Fault address 0x6e6f73 (Address not mapped)
Aug 8 20:00:39 HTPC tvheadend[986]: 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
Aug 8 20:00:39 HTPC tvheadend[986]: CRASH: Register dump [23]: 000000000000fe0000007f64842d83942073696820726f6600007f652eeb10c400007f648415f44d00000000006e6f7300007f648f1163a000007f6493eaac5000007f64842d848a00007f64842d81a000007f64d1453cd000007f6493f5269000007f64842d837000000000006e6f7300007f651d8f268800007f651d8f25f0000055d18b003c86000000000001020200000000000000330000000000000004000000000000000efffffffe7ffbba1300000000006e6f73
Aug 8 20:00:39 HTPC tvheadend[986]: CRASH: STACKTRACE
Aug 8 20:00:39 HTPC tvheadend[986]: CRASH: /project/repo/checkout/src/trap.c:148 0x55d18afc513d 0x55d18adb7000
Aug 8 20:00:40 HTPC tvheadend[986]: CRASH: ??:0 0x7f652f997390 0x7f652f986000
Aug 8 20:00:40 HTPC tvheadend[986]: CRASH: /project/repo/checkout/src/epggrab/module/xmltv.c:680 0x55d18b003c86 0x55d18adb7000
Aug 8 20:00:40 HTPC tvheadend[986]: CRASH: /project/repo/checkout/src/epggrab/module.c:388 0x55d18affebeb 0x55d18adb7000
Aug 8 20:00:40 HTPC tvheadend[986]: CRASH: /project/repo/checkout/src/epggrab.c:84 0x55d18afa1110 0x55d18adb7000
Aug 8 20:00:40 HTPC tvheadend[986]: CRASH: /project/repo/checkout/src/wrappers.c:181 0x55d18af87cb5 0x55d18adb7000
Aug 8 20:00:40 HTPC kernel: [289871.106337] tvh:epggrabi[1525]: segfault at 6e6f73 ip 000055d18b003c86 sp 00007f651d8f25f0 error 4 in tvheadend[55d18adb7000+120d000]
Aug 8 20:00:40 HTPC tvheadend[986]: CRASH: ??:0 0x7f652f98d6ba 0x7f652f986000
Aug 8 20:00:40 HTPC tvheadend[986]: CRASH: clone+0x6d (/lib/x86_64-linux-gnu/libc.so.6)
Aug 8 20:00:40 HTPC systemd[1]: tvheadend.service: Main process exited, code=killed, status=11/SEGV
Aug 8 20:00:40 HTPC systemd[1]: tvheadend.service: Unit entered failed state.
Aug 8 20:00:40 HTPC systemd[1]: tvheadend.service: Failed with result 'signal'.
Aug 8 20:01:35 HTPC systemd[1]: tvheadend.service: Service hold-off time over, scheduling restart.

#7

Updated by Ash Guest over 6 years ago

Rob vh wrote:

I'm running lubuntu with 4.3-1292~g9b9ee6859~bionic and xmltv installed.
tv_grab_zz_sdjson works perfectly (without sqlite).

just tested tv_grab_zz_sdjson, just to make sure, same issue:

Aug 8 20:00:39 HTPC tvheadend[986]: xmltv: /usr/bin/tv_grab_zz_sdjson: grab took 70 seconds
Aug 8 20:00:39 HTPC tvheadend[986]: CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (4.3-1292~g9b9ee68) [d990aa06fbb643a9bd205e40df2de3021a59fe16] CWD: /
Aug 8 20:00:39 HTPC tvheadend[986]: CRASH: Fault address 0x6e6f73 (Address not mapped)
Aug 8 20:00:39 HTPC tvheadend[986]: 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
Aug 8 20:00:39 HTPC tvheadend[986]: CRASH: Register dump [23]: 000000000000fe0000007f64842d83942073696820726f6600007f652eeb10c400007f648415f44d00000000006e6f7300007f648f1163a000007f6493eaac5000007f64842d848a00007f64842d81a000007f64d1453cd000007f6493f5269000007f64842d837000000000006e6f7300007f651d8f268800007f651d8f25f0000055d18b003c86000000000001020200000000000000330000000000000004000000000000000efffffffe7ffbba1300000000006e6f73
Aug 8 20:00:39 HTPC tvheadend[986]: CRASH: STACKTRACE
Aug 8 20:00:39 HTPC tvheadend[986]: CRASH: /project/repo/checkout/src/trap.c:148 0x55d18afc513d 0x55d18adb7000
Aug 8 20:00:40 HTPC tvheadend[986]: CRASH: ??:0 0x7f652f997390 0x7f652f986000
Aug 8 20:00:40 HTPC tvheadend[986]: CRASH: /project/repo/checkout/src/epggrab/module/xmltv.c:680 0x55d18b003c86 0x55d18adb7000
Aug 8 20:00:40 HTPC tvheadend[986]: CRASH: /project/repo/checkout/src/epggrab/module.c:388 0x55d18affebeb 0x55d18adb7000
Aug 8 20:00:40 HTPC tvheadend[986]: CRASH: /project/repo/checkout/src/epggrab.c:84 0x55d18afa1110 0x55d18adb7000
Aug 8 20:00:40 HTPC tvheadend[986]: CRASH: /project/repo/checkout/src/wrappers.c:181 0x55d18af87cb5 0x55d18adb7000
Aug 8 20:00:40 HTPC kernel: [289871.106337] tvh:epggrabi[1525]: segfault at 6e6f73 ip 000055d18b003c86 sp 00007f651d8f25f0 error 4 in tvheadend[55d18adb7000+120d000]
Aug 8 20:00:40 HTPC tvheadend[986]: CRASH: ??:0 0x7f652f98d6ba 0x7f652f986000
Aug 8 20:00:40 HTPC tvheadend[986]: CRASH: clone+0x6d (/lib/x86_64-linux-gnu/libc.so.6)
Aug 8 20:00:40 HTPC systemd[1]: tvheadend.service: Main process exited, code=killed, status=11/SEGV
Aug 8 20:00:40 HTPC systemd[1]: tvheadend.service: Unit entered failed state.
Aug 8 20:00:40 HTPC systemd[1]: tvheadend.service: Failed with result 'signal'.
Aug 8 20:01:35 HTPC systemd[1]: tvheadend.service: Service hold-off time over, scheduling restart.

#8

Updated by Ash Guest over 6 years ago

confirmed fixed with 4.3-1324~g31e50ee

#9

Updated by Jaroslav Kysela over 6 years ago

  • Status changed from New to Fixed

Fixed in latest.

Also available in: Atom PDF