Closed Jalle19 closed 1 year ago
Try make clean;make debug
Or gdb --args ./minisatip ....
Is this still happening in next branch?
I'll see if I can find some time to test next week
[31/03 09:49:59.101 AD0]: ddci_process_pmt: adapter 0, pmt 2, pid 1271, sid 26100, ddid -1, name:
Thread 4 "minisatip" received signal SIGILL, Illegal instruction.
[Switching to Thread 0x7ffff67db700 (LWP 300705)]
0x00005555555a79a6 in ddci_process_pmt (ad=<optimized out>, pmt=<optimized out>) at ddci.c:412
412 LOG("No _free slot found for pmt %d on DDCI %d", pmt->id, d->id);
(gdb) backtrace
#0 0x00005555555a79a6 in ddci_process_pmt (ad=<optimized out>, pmt=<optimized out>) at ddci.c:412
#1 0x00005555555950f0 in send_pmt_to_ca (i=i@entry=1, ad=ad@entry=0x55555563c570, pmt=pmt@entry=0x7fffec0158c0) at tables.c:244
#2 0x000055555559532f in send_pmt_to_cas (ad=ad@entry=0x55555563c570, pmt=pmt@entry=0x7fffec0158c0) at tables.c:280
#3 0x0000555555592ee9 in start_active_pmts (ad=ad@entry=0x55555563c570) at pmt.c:1124
#4 0x00005555555931b0 in pmt_process_stream (ad=ad@entry=0x55555563c570) at pmt.c:1276
#5 0x000055555556aed8 in process_dmx (s=s@entry=0x555555651e40) at stream.c:1044
#6 0x000055555556b7e8 in read_dmx (s=0x555555651e40) at stream.c:1143
#7 0x00005555555666c0 in select_and_execute (arg=<optimized out>) at socketworks.c:863
#8 0x00007ffff7fa9ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9 0x00007ffff7bc4a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
d->max_channels
became larger than MAX_CHANNELS_PER_CI
. Alas I couldn't get more than two PMTs per CA PMT to work while testing, but I guess we can still ship a fix for this crash.
(split from https://github.com/catalinii/minisatip/issues/1068)
Tried again, this time with
-c 6:*4,7:*4
. With*4
minisatip crashes immediately when starting a channel:Not sure how to get a better trace :shrug: