Skip to content

[BUG] rtp_relay crash #3887

@twocolors

Description

@twocolors

OpenSIPS version you are running

version: opensips 3.4.17 (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.
git revision: 3e7ad039d
main.c compiled on  with gcc 12

Describe the bug

Stack trace of thread 533866:
#0  0x00007f32d4badc1a n/a (rtp_relay.so + 0x9c1a)
#1  0x00007f32d4bbc9e7 rtp_relay_copy_delete (rtp_relay.so + 0x189e7)
#2  0x00007f32d45edabe n/a (siprec.so + 0xdabe)
#3  0x00007f32d4ab18e0 run_dlg_callbacks (dialog.so + 0x168e0)
#4  0x00007f32d4acd9f9 dlg_onroute (dialog.so + 0x329f9)
#5  0x00007f32d4c4b105 run_rr_callbacks (rr.so + 0x9105)
#6  0x00007f32d4c45645 n/a (rr.so + 0x3645)
#7  0x000056215926036d do_action (opensips + 0x2636d)
#8  0x00005621592620a0 run_action_list (opensips + 0x280a0)
#9  0x00005621592d693d eval_expr (opensips + 0x9c93d)
#10 0x000056215925f5df do_action (opensips + 0x255df)
#11 0x00005621592620a0 run_action_list (opensips + 0x280a0)
#12 0x0000562159260fb1 do_action (opensips + 0x26fb1)
#13 0x00005621592620a0 run_action_list (opensips + 0x280a0)
#14 0x00005621592625a4 run_top_route (opensips + 0x285a4)
#15 0x00005621592c8b78 receive_msg (opensips + 0x8eb78)
#16 0x00005621593f4427 n/a (opensips + 0x1ba427)
#17 0x00005621593e0a4f n/a (opensips + 0x1a6a4f)
#18 0x00005621593e1ab1 n/a (opensips + 0x1a7ab1)
#19 0x00005621593e7815 udp_start_processes (opensips + 0x1ad815)
#20 0x000056215925c991 main (opensips + 0x22991)
#21 0x00007f33e4d1224a __libc_start_call_main (libc.so.6 + 0x2724a)
#22 0x00007f33e4d12305 __libc_start_main_impl (libc.so.6 + 0x27305)
#23 0x000056215925d071 _start (opensips + 0x23071)
ELF object binary architecture: AMD x86-64

To Reproduce

Expected behavior

Relevant System Logs

OS/environment information

  • Operating System: Debian GNU/Linux 12 (bookworm)
  • OpenSIPS installation: debs
  • other relevant information:

Additional context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions