Project

General

Custom queries

Profile

Actions

Bug #4573

closed

SAT>IP: RTP-over-TCP crash!

Added by Mono Polimorph over 7 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Normal
Category:
SAT>IP
Target version:
-
Start date:
2017-09-05
Due date:
% Done:

100%

Estimated time:
Found in version:
edge-2017-09-04 (after revision b829ab46)
Affected Versions:

Description

Hi,

I open a new issue, as the previous are very large... #4226 & #4517.

http://www.tvheadend.org/projects/tvheadend/repository/revisions/b829ab46c923f6487dee636b4d4cd1ef61c94826
After this commit the RTP-over-TCP crashes every time. You start the TVH and at the first SETUP request the server crashes. See the log:

2017-09-05 13:41:15.946 [   INFO]:epgdb:   seasons    0
2017-09-05 13:41:15.946 [   INFO]:epgdb:   episodes   0
2017-09-05 13:41:15.946 [   INFO]:epgdb:   broadcasts 0
2017-09-05 13:41:15.946 [ NOTICE]:START: HTS Tvheadend version 0.0.0~unknown started, running as PID:10152 UID:0 GID:0, CWD:/ CNF:/root/tvheadend-20170904/config
2017-09-05 13:41:16.092 [   INFO]:scanfile: DVB-S - loaded 1 regions with 112 networks
2017-09-05 13:41:16.092 [   INFO]:scanfile: DVB-T - loaded 44 regions with 1112 networks
2017-09-05 13:41:16.092 [   INFO]:scanfile: DVB-C - loaded 17 regions with 57 networks
2017-09-05 13:41:16.092 [   INFO]:scanfile: ATSC-T - loaded 2 regions with 11 networks
2017-09-05 13:41:16.092 [   INFO]:scanfile: ATSC-C - loaded 1 regions with 5 networks
2017-09-05 13:41:16.092 [   INFO]:scanfile: ISDB-T - loaded 2 regions with 1297 networks
2017-09-05 13:41:46.235 [  DEBUG]:satips: 3/C4A4DBF1/1: SETUP from 192.168.1.14:42058 DVB-S2 freq 12032000 H sym 27500000 fec 9/10 mod QPSK roff 35 is_id -1 pls_mode ROOT pls_code 0 pids <none>
2017-09-05 13:41:46.235 [  DEBUG]:mpegts: Stream 224.0.1.5 (12031500) in IPTV Ingest - add raw service
2017-09-05 13:41:46.235 [  DEBUG]:service: 1: Stream 224.0.1.5 (12031500) in IPTV Ingest si 0x7f1fdde266a0 <unknown> weight 0 prio 11 error 0
2017-09-05 13:41:46.235 [   INFO]:mpegts: Stream 224.0.1.5 (12031500) in IPTV Ingest - tuning on IPTV
2017-09-05 13:41:46.235 [  DEBUG]:satips: RTP streaming to 192.168.1.14:42058 open
2017-09-05 13:41:46.238 [  DEBUG]:mpegts: Stream 224.0.1.5 (12031500) in IPTV Ingest - open PID 0000 (0) [20/0x7f1fddf11620]
2017-09-05 13:41:46.238 [  DEBUG]:mpegts: Stream 224.0.1.5 (12031500) in IPTV Ingest - open PID 0001 (1) [16/0x7f1fddf20930]
2017-09-05 13:41:46.238 [  DEBUG]:mpegts: Stream 224.0.1.5 (12031500) in IPTV Ingest - open PID 0010 (16) [16/0x7f1fddf21db0]
2017-09-05 13:41:46.238 [  DEBUG]:mpegts: Stream 224.0.1.5 (12031500) in IPTV Ingest - open PID 0011 (17) [20/0x7f1fddf23230]
2017-09-05 13:41:46.238 [  DEBUG]:mpegts: Stream 224.0.1.5 (12031500) in IPTV Ingest - open PID 0011 (17) [16/0x7f1fddf246b0]
2017-09-05 13:41:46.238 [  DEBUG]:mpegts: Stream 224.0.1.5 (12031500) in IPTV Ingest - started
2017-09-05 13:41:46.238 [  DEBUG]:mpegts: Stream 224.0.1.5 (12031500) in IPTV Ingest - open PID 0000 (0) [2/0x7f1fddee2a00]
2017-09-05 13:41:46.238 [   INFO]:subscription: 0001: "SAT>IP" subscribing to mux "Stream 224.0.1.5 (12031500)", weight: 100, adapter: "IPTV", network: "IPTV Ingest", service: "Raw PID Subscription", hostname="192.168.1.14" 
2017-09-05 13:41:46.271 [  DEBUG]:satips: 3/C4A4DBF1/1: PLAY from 192.168.1.14:42058 DVB-S2 freq 12032000 H sym 27500000 fec 9/10 mod QPSK roff 35 is_id -1 pls_mode ROOT pls_code 0 pids 0,1,16,17,18,8187
2017-09-05 13:41:46.271 [  DEBUG]:mpegts: Stream 224.0.1.5 (12031500) in IPTV Ingest - open PID 0001 (1) [2/0x7f1fddee2a00]
2017-09-05 13:41:46.271 [  DEBUG]:mpegts: Stream 224.0.1.5 (12031500) in IPTV Ingest - open PID 0010 (16) [2/0x7f1fddee2a00]
2017-09-05 13:41:46.271 [  DEBUG]:mpegts: Stream 224.0.1.5 (12031500) in IPTV Ingest - open PID 0011 (17) [2/0x7f1fddee2a00]
2017-09-05 13:41:46.271 [  DEBUG]:mpegts: Stream 224.0.1.5 (12031500) in IPTV Ingest - open PID 0012 (18) [2/0x7f1fddee2a00]
2017-09-05 13:41:46.271 [  DEBUG]:mpegts: Stream 224.0.1.5 (12031500) in IPTV Ingest - open PID 1FFB (8187) [2/0x7f1fddee2a00]
2017-09-05 13:41:46.277 [  ALERT]:CRASH: Signal: 6 in PRG: /root/tvheadend-20170904/tvheadend (0.0.0~unknown) [72bd45b2d1cdfad5536f2609244fc62369184b0d] CWD: /
2017-09-05 13:41:46.277 [  ALERT]:CRASH: Fault address 0x27a8 (N/A)
2017-09-05 13:41:46.277 [  ALERT]:CRASH: Loaded libraries: /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libpcre.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/libc.so.6 /lib/x86_64-linux-gnu/libz.so.1 /lib64/ld-linux-x86-64.so.2 /lib/x86_64-linux-gnu/libnss_compat.so.2 /lib/x86_64-linux-gnu/libnsl.so.1 /lib/x86_64-linux-gnu/libnss_nis.so.2 /lib/x86_64-linux-gnu/libnss_files.so.2
2017-09-05 13:41:46.277 [  ALERT]:CRASH: Register dump [23]: 000000000000000000007f1fda199c6000000000000000080000000000000202000000000000001c00007f1fd31f67400000000000000076000000000000000700000000000027a800000000000027c800007f1fd31f6e60000000000000000000000000000000060000000000000000ffffffffffffffff00007f1fd31f641800007f1fda1c81650000000000000202000000000000003300000000000000000000000000000000fffffffe7ffbba130000000000000000
2017-09-05 13:41:46.277 [  ALERT]:CRASH: STACKTRACE
2017-09-05 13:41:46.299 [  DEBUG]:service: Stream 224.0.1.5 (12031500) in IPTV Ingest: Status changed to [Demuxed packets]
2017-09-05 13:41:46.299 [  DEBUG]:service: Stream 224.0.1.5 (12031500) in IPTV Ingest: Status changed to [Demuxed packets] [Reassembled packets]
2017-09-05 13:41:46.300 [  DEBUG]:tbl-base: pat: 0x7f1fdde2bb60: tsid 2A71 (10865)
2017-09-05 13:41:46.300 [  DEBUG]:tbl-base: pat:  nit on pid 0010 (16)
2017-09-05 13:41:46.300 [  DEBUG]:tbl-base: pat:  sid 48DB (18651) on pid 0065 (101)
2017-09-05 13:41:46.300 [  DEBUG]:tbl-base: pat:  sid 48DC (18652) on pid 0066 (102)
2017-09-05 13:41:46.300 [  DEBUG]:tbl-base: pat:  sid 48DD (18653) on pid 0067 (103)
2017-09-05 13:41:46.300 [  DEBUG]:tbl-base: pat:  sid 48DE (18654) on pid 0068 (104)
2017-09-05 13:41:46.300 [  DEBUG]:tbl-base: pat:  sid 48DF (18655) on pid 0069 (105)
2017-09-05 13:41:46.413 [  DEBUG]:tbl-base: pat: completed pid 0 table 00000000 / 00000000
2017-09-05 13:41:46.438 [  DEBUG]:tbl-base: sdt: onid FFF1 (65521) tsid 2A69 (10857)
2017-09-05 13:41:46.438 [  DEBUG]:tbl-base: sdt: mux Stream 239.164.85.7 (11953500) in IPTV Ingest
2017-09-05 13:41:46.438 [  DEBUG]:tbl-base: sdt:  sid 488B (18571) running 4 free_ca 0
2017-09-05 13:41:46.438 [  DEBUG]:tbl-base: sdt:  sid 488C (18572) running 4 free_ca 0
2017-09-05 13:41:46.438 [  DEBUG]:tbl-base: sdt:  sid 488D (18573) running 4 free_ca 0
2017-09-05 13:41:46.438 [  DEBUG]:tbl-base: sdt:  sid 488E (18574) running 4 free_ca 0
2017-09-05 13:41:46.438 [  DEBUG]:tbl-base: sdt:  sid 488F (18575) running 4 free_ca 0

I suggest to rollback the commit rb829ab46.
And I want to make a call to all who can test the RTP-over-TCP (for example using one TVH as a SAT>IP client of another TVH server):
Please, check in your environment if the TCP transport works.

I'm interested in a robust TCP transport with SAT>IP.
Please, help us!

#14

Updated by Jaroslav Kysela over 7 years ago

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

Also available in: Atom PDF