Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CRASH] opensips 3.2.4 in unconfigured rtpengine.so using rtprelay module #2739

Closed
telematico opened this issue Jan 22, 2022 · 6 comments
Closed
Assignees
Labels

Comments

@telematico
Copy link
Contributor

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

@github-actions
Copy link

github-actions bot commented Feb 7, 2022

Any updates here? No progress has been made in the last 15 days, marking as stale. Will close this issue if no further updates are made in the next 30 days.

@github-actions github-actions bot added the stale label Feb 7, 2022
@github-actions
Copy link

github-actions bot commented Mar 9, 2022

Marking as closed due to lack of progress for more than 30 days. If this issue is still relevant, please re-open it with additional details.

@github-actions github-actions bot closed this as completed Mar 9, 2022
@razvancrainea razvancrainea reopened this Mar 9, 2022
@stale stale bot removed the stale label Mar 9, 2022
@github-actions
Copy link

Any updates here? No progress has been made in the last 15 days, marking as stale. Will close this issue if no further updates are made in the next 30 days.

@github-actions github-actions bot added the stale label Mar 30, 2022
@github-actions
Copy link

Marking as closed due to lack of progress for more than 30 days. If this issue is still relevant, please re-open it with additional details.

@razvancrainea razvancrainea self-assigned this May 2, 2022
@razvancrainea razvancrainea reopened this May 2, 2022
@stale stale bot removed the stale label May 2, 2022
@github-actions
Copy link

Any updates here? No progress has been made in the last 15 days, marking as stale. Will close this issue if no further updates are made in the next 30 days.

@github-actions github-actions bot added the stale label May 18, 2022
@github-actions
Copy link

Marking as closed due to lack of progress for more than 30 days. If this issue is still relevant, please re-open it with additional details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants