Advertisement
Guest User

Untitled

a guest
Jan 7th, 2020
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.41 KB | None | 0 0
  1. root@OPENSIPS_1:/usr/local/opensips-sbc# gdb /usr/local/sbin/opensips /tmp/core.12714
  2. GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git
  3. Copyright (C) 2018 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  7. and "show warranty" for details.
  8. This GDB was configured as "x86_64-linux-gnu".
  9. Type "show configuration" for configuration details.
  10. For bug reporting instructions, please see:
  11. <http://www.gnu.org/software/gdb/bugs/>.
  12. Find the GDB manual and other documentation resources online at:
  13. <http://www.gnu.org/software/gdb/documentation/>.
  14. For help, type "help".
  15. Type "apropos word" to search for commands related to "word"...
  16. Reading symbols from /usr/local/sbin/opensips...done.
  17. [New LWP 12714]
  18. [Thread debugging using libthread_db enabled]
  19. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  20. Core was generated by `opensips -w /tmp -P /run/opensips/opensips-sbc.pid -f /usr/local/opensips-sbc/o'.
  21. Program terminated with signal SIGSEGV, Segmentation fault.
  22. #0 receive_prof_repl (packet=0x7ffc77b4b8d0) at dlg_replication.c:1119
  23. 1119 if (profile->repl_type != REPL_PROTOBIN) {
  24. (gdb) bt full
  25. #0 receive_prof_repl (packet=0x7ffc77b4b8d0) at dlg_replication.c:1119
  26. now = 1578414854
  27. name = {s = 0x7fea9e0c2814 "someProfile\001", len = 11}
  28. value = {s = 0x7fea9e0c27fc "prefixLimit-cust@8\001", len = 18}
  29. counter = 1
  30. profile = 0x0
  31. has_value = 1
  32. i = <optimized out>
  33. dst = <optimized out>
  34. rp = <optimized out>
  35. destination = <optimized out>
  36. old_profile = 0x0
  37. old_name = {s = 0x7fea9e0c2814 "someProfile\001", len = 11}
  38. __FUNCTION__ = "receive_prof_repl"
  39. #1 0x00007fea8f819b6d in bin_rcv_mod_packets (packet=0x7ffc77b4b8d0, packet_type=<optimized out>, ri=<optimized out>, ptr=0x7fea9d7c6818) at clusterer.c:1985
  40. cap = 0x7fea9d7c6818
  41. cl_cap = <optimized out>
  42. port = <optimized out>
  43. source_id = 3
  44. dest_id = 1
  45. cluster_id = 1
  46. ip = <optimized out>
  47. node = <optimized out>
  48. cl = <optimized out>
  49. ev_actions_required = 0
  50. __FUNCTION__ = "bin_rcv_mod_packets"
  51. #2 0x00005600fca3fcfd in call_callbacks (buffer=buffer@entry=0x7fea98de54e0 <bin_current_req> "P4CK\f\002", rcv=0x7fea99ebe650) at bin_interface.c:441
  52. p = 0x7fea9d7c67f0
  53. pkg_len = <optimized out>
  54. packet = {buffer = {s = 0x7fea9e0c2648 "P4CK\f\002", len = 512}, front_pointer = 0x7fea9e0c281f "\001", size = 574, type = 4, next = 0x0, src_id = 3}
  55. capability = {s = 0x7fea9e0c2654 "dialog-prof-repl\004", len = 16}
  56. __FUNCTION__ = "call_callbacks"
  57. #3 0x00007fea98bdc413 in bin_handle_req (_max_msg_chunks=<optimized out>, con=0x7fea99ebe630, req=<optimized out>) at proto_bin.c:682
  58. size = <optimized out>
  59. size = <optimized out>
  60. _timeout = <optimized out>
  61. #4 bin_read_req (con=0x7fea99ebe630, bytes_read=0x7ffc77b4ba10) at proto_bin.c:837
  62. bytes = <optimized out>
  63. total_bytes = <optimized out>
  64. req = 0x7fea98de54e0 <bin_current_req>
  65. __FUNCTION__ = "bin_read_req"
  66. #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
  67. ret = 0
  68. n = <optimized out>
  69. con = 0x7fea99ebe630
  70. s = 5
  71. rw = <optimized out>
  72. resp = <optimized out>
  73. response = {140645581448752, 1}
  74. __FUNCTION__ = "handle_io"
  75. #6 0x00005600fcc6627f in io_wait_loop_epoll (h=<optimized out>, t=<optimized out>, repeat=<optimized out>) at net/../io_wait_loop.h:280
  76. ret = <optimized out>
  77. i = <optimized out>
  78. e = <optimized out>
  79. ep_event = {events = 0, data = {ptr = 0xcb39420000000000, fd = 0, u32 = 0, u64 = 14643808231139311616}}
  80. fd = <optimized out>
  81. n = 1
  82. r = 0
  83. ret = <optimized out>
  84. n = <optimized out>
  85. r = <optimized out>
  86. i = <optimized out>
  87. e = <optimized out>
  88. ep_event = <optimized out>
  89. fd = <optimized out>
  90. #7 tcp_worker_proc_loop () at net/net_tcp_proc.c:411
  91. __FUNCTION__ = "tcp_worker_proc_loop"
  92. #8 0x00005600fcc75634 in tcp_start_processes (chd_rank=0x5600fd061a7c <chd_rank>, startup_done=0x0) at net/net_tcp.c:2081
  93. r = 0
  94. n = <optimized out>
  95. p_id = <optimized out>
  96. reader_fd = {160, 161}
  97. si = <optimized out>
  98. __FUNCTION__ = "tcp_start_processes"
  99. #9 0x00005600fca2e780 in main_loop () at main.c:803
  100. startup_done = 0x0
  101. last_check = 0
  102. rc = <optimized out>
  103. chd_rank = 17
  104. startup_done = <optimized out>
  105. last_check = <optimized out>
  106. rc = <optimized out>
  107. #10 main (argc=<optimized out>, argv=<optimized out>) at main.c:1482
  108. c = <optimized out>
  109. r = <optimized out>
  110. tmp = 0x7ffc77b4de5f ""
  111. tmp_len = <optimized out>
  112. port = <optimized out>
  113. proto = <optimized out>
  114. protos_no = <optimized out>
  115. options = 0x5600fccc8b50 "f:cCm:M:b:l:n:N:rRvdDFEVhw:t:u:g:p:P:G:W:o:a:k:s:"
  116. ret = -1
  117. seed = 289158694
  118. rfd = <optimized out>
  119. __FUNCTION__ = "main"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement