latest master version of rtpengine crashed in my websocket tests when
handling offer. gdb and debug is below.
-- juha
---------------------------------------------------------------------------
(gdb) where
#0 0x0000000000421670 in sdp_replace (chop=0x7f00ec001ed0, sessions=0x40,
sessions@entry=0x7f00ff6692e0, monologue=0x7f00ec087540, flags=0x7f00ec019220)
at sdp.c:2019
#1 0x000000000042764e in call_offer_answer_ng (input=input@entry=0x7f00ec002478,
m=0xd74200, output=output@entry=0x7f00ec002418, opmode=opmode@entry=OP_OFFER,
addr=addr@entry=0x7f00ff6695c0 "127.0.0.1:53157",
sin=sin@entry=0x7f00ff6695a0)
at call_interfaces.c:710
#2 0x0000000000429b0d in call_offer_ng (input=input@entry=0x7f00ec002478,
m=<optimized out>, output=output@entry=0x7f00ec002418,
addr=addr@entry=0x7f00ff6695c0 "127.0.0.1:53157",
sin=sin@entry=0x7f00ff6695a0)
at call_interfaces.c:737
#3 0x000000000041c9b6 in control_ng_incoming (obj=0xd76830, buf=<optimized out>,
sin=0x7f00ff6695a0, addr=0x7f00ff6695c0 "127.0.0.1:53157") at
control_ng.c:143
#4 0x000000000041bcb0 in udp_listener_incoming (fd=7, p=0xd732a0, x=<optimized
out>)
at udp_listener.c:52
#5 0x000000000041062e in poller_poll (p=p@entry=0xd724b0, timeout=timeout@entry=100)
at poller.c:348
#6 0x00000000004109cd in poller_loop (d=0xd724b0) at poller.c:502
#7 0x0000000000410a40 in thread_detach_func (d=0xd72760) at aux.c:143
#8 0x00007f0104bfb0a4 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9 0x00007f010493004d in clone () from /lib/x86_64-linux-gnu/libc.so.6
----------------------------------------------------------------------------
May 19 16:05:53 siika rtpengine[11847]: [6ruajdfp6thf21tvu7pf] Received command
'offer' from 127.0.0.1:54132
May 19 16:05:53 siika rtpengine[11847]: [6ruajdfp6thf21tvu7pf] Dump for 'offer'
from 127.0.0.1:54132: { "sdp": "v=0#015#012o=- 2106942896836067783 2 IN IP4
127.0.0.1#015#012s=-#015#012t=0 0#015#012a=group:BUNDLE audio
video#015#012a=msid-semantic: WMS bmOaa9JSAzUrqgkt3FMhWRFtFf9ZD5kephob#015#012m=audio
42335 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 126#015#012c=IN IP4
93.106.139.25#015#012a=rtcp:42335 IN IP4 93.106.139.25#015#012a=candidate:1603072777 1 udp
2122260223 192.168.43.146 42335 typ host generation 0#015#012a=candidate:1603072777 2 udp
2122260223 192.168.43.146 42335 typ host generation 0#015#012a=candidat ...
May 19 16:05:53 siika rtpengine[11847]: [6ruajdfp6thf21tvu7pf] ... e:286199801 1 tcp
1518280447 192.168.43.146 0 typ host tcptype active generation
0#015#012a=candidate:286199801 2 tcp 1518280447 192.168.43.146 0 typ host tcptype active
generation 0#015#012a=candidate:2466368666 1 udp 1686052607 93.106.139.25 42335 typ srflx
raddr 192.168.43.146 rport 42335 generation 0#015#012a=candidate:2466368666 2 udp
1686052607 93.106.139.25 42335 typ srflx raddr 192.168.43.146 rport 42335 generation
0#015#012a=ice-ufrag:u/0nPx0lMpDlQMVC#015#012a=ice-pwd:uE6Th2lFMj9t/ej/BJCyfH2F#015#012a=fingerprint:sha-256
...
May 19 16:05:53 siika rtpengine[11847]: [6ruajdfp6thf21tvu7pf] ...
C6:8B:2A:40:11:D3:62:27:F2:1E:57:74:96:FE:9A:D6:BD:7F:49:89:A7:83:59:30:37:FA:2A:D0:18:23:F8:4C#015#012a=setup:actpass#015#012a=mid:audio#015#012a=extmap:1
urn:ietf:params:rtp-hdrext:ssrc-audio-level#015#012a=extmap:3
http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time#015#012a=sendrec…
opus/48000/2#015#012a=fmtp:111 minptime=10; useinbandfec=1#015#012a=rtpmap:103
ISAC/16000#015#012a=rtpmap:104 ISAC/32000#015#012a=rtpmap:9 G722/8000#015#012a=rtpmap:0
PCMU/8000#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:106 CN/32000#015#012a=rtpmap:105 CN/
...
May 19 16:05:53 siika rtpengine[11847]: [6ruajdfp6thf21tvu7pf] ...
16000#015#012a=rtpmap:13 CN/8000#015#012a=rtpmap:126
telephone-event/8000#015#012a=maxptime:60#015#012a=ssrc:1597007798
cname:sdU6nzYtuqrSk7wL#015#012a=ssrc:1597007798 msid:bmOaa9JSAzUrqgkt3FMhWRFtFf9ZD5kephob
b792b9b2-5f78-48c6-848f-ead970de9b46#015#012a=ssrc:1597007798
mslabel:bmOaa9JSAzUrqgkt3FMhWRFtFf9ZD5kephob#015#012a=ssrc:1597007798
label:b792b9b2-5f78-48c6-848f-ead970de9b46#015#012m=video 42335 UDP/TLS/RTP/SAVPF 100 116
117 96#015#012c=IN IP4 93.106.139.25#015#012a=rtcp:42335 IN IP4
93.106.139.25#015#012a=candidate:1603072777 1 udp 2122260223 192.168.4 ...
May 19 16:05:53 siika kernel: [135418.083617] rtpengine[11852]: segfault at 138 ip
0000000000421670 sp 00007f8d46dbb0e0 error 4 in rtpengine[400000+40000]
May 19 16:05:53 siika rtpengine[11847]: [6ruajdfp6thf21tvu7pf] ... 3.146 42335 typ host
generation 0#015#012a=candidate:1603072777 2 udp 2122260223 192.168.43.146 42335 typ host
generation 0#015#012a=candidate:286199801 1 tcp 1518280447 192.168.43.146 0 typ host
tcptype active generation 0#015#012a=candidate:286199801 2 tcp 1518280447 192.168.43.146 0
typ host tcptype active generation 0#015#012a=candidate:2466368666 1 udp 1686052607
93.106.139.25 42335 typ srflx raddr 192.168.43.146 rport 42335 generation
0#015#012a=candidate:2466368666 2 udp 1686052607 93.106.139.25 42335 typ srflx raddr ...
May 19 16:05:53 siika rtpengine[11847]: [6ruajdfp6thf21tvu7pf] ... 192.168.43.146 rport
42335 generation
0#015#012a=ice-ufrag:u/0nPx0lMpDlQMVC#015#012a=ice-pwd:uE6Th2lFMj9t/ej/BJCyfH2F#015#012a=fingerprint:sha-256
C6:8B:2A:40:11:D3:62:27:F2:1E:57:74:96:FE:9A:D6:BD:7F:49:89:A7:83:59:30:37:FA:2A:D0:18:23:F8:4C#015#012a=setup:actpass#015#012a=mid:video#015#012a=extmap:2
urn:ietf:params:rtp-hdrext:toffset#015#012a=extmap:3
http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time#015#012a=sendrec…
VP8/90000#015#012a=rtcp-fb:100 ccm fir#015#012a=rtcp-fb:100 nack#015#012a=rtcp-fb:100 nack
pli#015#012a=rtcp-fb:1 ...
May 19 16:05:53 siika rtpengine[11847]: [6ruajdfp6thf21tvu7pf] ... 00
goog-remb#015#012a=rtpmap:116 red/90000#015#012a=rtpmap:117
ulpfec/90000#015#012a=rtpmap:96 rtx/90000#015#012a=fmtp:96 apt=100#015#012a=ssrc-group:FID
3260536260 3713515374#015#012a=ssrc:3260536260
cname:sdU6nzYtuqrSk7wL#015#012a=ssrc:3260536260 msid:bmOaa9JSAzUrqgkt3FMhWRFtFf9ZD5kephob
562441ea-c19c-4f34-8441-d6f3d86203bd#015#012a=ssrc:3260536260
mslabel:bmOaa9JSAzUrqgkt3FMhWRFtFf9ZD5kephob#015#012a=ssrc:3260536260
label:562441ea-c19c-4f34-8441-d6f3d86203bd#015#012a=ssrc:3713515374
cname:sdU6nzYtuqrSk7wL#015#012a=ssrc:3713515374 msid:bmOaa9JSAzUrqgkt3FMhWR ...
May 19 16:05:53 siika rtpengine[11847]: [6ruajdfp6thf21tvu7pf] ... FtFf9ZD5kephob
562441ea-c19c-4f34-8441-d6f3d86203bd#015#012a=ssrc:3713515374
mslabel:bmOaa9JSAzUrqgkt3FMhWRFtFf9ZD5kephob#015#012a=ssrc:3713515374
label:562441ea-c19c-4f34-8441-d6f3d86203bd#015#012", "ICE":
"force-relay", "rtcp-mux": [ "demux" ], "call-id":
"6ruajdfp6thf21tvu7pf", "via-branch": "z9hG4bK829855",
"received-from": [ "IP4", "192.98.102.30" ],
"from-tag": "cbfkj5cp2c", "command": "offer" }