-
Notifications
You must be signed in to change notification settings - Fork 633
Description
OpenSIPS version you are running
Oficial debian 11 packages
version: opensips 3.2.4 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
Crash Core Dump
This is the stack trace:
tack trace of thread 459074:
#0 0x00007fc51328b18b n/a (rtpengine.so + 0x1518b)
#1 0x00007fc51326520c n/a (rtp_relay.so + 0x620c)
#2 0x00007fc51326c73e rtp_relay_ctx_engage (rtp_relay.so + 0xd73e)
#3 0x00007fc513263081 n/a (rtp_relay.so + 0x4081)
#4 0x00005572ecb24fd5 do_action (opensips + 0x22fd5)
#5 0x00005572ecb26ea0 run_action_list (opensips + 0x24ea0)
#6 0x00005572ecb268f8 do_action (opensips + 0x248f8)
#7 0x00005572ecb26ea0 run_action_list (opensips + 0x24ea0)
#8 0x00005572ecb269e8 do_action (opensips + 0x249e8)
#9 0x00005572ecb26ea0 run_action_list (opensips + 0x24ea0)
#10 0x00005572ecb268f8 do_action (opensips + 0x248f8)
#11 0x00005572ecb26ea0 run_action_list (opensips + 0x24ea0)
#12 0x00005572ecb26f37 n/a (opensips + 0x24f37)
#13 0x00005572ecb26469 do_action (opensips + 0x24469)
#14 0x00005572ecb26ea0 run_action_list (opensips + 0x24ea0)
#15 0x00005572ecb269e8 do_action (opensips + 0x249e8)
#16 0x00005572ecb26ea0 run_action_list (opensips + 0x24ea0)
#17 0x00005572ecb269e8 do_action (opensips + 0x249e8)
#18 0x00005572ecb26ea0 run_action_list (opensips + 0x24ea0)
#19 0x00005572ecb273b5 run_top_route (opensips + 0x253b5)
#20 0x00005572ecb8a896 receive_msg (opensips + 0x88896)
#21 0x00007fc513c4d8c5 n/a (proto_wss.so + 0xd8c5)
#22 0x00005572ecc8de0a n/a (opensips + 0x18be0a)
#23 0x00005572ecc8f4d3 tcp_worker_proc_loop (opensips + 0x18d4d3)
#24 0x00005572ecc87656 tcp_start_processes (opensips + 0x185656)
#25 0x00005572ecb21d66 main (opensips + 0x1fd66)
#26 0x00007fc52fcbcd0a __libc_start_main (libc.so.6 + 0x26d0a)
#27 0x00005572ecb225fa _start (opensips + 0x205fa)
Describe the traffic that generated the bug
An incoming invite calling rtp_relay_engage("rtpengine") if rtpengine module has no configuration (only the loadmodule sentence)
To Reproduce
Send and invite to a opensips script and call rtp_relay_engage("rtpengine") only eith the rtp_relay and rtpengoine modules loaded, but not configured.
rtp_relays in my test case are:
$rtp_relay = "rtcp-mux-offer ICE=force transcode=PCMU transcode=PCMA transcode=G722 SDES=off UDP/TLS/RTP/SAVP";
$rtp_relay_peer = "rtcp-mux-demux ICE=remove RTP/AVP";
I send the INVITE using WSS, but not sure if is relevant becasuse the crash is in rtp_relay -> retp_engine module
Relevant System Logs
OS/environment information
- Operating System: Debian 11 on AWS
- OpenSIPS installation: oficial DEBS last version
- other relevant information:
Additional context