Project

General

Profile

Bug #4955

Crash on EPG load - built from master

Added by J Smith over 6 years ago. Updated over 6 years ago.

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

0%

Estimated time:
Found in version:
4.3-1085~g1bfcb72~xenial
Affected Versions:

Description

Feb 19 12:21:38 tvheadend tvheadend7010: xmltv: /usr/bin/tv_grab_file: grab took 1 seconds
Feb 19 12:21:38 tvheadend tvheadend7010: CRASH: Signal: 6 in PRG: /usr/bin/tvheadend (4.3-1085~g1bfcb72) [89bb50b1e777486b345e15d6a0f5341bf11298c9] CWD: /
Feb 19 12:21:38 tvheadend tvheadend7010: CRASH: Fault address 0x6f00001b62 (N/A)
Feb 19 12:21:38 tvheadend tvheadend7010: 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 /lib/x86_64-linux-gnu/libpcre.so.3 /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/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
Feb 19 12:21:38 tvheadend tvheadend7010: CRASH: Register dump [23]: 0000000000000035000000000000000000000000000000080000000000000202000000000000005c00007fd9a44592f800007fd9a44592f800000000000000020000000000001b620000000000001c7200007fd9a44594e0000000000000005c0000000000000006000000000000000000007fd9a8b0942800007fd9a445914800007fd9a8b094280000000000000202002b00000000003300000000000000000000000000000000fffffffe7ffbba130000000000000000
Feb 19 12:21:38 tvheadend tvheadend7010: CRASH: STACKTRACE
Feb 19 12:21:38 tvheadend tvheadend7010: CRASH: ??:0 0x55e3d4cc7c0d 0x55e3d4abb000
Feb 19 12:21:38 tvheadend tvheadend7010: CRASH: ??:0 0x7fd9a9742390 0x7fd9a9731000
Feb 19 12:21:38 tvheadend tvheadend7010: CRASH: gsignal+0x38 (/lib/x86_64-linux-gnu/libc.so.6)
Feb 19 12:21:38 tvheadend tvheadend7010: CRASH: abort+0x16a (/lib/x86_64-linux-gnu/libc.so.6)
Feb 19 12:21:38 tvheadend tvheadend7010: CRASH: ??:0 0x7fd9a8b4b7ea 0x7fd9a8ad4000
Feb 19 12:21:39 tvheadend tvheadend7010: CRASH: ??:0 0x7fd9a8b5437a 0x7fd9a8ad4000
Feb 19 12:21:39 tvheadend tvheadend7010: CRASH: cfree+0x4c (/lib/x86_64-linux-gnu/libc.so.6)
Feb 19 12:21:39 tvheadend tvheadend7010: CRASH: ??:0 0x55e3d4cd2865 0x55e3d4abb000
Feb 19 12:21:39 tvheadend tvheadend7010: CRASH: ??:0 0x55e3d4d04a14 0x55e3d4abb000
Feb 19 12:21:39 tvheadend tvheadend7010: CRASH: ??:0 0x55e3d4cfffcb 0x55e3d4abb000
Feb 19 12:21:39 tvheadend tvheadend7010: CRASH: ??:0 0x55e3d4ca4080 0x55e3d4abb000
Feb 19 12:21:39 tvheadend tvheadend7010: CRASH: ??:0 0x55e3d4c8af65 0x55e3d4abb000
Feb 19 12:21:39 tvheadend tvheadend7010: CRASH: ??:0 0x7fd9a97386ba 0x7fd9a9731000
Feb 19 12:21:39 tvheadend tvheadend7010: CRASH: clone+0x6d (/lib/x86_64-linux-gnu/libc.so.6)
Feb 19 12:21:39 tvheadend systemd1: tvheadend.service: Main process exited, code=killed, status=6/ABRT
Feb 19 12:21:39 tvheadend systemd1: tvheadend.service: Unit entered failed state.
Feb 19 12:21:39 tvheadend systemd1: tvheadend.service: Failed with result 'signal'.


Files

gdb.txt (13.3 KB) gdb.txt J Smith, 2018-02-19 14:24
_usr_bin_tvheadend.0.crash (67.6 MB) _usr_bin_tvheadend.0.crash J Smith, 2018-02-19 14:37
tvh.valgrind (33.8 KB) tvh.valgrind J Smith, 2018-02-19 16:46

History

#2

Updated by J Smith over 6 years ago

gah. my apologies.

