Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@OPENSIPS_1:/usr/local/opensips-sbc# gdb /usr/local/sbin/opensips /tmp/core.12714
- GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git
- Copyright (C) 2018 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "x86_64-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from /usr/local/sbin/opensips...done.
- [New LWP 12714]
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- Core was generated by `opensips -w /tmp -P /run/opensips/opensips-sbc.pid -f /usr/local/opensips-sbc/o'.
- Program terminated with signal SIGSEGV, Segmentation fault.
- #0 receive_prof_repl (packet=0x7ffc77b4b8d0) at dlg_replication.c:1119
- 1119 if (profile->repl_type != REPL_PROTOBIN) {
- (gdb) bt full
- #0 receive_prof_repl (packet=0x7ffc77b4b8d0) at dlg_replication.c:1119
- now = 1578414854
- name = {s = 0x7fea9e0c2814 "someProfile\001", len = 11}
- value = {s = 0x7fea9e0c27fc "prefixLimit-cust@8\001", len = 18}
- counter = 1
- profile = 0x0
- has_value = 1
- i = <optimized out>
- dst = <optimized out>
- rp = <optimized out>
- destination = <optimized out>
- old_profile = 0x0
- old_name = {s = 0x7fea9e0c2814 "someProfile\001", len = 11}
- __FUNCTION__ = "receive_prof_repl"
- #1 0x00007fea8f819b6d in bin_rcv_mod_packets (packet=0x7ffc77b4b8d0, packet_type=<optimized out>, ri=<optimized out>, ptr=0x7fea9d7c6818) at clusterer.c:1985
- cap = 0x7fea9d7c6818
- cl_cap = <optimized out>
- port = <optimized out>
- source_id = 3
- dest_id = 1
- cluster_id = 1
- ip = <optimized out>
- node = <optimized out>
- cl = <optimized out>
- ev_actions_required = 0
- __FUNCTION__ = "bin_rcv_mod_packets"
- #2 0x00005600fca3fcfd in call_callbacks (buffer=buffer@entry=0x7fea98de54e0 <bin_current_req> "P4CK\f\002", rcv=0x7fea99ebe650) at bin_interface.c:441
- p = 0x7fea9d7c67f0
- pkg_len = <optimized out>
- packet = {buffer = {s = 0x7fea9e0c2648 "P4CK\f\002", len = 512}, front_pointer = 0x7fea9e0c281f "\001", size = 574, type = 4, next = 0x0, src_id = 3}
- capability = {s = 0x7fea9e0c2654 "dialog-prof-repl\004", len = 16}
- __FUNCTION__ = "call_callbacks"
- #3 0x00007fea98bdc413 in bin_handle_req (_max_msg_chunks=<optimized out>, con=0x7fea99ebe630, req=<optimized out>) at proto_bin.c:682
- size = <optimized out>
- size = <optimized out>
- _timeout = <optimized out>
- #4 bin_read_req (con=0x7fea99ebe630, bytes_read=0x7ffc77b4ba10) at proto_bin.c:837
- bytes = <optimized out>
- total_bytes = <optimized out>
- req = 0x7fea98de54e0 <bin_current_req>
- __FUNCTION__ = "bin_read_req"
- #5 0x00005600fcc63c5e in handle_io (fm=<optimized out>, idx=idx@entry=0, event_type=event_type@entry=1) at net/net_tcp_proc.c:301
- ret = 0
- n = <optimized out>
- con = 0x7fea99ebe630
- s = 5
- rw = <optimized out>
- resp = <optimized out>
- response = {140645581448752, 1}
- __FUNCTION__ = "handle_io"
- #6 0x00005600fcc6627f in io_wait_loop_epoll (h=<optimized out>, t=<optimized out>, repeat=<optimized out>) at net/../io_wait_loop.h:280
- ret = <optimized out>
- i = <optimized out>
- e = <optimized out>
- ep_event = {events = 0, data = {ptr = 0xcb39420000000000, fd = 0, u32 = 0, u64 = 14643808231139311616}}
- fd = <optimized out>
- n = 1
- r = 0
- ret = <optimized out>
- n = <optimized out>
- r = <optimized out>
- i = <optimized out>
- e = <optimized out>
- ep_event = <optimized out>
- fd = <optimized out>
- #7 tcp_worker_proc_loop () at net/net_tcp_proc.c:411
- __FUNCTION__ = "tcp_worker_proc_loop"
- #8 0x00005600fcc75634 in tcp_start_processes (chd_rank=0x5600fd061a7c <chd_rank>, startup_done=0x0) at net/net_tcp.c:2081
- r = 0
- n = <optimized out>
- p_id = <optimized out>
- reader_fd = {160, 161}
- si = <optimized out>
- __FUNCTION__ = "tcp_start_processes"
- #9 0x00005600fca2e780 in main_loop () at main.c:803
- startup_done = 0x0
- last_check = 0
- rc = <optimized out>
- chd_rank = 17
- startup_done = <optimized out>
- last_check = <optimized out>
- rc = <optimized out>
- #10 main (argc=<optimized out>, argv=<optimized out>) at main.c:1482
- c = <optimized out>
- r = <optimized out>
- tmp = 0x7ffc77b4de5f ""
- tmp_len = <optimized out>
- port = <optimized out>
- proto = <optimized out>
- protos_no = <optimized out>
- options = 0x5600fccc8b50 "f:cCm:M:b:l:n:N:rRvdDFEVhw:t:u:g:p:P:G:W:o:a:k:s:"
- ret = -1
- seed = 289158694
- rfd = <optimized out>
- __FUNCTION__ = "main"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement