(gdb) bt full
#0 iptv_input_thread (aux=0x5619f8c32f10) at src/input/mpegts/iptv/iptv.c:566
pool = 0x5619f8c32f10
nfds = 1
r = 0
n = 9588
im = 0x5619f8c47b10
mi = 0x5619f8c35050
ev = {fd = -1, events = 1, ptr = 0x5619f8c47b10}
#1 0x00005619f6b9ca59 in thread_wrapper (p=0x5619f8c0f850) at src/tvh_thread.c:91
ts = 0x5619f8c0f850
set = {__val = {16388, 0 <repeats 15 times>}}
r = 0x0
#2 0x00007f9c05de1609 in start_thread (arg=<optimized out>) at pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140307970610944, 3889303656921157008, 140726060230990, 140726060230991, 140726060231184, 140307970608448,
-3833011405428503152, -3836610937833665136}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
not_first_call = 0
#3 0x00007f9c05bb5163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
#0 iptv_input_thread (aux=0x5619f8c32f10) at src/input/mpegts/iptv/iptv.c:566
pool = 0x5619f8c32f10
nfds = 1
r = 0
n = 9588
im = 0x5619f8c47b10
mi = 0x5619f8c35050
ev = {fd = -1, events = 1, ptr = 0x5619f8c47b10}
(gdb) print im
$2 = (iptv_mux_t *) 0x5619f8c47b10
(gdb) print im->mm_active
There is no member named mm_active.
I think I'm doing something wrong, can you guide me?
That's very interesting and as I suspected... It should have never reached that line then due to the check in the line before. Looks a little like a missing lock somewhere so it was possible that mm_active got updated somewhere....
Could you please check if there are any log messages before that which could indicate what happened? Was there a subscription that just started, a subscription that ended or something like that?
Could you please check if there are any log messages before that which could indicate what happened? Was there a subscription that just started, a subscription that ended or something like that?