Feb 19 13:07:29 tvheadend tvheadend9593: xmltv: /usr/bin/tv_grab_file: grab took 1 seconds
Feb 19 13:07:29 tvheadend tvheadend9593: CRASH: Signal: 6 in PRG: /usr/bin/tvheadend (4.3-1085~g1bfcb72) [89bb50b1e777486b345e15d6a0f5341bf11298c9] CWD: /
Feb 19 13:07:29 tvheadend tvheadend9593: CRASH: Fault address 0x6f00002579 (N/A)
Feb 19 13:07:29 tvheadend tvheadend9593: 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 /lib/x86_64-linux-gnu/libpcre.so.3 /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/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
Feb 19 13:07:29 tvheadend tvheadend9593: CRASH: Register dump [23]: 0000000000000057000000000000000000000000000000080000000000000202000000000000005c00007f160a9f62f800007f160a9f62f80000000000000002000000000000257900000000000025aa00007f160a9f64e0000000000000005c0000000000000006000000000000000000007f161b0c942800007f160a9f614800007f161b0c94280000000000000202002b00000000003300000000000000000000000000000000fffffffe7ffbba130000000000000000
Feb 19 13:07:29 tvheadend tvheadend9593: CRASH: STACKTRACE
Feb 19 13:07:30 tvheadend tvheadend9593: CRASH: /root/tvheadend/src/trap.c:148 0x558ffea0bc0d 0x558ffe7ff000
Feb 19 13:07:30 tvheadend tvheadend9593: CRASH: ??:0 0x7f161bd02390 0x7f161bcf1000
Feb 19 13:07:30 tvheadend tvheadend9593: CRASH: gsignal+0x38 (/lib/x86_64-linux-gnu/libc.so.6)
Feb 19 13:07:30 tvheadend tvheadend9593: CRASH: abort+0x16a (/lib/x86_64-linux-gnu/libc.so.6)
Feb 19 13:07:30 tvheadend tvheadend9593: CRASH: ??:0 0x7f161b10b7ea 0x7f161b094000
Feb 19 13:07:30 tvheadend tvheadend9593: CRASH: ??:0 0x7f161b11437a 0x7f161b094000
Feb 19 13:07:30 tvheadend tvheadend9593: CRASH: cfree+0x4c (/lib/x86_64-linux-gnu/libc.so.6)
Feb 19 13:07:30 tvheadend tvheadend9593: CRASH: /root/tvheadend/src/lang_str.c:69 0x558ffea16865 0x558ffe7ff000
Feb 19 13:07:31 tvheadend tvheadend9593: CRASH: /root/tvheadend/src/epggrab/module/xmltv.c:790 0x558ffea48a14 0x558ffe7ff000
Feb 19 13:07:31 tvheadend tvheadend9593: CRASH: /root/tvheadend/src/epggrab/module.c:388 0x558ffea43fcb 0x558ffe7ff000
Feb 19 13:07:31 tvheadend tvheadend9593: CRASH: /root/tvheadend/src/epggrab.c:84 0x558ffe9e8080 0x558ffe7ff000
Feb 19 13:07:31 tvheadend tvheadend9593: CRASH: /root/tvheadend/src/wrappers.c:181 0x558ffe9cef65 0x558ffe7ff000
Feb 19 13:07:31 tvheadend tvheadend9593: CRASH: ??:0 0x7f161bcf86ba 0x7f161bcf1000
Feb 19 13:07:31 tvheadend tvheadend9593: CRASH: clone+0x6d (/lib/x86_64-linux-gnu/libc.so.6)
Feb 19 13:07:32 tvheadend systemd1: tvheadend.service: Main process exited, code=killed, status=6/ABRT
Feb 19 13:07:32 tvheadend systemd1: tvheadend.service: Unit entered failed state.
Feb 19 13:07:32 tvheadend systemd1: tvheadend.service: Failed with result 'signal'.

#3

Updated by J Smith over 6 years ago

#4

Updated by J Smith over 6 years ago

When running an 'Internal EPG' scan/import.

#5

Updated by J Smith over 6 years ago

Last crash file added is not correct, earlier crash. Have set kernel.core_uses_pid = 1 as running Ubuntu, tvheadend is running with -D (and as daemon) but nothing in /tmp for the coredump

#7

Updated by J Smith over 6 years ago

Attached. The first time I ran the Internal EPG import it ran, but only listed channels - no content/programmes, it's there. Ran it again and then it crashed. Seems to be the 2nd time it runs.

  1. First time Internal EPG ran, only seemed to import channels.
    2018-02-19 15:30:46.002 [ INFO] xmltv: /usr/bin/tv_grab_file: grab /usr/bin/tv_grab_file
    2018-02-19 15:30:46.018 [ INFO] spawn: Executing "/usr/bin/tv_grab_file"
    2018-02-19 15:36:25.852 [ INFO] xmltv: /usr/bin/tv_grab_file: grab took 340 seconds
    2018-02-19 15:36:32.779 [ INFO] xmltv: /usr/bin/tv_grab_file: parse took 2 seconds
    2018-02-19 15:36:32.779 [ INFO] xmltv: /usr/bin/tv_grab_file: channels tot= 879 new= 879 mod= 879
    2018-02-19 15:36:32.780 [ INFO] xmltv: /usr/bin/tv_grab_file: brands tot= 0 new= 0 mod= 0
    2018-02-19 15:36:32.780 [ INFO] xmltv: /usr/bin/tv_grab_file: seasons tot= 0 new= 0 mod= 0
    2018-02-19 15:36:32.780 [ INFO] xmltv: /usr/bin/tv_grab_file: episodes tot= 0 new= 0 mod= 0
    2018-02-19 15:36:32.780 [ INFO] xmltv: /usr/bin/tv_grab_file: broadcasts tot= 0 new= 0 mod= 0
    2018-02-19 15:37:58.832 [ INFO] xmltv: /usr/bin/tv_grab_file: grab /usr/bin/tv_grab_file
    2018-02-19 15:37:58.861 [ INFO] spawn: Executing "/usr/bin/tv_grab_file"
#8

Updated by Jaroslav Kysela over 6 years ago

Thanks. Retest with latest and do the new valgrind run if it does not work.

#9

Updated by J Smith over 6 years ago

Many thanks, fixed in 1090. Ran it a few times without a crash.

#10

Updated by Jaroslav Kysela over 6 years ago

  • Status changed from New to Fixed

Also available in: Atom PDF