Project

General

Profile

Bug #5413

Upgraded to 4.3-1638~gf0524db, now crash on playback request

Added by Vik Toras almost 6 years ago. Updated almost 6 years ago.

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

100%

Estimated time:
Found in version:
4.3-1638~gf0524db
Affected Versions:

Description

Upgraded to 4.3-1638~gf0524db (from a ~5 day older version) and crashes on playback request

2018-12-10 02:46:36.629 [  ALERT] CRASH: Signal: 6 in PRG: tvheadend (4.3-1638~gf0524db) [b1e3084b82da029a1fe68c8479577cf3049b92aa] CWD: /home/hts
2018-12-10 02:46:36.629 [  ALERT] CRASH: Fault address 0x6f0000114c (N/A)
2018-12-10 02:46:36.629 [  ALERT] 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
2018-12-10 02:46:36.629 [  ALERT] CRASH: Register dump [23]: 00007f36363d470000000000000000210000000000000008000000000000020200007f3610029570000055e181711db000007f36100296380000000000000000000000000000114c0000000000001156000000005c0e440b00007f36100288880000000000000006000000000000000000007f3638caa42800007f36363b363800007f3638caa4280000000000000202000000000000003300000000000000000000000000000000fffffffe7ffbba130000000000000000
2018-12-10 02:46:36.629 [  ALERT] CRASH: STACKTRACE
2018-12-10 02:46:36.920 [  ALERT] CRASH: /project/repo/checkout/src/trap.c:176 0x55e18163fded 0x55e18142c000
2018-12-10 02:46:37.177 [  ALERT] CRASH: ??:0 0x7f36398e3390 0x7f36398d2000
2018-12-10 02:46:37.177 [  ALERT] CRASH: gsignal+0x38  (/lib/x86_64-linux-gnu/libc.so.6)
2018-12-10 02:46:37.177 [  ALERT] CRASH: abort+0x16a  (/lib/x86_64-linux-gnu/libc.so.6)
2018-12-10 02:46:37.390 [  ALERT] CRASH: /project/repo/checkout/src/tvh_thread.c:437 0x55e181600ef9 0x55e18142c000
2018-12-10 02:46:37.611 [  ALERT] CRASH: /project/repo/checkout/src/tvh_thread.h:75 0x55e1815f2ee8 0x55e18142c000
2018-12-10 02:46:37.837 [  ALERT] CRASH: /project/repo/checkout/src/input/mpegts/iptv/iptv_http.c:258 0x55e181711f9e 0x55e18142c000
2018-12-10 02:46:38.053 [  ALERT] CRASH: /project/repo/checkout/src/httpc.c:1112 0x55e181654911 0x55e18142c000
2018-12-10 02:46:38.274 [  ALERT] CRASH: /project/repo/checkout/src/httpc.c:1195 0x55e181654f08 0x55e18142c000
2018-12-10 02:46:38.489 [  ALERT] CRASH: /project/repo/checkout/src/httpc.c:1453 0x55e1816550c1 0x55e18142c000
2018-12-10 02:46:38.705 [  ALERT] CRASH: /project/repo/checkout/src/tvh_thread.c:91 0x55e1816000d5 0x55e18142c000

Ran A gdb for first time not sure if correct.

#0  0x00007ff99ac5b428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
        resultvar = 0
        pid = 5099
        selftid = 5109
#1  0x00007ff99ac5d187 in __GI_abort () at abort.c:118
        act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {18446744073709551615 <repeats 16 times>}}, sa_flags = 0, sa_restorer = 0x0}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00005556692e9ef9 in tvh_mutex_not_held (file=<optimized out>, line=<optimized out>) at src/tvh_thread.c:437
No locals.
#3  0x00005556692dbee8 in lock_assert0 (line=365, file=0x55566a236248 "src/main.c", l=0x55566a9f4800 <global_lock>) at /project/repo/checkout/src/tvh_thread.h:75
No locals.
#4  gtimer_arm_absn (gti=0x7ff97802aef8, callback=0x5556693fadb0 <iptv_http_kick_cb>, opaque=0x7ff97802b0e0, when=1544439590) at src/main.c:365
No locals.
#5  0x00005556693faf9e in iptv_http_header (hc=0x7ff97802b0e0) at src/input/mpegts/iptv/iptv_http.c:258
        hp = 0x7ff97802aee0
        im = <optimized out>
        argv = {0x7ff964002680 "video/mpeg", 0x0, 0x0}
        s = 0x7ff964002680 "video/mpeg" 
        n = <optimized out>
#6  0x000055566933d911 in http_client_run0 (hc=hc@entry=0x7ff97802b0e0) at src/httpc.c:1112
        buf = 0x7ff9983647f0 "HTTP/1.0 200 OK\r\nContent-Type: video/mpeg\r\nConnection: close\r\nX-Playback-Id: 4c18524de191c214ffbc9b605568374809d50dcd\r\n\r\ned\r\nConnection: close\r\nSet-Cookie: __cfduid=d53e3f2b7a6654ada485df95f6918ae3d15"...
        saveptr = 0x7ff964000935 "" 
        argv = {0x7ff9640008c0 "HTTP/1.0", 0x7ff9640008c9 "200", 0x7ff9640008cd "OK"}
        d = <optimized out>
        p = <optimized out>
        ver = 0
        res = <optimized out>
        delimsize = <optimized out>
        r = <optimized out>
        len = <optimized out>
#7  0x000055566933df08 in http_client_run (hc=hc@entry=0x7ff97802b0e0) at src/httpc.c:1195
        r = <optimized out>
#8  0x000055566933e0c1 in http_client_thread (p=<optimized out>) at src/httpc.c:1453
        n = <optimized out>
        ev = {fd = -1, events = 1, ptr = 0x7ff97802b0e0}
        hc = <optimized out>
        c = 0 '\000'
#9  0x00005556692e90d5 in thread_wrapper (p=0x55566c6e0e60) at src/tvh_thread.c:91
        set = {__val = {16388, 0 <repeats 15 times>}}
        r = <optimized out>
#10 0x00007ff99b88a6ba in start_thread (arg=0x7ff998385700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7ff998385700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140709977413376, 5972386818762493052, 0, 140727857073791, 140709977414080, 5, -5975961851218867076, -5975967491943674756}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread" 
#11 0x00007ff99ad2d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

History

#1

Updated by Eric Valette almost 6 years ago

I can confirm the bug. If I start kodi with tvheadend addon, the system becomes unreachable for several minutes. Debug via web interface shows the connection, several trying to reconnect and then browser say unreachable. The same setup with an older version works correctly.

#2

Updated by Jaroslav Kysela almost 6 years ago

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

Applied in changeset commit:tvheadend|bceba08524069c012c26302b06790f1e1099541b.

Also available in: Atom PDF