-
Notifications
You must be signed in to change notification settings - Fork 633
Description
OpenSIPS version you are running
version: opensips 3.1.0-dev (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, 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: 7f16a1cdb
main.c compiled on with gcc 9
Crash Core Dump
Core was generated by `/usr/sbin/opensips -w /run/opensips -P opensips.pid -a F_MALLOC_DBG -m 128'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fc0ed15f376 in wb_timer (_r=_r@entry=0x7fc0eeb5a870, ins_list=0x7fc0eeb4c168) at urecord.c:345
345 VAL_BIGINT(cid_vals+cid_len) = t->contact_id;
(gdb) bt
#0 0x00007fc0ed15f376 in wb_timer (_r=_r@entry=0x7fc0eeb5a870, ins_list=0x7fc0eeb4c168) at urecord.c:345
#1 0x00007fc0ed15f920 in timer_urecord (_r=_r@entry=0x7fc0eeb5a870, ins_list=ins_list@entry=0x7fc0eeb4c168) at urecord.c:439
#2 0x00007fc0ed14d232 in mem_timer_udomain (_d=) at udomain.c:1166
#3 0x00007fc0ed167489 in _synchronize_all_udomains () at dlist.c:1068
#4 0x00007fc0ed16d76c in destroy () at ul_mod.c:517
#5 0x0000557873eff15c in destroy_modules () at sr_module.c:544
#6 0x0000557873ef8126 in cleanup (show_status=1) at main.c:363
#7 0x0000557873ef88fc in shutdown_opensips (status=) at main.c:527
#8 0x0000557873ef904b in handle_sigs () at main.c:610
#9 0x0000557873e64ae8 in main_loop () at main.c:867
#10 main (argc=, argv=) at main.c:1488
Core file: http://download.ag-projects.com/cores/core.1789833.opensips.1590076653
Describe the traffic that generated the bug
No call traffic just Register.
To Reproduce
Relevant System Logs
May 21 17:57:32 node15 /usr/sbin/opensips[1789842]: CRITICAL:core:sig_usr: segfault in process pid: 1789842, id: 9
May 21 17:57:32 node15 kernel: opensips[1789842]: segfault at 10 ip 00007fc0ed15f376 sp 00007ffeb27289a0 error 6 in usrloc.so[7fc0ed147000+2d000]
May 21 17:57:33 node15 /usr/sbin/opensips[1789833]: INFO:core:handle_sigs: child process 1789842 exited by a signal 11
May 21 17:57:33 node15 /usr/sbin/opensips[1789833]: INFO:core:handle_sigs: core was generated
May 21 17:57:33 node15 /usr/sbin/opensips[1789833]: INFO:core:handle_sigs: terminating due to SIGCHLD
May 21 17:57:33 node15 /usr/sbin/opensips[1789834]: INFO:core:sig_usr: signal 15 received
May 21 17:57:33 node15 /usr/sbin/opensips[1789835]: INFO:core:sig_usr: signal 15 received
May 21 17:57:33 node15 /usr/sbin/opensips[1789836]: INFO:core:sig_usr: signal 15 received
May 21 17:57:33 node15 /usr/sbin/opensips[1789837]: INFO:core:sig_usr: signal 15 received
OS/environment information
- Operating System:
- OpenSIPS installation:
- other relevant information:
Additional context
Lastest git source