Project

General

Profile

Bug #5430

Crashing when deleting a Channel

Added by B C 12 months ago. Updated 12 months ago.

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

100%

Estimated time:
Found in version:
4.3-1663~g552cea0fc
Affected Versions:

Description

I can no longer delete most of my channels, tvh crashes with the following logs:

Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: Signal: 11 in PRG: /usr/local/bin/tvheadend (4.3-1663~g552cea0fc) [d8084f27ee8e3e57b90380b8df53d85210dc4153] CWD: /tmp
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: Fault address (nil) (N/A)
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: Loaded libraries: linux-vdso.so.1 /usr/lib/x86_64-linux-gnu/libdvbcsa.so.1 /usr/lib/x86_64-linux-gnu/libssl.so.1.1 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 /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 /usr/lib/x86_64-linux-gnu/libva.so.2 /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 /lib/x86_64-linux-gnu/libmvec.so.1 /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/x86_64-linux-gnu/libva-drm.so.2 /usr/lib/x86_64-linux-gnu/libva-x11.so.2 /usr/lib/x86_64-linux-gnu/libX11.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 /usr/lib/x86_64-linux-gnu/libdrm.so.2 /usr/lib/x86_64-linux-gnu/libXext.so.6 /usr/lib/x86_64-linux-gnu/lib
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: Register dump [23]: 000000000000000000000000000000000000000000000000000000000000020600005572d8c902f000007f7abadf598000007f7abadf597800007f7ad93ee76800007f7a74004df000007f7abadf59780000000000000006320041000036332e00007f7abadf59800000000000000000000000007fffffff00007f7abadf590000005572d7b6e0670000000000010246002b0000000000330000000000000000000000000000000dfffffffe7ffbba130000000000000000
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: STACKTRACE
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: Signal: 6 in PRG: /usr/local/bin/tvheadend (4.3-1663~g552cea0fc) [d8084f27ee8e3e57b90380b8df53d85210dc4153] CWD: /tmp
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: Fault address 0x659a (N/A)
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: Loaded libraries: linux-vdso.so.1 /usr/lib/x86_64-linux-gnu/libdvbcsa.so.1 /usr/lib/x86_64-linux-gnu/libssl.so.1.1 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 /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 /usr/lib/x86_64-linux-gnu/libva.so.2 /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 /lib/x86_64-linux-gnu/libmvec.so.1 /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/x86_64-linux-gnu/libva-drm.so.2 /usr/lib/x86_64-linux-gnu/libva-x11.so.2 /usr/lib/x86_64-linux-gnu/libX11.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 /usr/lib/x86_64-linux-gnu/libdrm.so.2 /usr/lib/x86_64-linux-gnu/libXext.so.6 /usr/lib/x86_64-linux-gnu/lib
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: Register dump [23]: 000000000000000000007f7aba9f36800000000000000008000000000000024600007f7a74004e9000007f7aba9f398000005572d8c90314000000000000000b000000000000000200007f7aba9f368000007f7a98000c6400007f7a74004e900000000000000000000000000000000000007f7af48aae9700007f7aba9f368000007f7af48aae970000000000000246002b00000000003300000000000000000000000000000000fffffffe7ffbba130000000000000000
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: STACKTRACE
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: /root/tvheadend/src/trap.c:176 0x5572d7b74aed 0x5572d7953000
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: /root/tvheadend/src/trap.c:176 0x5572d7b74aed 0x5572d7953000
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: ??:0 0x7f7af5f09890 0x7f7af5ef7000
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: gsignal+0xc7 (/lib/x86_64-linux-gnu/libc.so.6)
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: abort+0x141 (/lib/x86_64-linux-gnu/libc.so.6)
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: ??:0 0x7f7af5f09890 0x7f7af5ef7000
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: gsignal+0xc7 (/lib/x86_64-linux-gnu/libc.so.6)
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: abort+0x141 (/lib/x86_64-linux-gnu/libc.so.6)
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: /root/tvheadend/src/htsmsg_binary.c:303 0x5572d7b6e39f 0x5572d7953000
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: /root/tvheadend/src/htsmsg_binary.c:303 0x5572d7b6e39f 0x5572d7953000
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: /root/tvheadend/src/htsmsg_binary.c:389 0x5572d7b6e566 0x5572d7953000
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: /root/tvheadend/src/htsmsg_binary.c:389 0x5572d7b6e566 0x5572d7953000
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: /root/tvheadend/src/htsp_server.c:3371 0x5572d7b65790 0x5572d7953000
Dez 14 08:18:45 discovery tvheadend[26010]: CRASH: /root/tvheadend/src/htsp_server.c:3371 0x5572d7b65790 0x5572d7953000

BT:

#0 __GI___libc_free (mem=0x6b8a16a8) at malloc.c:3103
ar_ptr = <optimized out>
p = <optimized out>
hook = 0x0
mem = 0x6b8a16a8
ar_ptr = <optimized out>
p = <optimized out>
hook = <optimized out>
__x = <optimized out>
ar_ptr = <optimized out>
p = <optimized out>
hook = 0x0
__x = <optimized out>
#1 0x000055555576cc0e in htsmsg_destroy (msg=0x7fff90004040) at src/htsmsg.c:280
No locals.
#2 0x000055555576d0fa in htsmsg_destroy (msg=<optimized out>) at src/htsmsg.c:275
No locals.
#3 0x00005555557618dd in htsp_msg_destroy ([email protected]=0x7fff90004010) at src/htsp_server.c:297
No locals.
#4 0x00005555557667a0 in htsp_write_scheduler (aux=0x7fffbb3f86b0) at src/htsp_server.c:3378
htsp = 0x7fffbb3f86b0
hmq = <optimized out>
hm = 0x7fff90004010
dptr = 0x7fffa00076e0
dlen = 114
r = <optimized out>
#5 0x0000555555736448 in thread_wrapper (p=0x7fffa0000b60) at src/tvh_thread.c:91
ts = <optimized out>
set = {__val = {16388, 0 <repeats 15 times>}}
r = <optimized out>
#6 0x00007ffff617f6db in start_thread (arg=0x7fffbb5fa700) at pthread_create.c:463
pd = 0x7fffbb5fa700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736336996096, 1810820014354935990, 140736336993088, 0, 140735877745504, 140736334890432, -1810968724198707018, -1810799879240339274}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, $
not_first_call = <optimized out>
#7 0x00007ffff4c0e88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Keep up the good work
LSD

Associated revisions

Revision abfc7c92 (diff)
Added by Jaroslav Kysela 12 months ago

htsp server: fix the wrong htsmsg destroy introduced in the imagecache patch, fixes #5430, fixes #5431, fixes #5429

History

#1

Updated by B C 12 months ago

I just noticed that changing channel tags is enough to make it crash

#2

Updated by B C 12 months ago

going back to 4.3-1562~g0d101eb91, channel editing works again, so the actual channel data seems to be fine

#3

Updated by Jaroslav Kysela 12 months ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF