Project

General

Profile

Bug #5535

Tvheadend random crash

Added by Jozef M almost 6 years ago. Updated almost 4 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-02-10
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-1529~gc8bbae504
Affected Versions:

Description

Today I found tvheadend crashed with segfault. Not sure what caused it, I however have a coredump:

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/opt/tvheadend/bin/tvheadend -C -D -f -u root -g root -S'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fc85d245e10 in free () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7fc8311dd700 (LWP 16319))]
(gdb) bt
#0  0x00007fc85d245e10 in free () from /lib64/libc.so.6
#1  0x000055dd244922f7 in descrambler_table_callback (mt=0x7fc84402cc20, ptr=0x7fc84402cc90 "\202@\037\263\002?\372", len=34, tableid=<optimized out>)
    at src/descrambler/descrambler.c:1286
#2  0x000055dd244a9233 in mpegts_table_dispatch (sec=<optimized out>, r=<optimized out>, aux=0x7fc84402cc20) at src/input/mpegts/mpegts_table.c:101
#3  0x000055dd2449fde2 in mpegts_psi_section_reassemble0 (mt=mt@entry=0x7fc84402cc20, logpref=logpref@entry=0x7fc82c059c60 "12109.5H in Astra 23.5", 
    data=data@entry=0x7fc7c80356c8 "\202@\037\263\002?\372", len=len@entry=84, start=start@entry=64, crc=crc@entry=0, cb=0x55dd244a91a0 <mpegts_table_dispatch>, 
    opaque=0x7fc84402cc20) at src/input/mpegts/dvb_psi_lib.c:135
#4  0x000055dd244a0247 in mpegts_psi_section_reassemble (mt=mt@entry=0x7fc84402cc20, logprefix=logprefix@entry=0x7fc82c059c60 "12109.5H in Astra 23.5", 
    tsb=tsb@entry=0x7fc7c8035660 "G@h\022", crc=0, cb=0x55dd244a91a0 <mpegts_table_dispatch>, opaque=opaque@entry=0x7fc84402cc20) at src/input/mpegts/dvb_psi_lib.c:185
#5  0x000055dd244999bb in mpegts_input_table_dispatch (mm=<optimized out>, logprefix=0x7fc82c059c60 "12109.5H in Astra 23.5", tsb=tsb@entry=0x7fc7c8035660 "G@h\022", 
    tsb_len=188) at src/input/mpegts/mpegts_input.c:1338
#6  0x000055dd24499b88 in mpegts_input_table_thread (aux=0x55dd2637fdc0) at src/input/mpegts/mpegts_input.c:1776
#7  0x000055dd243e1f08 in thread_wrapper (p=0x7fc82c004da0) at src/wrappers.c:181
#8  0x00007fc85e57e96a in start_thread () from /lib64/libpthread.so.0
#9  0x00007fc85d2bffbf in clone () from /lib64/libc.so.6

If something else is needed please let me know.

Thank you.

History

#1

Updated by Jozef M almost 6 years ago

Just to add it apparently was on a channel change via Kodi.

#2

Updated by saen acro almost 6 years ago

Fortune-teller is on vacation.
OS, type of input streams /dvb,iptv/ hardware platform etc.

and most important
Update to latest before report bugs
in this moment 4.3-1749

#3

Updated by Jozef M almost 6 years ago

Hehe sure :).
Intel, x64 Kernel 4.9.122, Gentoo, DVB-T/S/S2 streams only - one TBS6909 (S, 8 inputs) and one TBS6205 (T, 4 inputs). By the bt it looks like TBS6909 was invoked before the crash.
I just updated to latest master. The version I was using was quite stable (this was a first segfault since it was installed). But decided to report it anyways as it might be something that carried on to later ones.
Thanks.

#4

Updated by Flole Systems almost 4 years ago

  • Status changed from New to Invalid

Also available in: Atom PDF