Project

General

Profile

Bug #4906

CRASH when epgdb: snapshot start

Added by Christian Eiden almost 5 years ago. Updated almost 5 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-01-30
Due date:
% Done:

0%

Estimated time:
Found in version:
HTS Tvheadend 4.3-1006~gd381d71
Affected Versions:

Description

TVH crashed when epgdb: snapshot start:

Jan 30 20:49:04 tv tvheadend[28810]: epgdb: snapshot start
Jan 30 20:49:04 tv tvheadend[28810]: CRASH: Signal: 6 in PRG: /usr/bin/tvheadend (4.3-1006~gd381d71) [1b3de7adaa1f031780b33ac6b0c411fd2b7f8677] CWD: /
Jan 30 20:49:04 tv tvheadend[28810]: CRASH: Fault address 0x700000708a (N/A)
Jan 30 20:49:04 tv tvheadend[28810]: 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 /usr/lib/x86_64-linux-gnu/libva.so.1 /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/libva-drm.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 /usr/lib/x86_64-linux-gnu/libdrm.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/li
Jan 30 20:49:04 tv tvheadend[28810]: CRASH: Register dump [23]: 000055716b93d720ff092d63646b680000000000000000080000000000000202000000000000015b00005571663ca800000055716cf019d80000000000000100000000000000708a000000000000708a00005571663ca82a00007f88ebcb40000000000000000006000000000000000000007f88e927242800007ffe6a9cc31800007f88e92724280000000000000202002b00000000003300000000000000000000000000000000fffffffe7ffbba150000000000000000
Jan 30 20:49:04 tv tvheadend[28810]: CRASH: STACKTRACE
Jan 30 20:49:04 tv tvheadend[28810]: CRASH: /home/cyke/tvheadend/src/trap.c:148 0x5571655b58ed 0x55716539c000
Jan 30 20:49:04 tv tvheadend[28810]: CRASH: ??:0 0x7f88ea0ae390 0x7f88ea09d000
Jan 30 20:49:04 tv tvheadend[28810]: CRASH: gsignal+0x38  (/lib/x86_64-linux-gnu/libc.so.6)
Jan 30 20:49:04 tv tvheadend[28810]: CRASH: abort+0x16a  (/lib/x86_64-linux-gnu/libc.so.6)
Jan 30 20:49:04 tv tvheadend[28810]: CRASH: ??:0 0x7f88e926abd7 0x7f88e923d000
Jan 30 20:49:04 tv tvheadend[28810]: CRASH: ??:0 0x7f88e926ac82 0x7f88e923d000
Jan 30 20:49:05 tv tvheadend[28810]: CRASH: /home/cyke/tvheadend/src/htsmsg_binary2.c:347 0x5571655af989 0x55716539c000
Jan 30 20:49:05 tv tvheadend[28810]: CRASH: /home/cyke/tvheadend/src/htsmsg_binary2.c:362 0x5571655af844 0x55716539c000
Jan 30 20:49:05 tv tvheadend[28810]: CRASH: /home/cyke/tvheadend/src/htsmsg_binary2.c:438 0x5571655afbca 0x55716539c000
Jan 30 20:49:05 tv tvheadend[28810]: CRASH: /home/cyke/tvheadend/src/epgdb.c:456 0x55716558ffb5 0x55716539c000
Jan 30 20:49:05 tv tvheadend[28810]: CRASH: /home/cyke/tvheadend/src/epgdb.c:572 0x5571655916d2 0x55716539c000
Jan 30 20:49:06 tv tvheadend[28810]: CRASH: /home/cyke/tvheadend/src/main.c:710 0x55716556870c 0x55716539c000
Jan 30 20:49:06 tv tvheadend[28810]: CRASH: __libc_start_main+0xf0  (/lib/x86_64-linux-gnu/libc.so.6)
Jan 30 20:49:06 tv systemd[1]: tvheadend.service: Main process exited, code=dumped, status=6/ABRT
Jan 30 20:49:06 tv systemd[1]: tvheadend.service: Unit entered failed state.
Jan 30 20:49:06 tv systemd[1]: tvheadend.service: Failed with result 'core-dump'.
Jan 30 20:49:30 tv systemd[1]: Created slice User Slice of cyke.
Jan 30 20:49:30 tv systemd[1]: Starting User Manager for UID 1000...
Jan 30 20:49:30 tv systemd[1]: Started Session 152 of user cyke.
Jan 30 20:49:30 tv systemd[2350]: Reached target Paths.
Jan 30 20:49:30 tv systemd[2350]: Reached target Timers.
Jan 30 20:49:30 tv systemd[2350]: Reached target Sockets.
Jan 30 20:49:30 tv systemd[2350]: Reached target Basic System.
Jan 30 20:49:30 tv systemd[2350]: Reached target Default.
Jan 30 20:49:30 tv systemd[2350]: Startup finished in 24ms.
Jan 30 20:49:30 tv systemd[1]: Started User Manager for UID 1000.
Jan 30 20:50:00 tv systemd[1]: tvheadend.service: Service hold-off time over, scheduling restart.
Jan 30 20:50:00 tv systemd[1]: Stopped Tvheadend - a TV streaming server and DVR.
Jan 30 20:50:00 tv systemd[1]: Starting Tvheadend - a TV streaming server and DVR...
Jan 30 20:50:00 tv systemd[1]: Started Tvheadend - a TV streaming server and DVR.

History

#1

Updated by Jaroslav Kysela almost 5 years ago

It looks like a memory corruption. Could you run tvh in gdb and inspect the f variable in last htsmsg_binary2_write() ?

#2

Updated by Christian Eiden almost 5 years ago

I'll try this tonight, but I've never done so before ;-)

#3

Updated by Jaroslav Kysela almost 5 years ago

Attach gdb to tvh, wait for crash, type 'backtrace', find the first line with htsmsg_binary2_write() - use the number at start of line, type 'frame <number>', type 'print *f'.

https://tvheadend.org/projects/tvheadend/wiki/Debugging

#4

Updated by Christian Eiden almost 5 years ago

No crash happened since then, I upgraded to newer versions. I think the ticket can be closed for the moment

#5

Updated by Jaroslav Kysela almost 5 years ago

  • Status changed from New to Fixed

Also available in: Atom PDF