-
Notifications
You must be signed in to change notification settings - Fork 633
Closed
Labels
Milestone
Description
OpenSIPS version you are running
version: opensips 3.0.2 (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.
main.c compiled on 03:08:34 Jan 29 2020 with gcc 8
Crash Core Dump
https://drive.google.com/drive/folders/17Tw2uE_FgyBiYkymdgYYgNTcotof9oWW?usp=sharing
Describe the traffic that generated the bug
nothing special
To Reproduce
cannot reproduce
Relevant System Logs
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9030]: CRITICAL:core:sig_usr: segfault in process pid: 9030, id: 7
Jul 23 10:55:53 centos-8gb-hel1-1 systemd[1]: Started Process Core Dump (PID 62467/UID 0).
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9026]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 100 ms ago (now 1245356330 ms), delaying execution
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9026]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 200 ms ago (now 1245356430 ms), delaying execution
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9026]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 300 ms ago (now 1245356530 ms), delaying execution
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9026]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 380 ms ago (now 1245356610 ms), delaying execution
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9021]: INFO:core:handle_sigs: child process 9030 exited by a signal 11
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9021]: INFO:core:handle_sigs: core was generated
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9021]: INFO:core:handle_sigs: terminating due to SIGCHLD
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9026]: INFO:core:sig_usr: signal 15 received
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9024]: INFO:core:sig_usr: signal 15 received
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9025]: INFO:core:sig_usr: signal 15 received
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9021]: INFO:core:shutdown_opensips: process 1(9024) [MI FIFO] terminated, still waiting for 6 more
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9021]: INFO:core:shutdown_opensips: process 2(9025) [time_keeper] terminated, still waiting for 5 more
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9021]: INFO:core:shutdown_opensips: process 3(9026) [timer] terminated, still waiting for 4 more
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9021]: INFO:core:shutdown_opensips: process 4(9027) [SIP receiver udp:1.2.3.4:5060] terminated, still waiting for 3 more
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9021]: INFO:core:shutdown_opensips: process 6(9029) [SIP receiver udp:1.2.3.4:5060] terminated, still waiting for 2 more
Jul 23 10:55:53 centos-8gb-hel1-1 opensips[9021]: INFO:core:shutdown_opensips: process 8(9031) [Timer handler] terminated, still waiting for 1 more
Jul 23 10:55:53 centos-8gb-hel1-1 systemd-coredump[62468]: Process 9030 (opensips) of user 0 dumped core.#012#012Stack trace of thread 9030:#012#0 0x00007f8b6219a687 __strrlen_avx2 (libc.so.6)#012#1 0x00007f8b6208f43f vfprintf (libc.so.6)#012#2 0x00007f8b621486dc __vfprintf_chk (libc.so.6)#012#3 0x00007f8b6213302b __vsyslog_chk (libc.so.6)#012#4 0x00007f8b62133573 __syslog_chk (libc.so.6)#012#5 0x00000000004eb062 fm_free (opensips)#012#6 0x00007f8b5e9cd6d2 free_cell (tm.so)#012#7 0x00007f8b5e9fdd01 delete_cell (tm.so)#012#8 0x00007f8b5e9fe57a timer_routine (tm.so)#012#9 0x0000000000487bea handle_timer_job (opensips)#012#10 0x0000000000578895 io_wait_loop_epoll.constprop.5 (opensips)#012#11 0x000000000057d217 udp_start_processes (opensips)#012#12 0x000000000041b2be main (opensips)#012#13 0x00007f8b620606a3 __libc_start_main (libc.so.6)#012#14 0x000000000041be2e _start (opensips)
Jul 23 10:55:58 centos-8gb-hel1-1 opensips[9021]: INFO:core:cleanup: cleanup
Jul 23 10:55:58 centos-8gb-hel1-1 kernel: traps: opensips[9021] general protection fault ip:7f8b6219a687 sp:7fff75d22078 error:0 in libc-2.28.so[7f8b6203d000+1b9000]
Jul 23 10:55:58 centos-8gb-hel1-1 opensips[9021]: CRITICAL:core:sig_usr: segfault in attendant (starter) process!
Jul 23 10:55:58 centos-8gb-hel1-1 systemd[1]: Started Process Core Dump (PID 62476/UID 0).
Jul 23 10:55:59 centos-8gb-hel1-1 systemd-logind[693]: Removed session 15.
Jul 23 10:55:59 centos-8gb-hel1-1 systemd[1]: user-runtime-dir@0.service: Unit not needed anymore. Stopping.
Jul 23 10:55:59 centos-8gb-hel1-1 systemd[1]: Stopping User Manager for UID 0...
Jul 23 10:55:59 centos-8gb-hel1-1 systemd[8198]: Stopped target Default.
Jul 23 10:55:59 centos-8gb-hel1-1 systemd[8198]: Stopped target Basic System.
Jul 23 10:55:59 centos-8gb-hel1-1 systemd[8198]: Stopped target Timers.
Jul 23 10:55:59 centos-8gb-hel1-1 systemd[8198]: Stopped target Sockets.
Jul 23 10:55:59 centos-8gb-hel1-1 systemd[8198]: Closed D-Bus User Message Bus Socket.
Jul 23 10:55:59 centos-8gb-hel1-1 systemd[8198]: Stopped target Paths.
Jul 23 10:55:59 centos-8gb-hel1-1 systemd[8198]: Reached target Shutdown.
Jul 23 10:55:59 centos-8gb-hel1-1 systemd[8198]: Starting Exit the Session...
Jul 23 10:55:59 centos-8gb-hel1-1 systemd[1]: user-runtime-dir@0.service: Unit not needed anymore. Stopping.
Jul 23 10:55:59 centos-8gb-hel1-1 systemd[1]: Stopped User Manager for UID 0.
Jul 23 10:55:59 centos-8gb-hel1-1 systemd[1]: user-runtime-dir@0.service: Unit not needed anymore. Stopping.
Jul 23 10:55:59 centos-8gb-hel1-1 systemd[1]: Stopping /run/user/0 mount wrapper...
Jul 23 10:55:59 centos-8gb-hel1-1 systemd[1]: Removed slice User Slice of UID 0.
Jul 23 10:55:59 centos-8gb-hel1-1 systemd-coredump[62477]: Process 9021 (opensips) of user 0 dumped core.#012#012Stack trace of thread 9021:#012#0 0x00007f8b6219a687 __strlen_avx2 (libc.so.6)#012#1 0x00007f8b6208f43f vfprintf (libc.so.6)#012#2 0x00007f8b621486dc __vfprintf_chk (libc.so.6)#012#3 0x00007f8b6213302b __vsyslog_chk (libc.so.6)#012#4 0x00007f8b62133573 __syslog_chk (libc.so.6)#012#5 0x00000000004eb062 fm_free (opensips)#012#6 0x00007f8b5e9cd6d2 free_cell (tm.so)#012#7 0x00007f8b5e9cffc0 free_hash_table (tm.so)#012#8 0x00007f8b5e9c026f tm_shutdown (tm.so)#012#9 0x00000000004b37c9 destroy_modules (opensips)#012#10 0x00000000004af466 cleanup (opensips)#012#11 0x00000000004afe37 shutdown_opensips (opensips)#012#12 0x00000000004b0533 handle_sigs (opensips)#012#13 0x000000000041bb3d main (opensips)#012#14 0x00007f8b620606a3 __libc_start_main (libc.so.6)#012#15 0x000000000041be2e _start (opensips)
OS/environment information
- Operating System: Centos 8.2
- OpenSIPS installation: /usr/sbin/opensips
- other relevant information:
Additional context