Guest User

Opensips DebugInfo

a guest
Apr 15th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GDB 7.92 KB | None | 0 0
  1. sip01:/var/tmp # gdb opensips core
  2. GNU gdb (GDB; %maintenance_distribution) 7.9.1
  3. Copyright (C) 2015 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-suse-linux".
  9. Type "show configuration" for configuration details.
  10. For bug reporting instructions, please see:
  11. <http://bugs.opensuse.org/>.
  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 opensips...done.
  17. [New LWP 19584]
  18.  
  19. warning: the debug information found in "/usr/lib/debug//usr/lib64/libmysqlclient.so.18.0.0.debug" does not match "/usr/lib64/libmysqlclient.so.18" (CRC mismatch).
  20.  
  21.  
  22. warning: the debug information found in "/usr/lib/debug/usr/lib64/libmysqlclient.so.18.0.0.debug" does not match "/usr/lib64/libmysqlclient.so.18" (CRC mismatch).
  23.  
  24. [Thread debugging using libthread_db enabled]
  25. Using host libthread_db library "/lib64/libthread_db.so.1".
  26. Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips.pid'.
  27. Program terminated with signal SIGABRT, Aborted.
  28. #0  0x00007ff628698187 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
  29. 56  ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
  30. Missing separate debuginfos, use: zypper install libmysqlclient18-debuginfo-10.0.22-3.1.x86_64
  31. (gdb) bt full
  32. #0  0x00007ff628698187 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
  33.         resultvar = 0
  34.         pid = 19584
  35.         selftid = 19584
  36. #1  0x00007ff628699538 in __GI_abort () at abort.c:78
  37.         save_stage = 1
  38.         act = {__sigaction_handler = {sa_handler = 0x7ff61758e760 <__FUNCTION__.8618>, sa_sigaction = 0x7ff61758e760 <__FUNCTION__.8618>}, sa_mask = {__val = {140694930381783, 140693771000784, 140695224659255, 5, 0, 140694948581653,
  39.               140695216495912, 140693785935568, 140693771000784, 140693785935520, 140695224685093, 1, 140695217410155, 0, 0, 140695220274720}}, sa_flags = 0, sa_restorer = 0x0}
  40.         sigs = {__val = {32, 0 <repeats 15 times>}}
  41. #2  0x0000000000511686 in qm_free (qm=<optimized out>, p=p@entry=0x7ff5d321fed0, file=file@entry=0x7ff61758dbd7 "datagram_fnc.c", func=func@entry=0x7ff61758e760 <__FUNCTION__.8618> "free_async_handler", line=line@entry=327)
  42.     at mem/q_malloc.c:448
  43.         f = <optimized out>
  44.         __FUNCTION__ = "qm_free"
  45. #3  0x00007ff617584b57 in free_async_handler (hdl=0x7ff5d321fed0) at datagram_fnc.c:327
  46. No locals.
  47. #4  datagram_close_async (mi_rpl=<optimized out>, hdl=0x7ff5d321fed0, done=<optimized out>) at datagram_fnc.c:377
  48.         dtgram = {
  49.           start = 0x7ff6186e9070 "200 OK\n200 OK\nsip:x.x.x.x:9135\nsip:y.y.y.y;lr;did=3a8.a84dd1f3\nRoute: <sip:y.y.y.y;lr;did=3a8.a84dd1f3>, <sip:x.x.x.x:9135;transport=udp;lr>\nVia: SIP/2.0/UDP y.y.y.y:5060;"..., current = 0x7ff6186e93fe "", len = 64546}
  50.         p = <optimized out>
  51.         __FUNCTION__ = "datagram_close_async"
  52. #5  0x00007ff617ff8f7e in mi_uac_dlg_hdl (t=<optimized out>, type=<optimized out>, ps=0x7ffe912620c0) at mi.c:378
  53.         mi_hdl = 0x7ff5d321fed0
  54.         rpl_tree = 0x7ff6186d7ce8
  55.         text = {s = 0x3 <error: Cannot access memory at address 0x3>, len = 0}
  56.         __FUNCTION__ = "mi_uac_dlg_hdl"
  57. #6  0x00007ff618025a6d in run_trans_callbacks (type=type@entry=256, trans=trans@entry=0x7ff5d35859b8, req=req@entry=0x0, rpl=rpl@entry=0x7ff6186d3d08, code=code@entry=200) at t_hooks.c:212
  58.         params = {req = 0x0, rpl = 0x7ff6186d3d08, code = 200, param = 0x7ff5d39393a0, extra1 = 0x0, extra2 = 0x0}
  59.         cbp = 0x7ff5d3939390
  60.         backup = 0x83ab48 <global_avps>
  61.         trans_backup = 0x7ff5d35859b8
  62.         __FUNCTION__ = "run_trans_callbacks"
  63. #7  0x00007ff617fe9f20 in local_reply (t=t@entry=0x7ff5d35859b8, p_msg=p_msg@entry=0x7ff6186d3d08, branch=<optimized out>, msg_status=msg_status@entry=200, cancel_bitmap=cancel_bitmap@entry=0x7ffe91262210) at t_reply.c:1464
  64.         local_store = <optimized out>
  65.         local_winner = <optimized out>
  66.         winning_msg = 0x7ff6186d3d08
  67.         winning_code = 200
  68.         totag_retr = 0
  69.         __FUNCTION__ = "local_reply"
  70. #8  0x00007ff617fec6a5 in reply_received (p_msg=0x7ff6186d3d08) at t_reply.c:1614
  71.         msg_status = 200
  72.         last_uac_status = 180
  73.         branch = 0
  74.         reply_status = <optimized out>
  75.         timer = 140694941546350
  76.         cancel_bitmap = 0
  77.         uac = 0x7ff5d3585b90
  78.         t = 0x7ff5d35859b8
  79.         backup_list = <optimized out>
  80.         has_reply_route = <optimized out>
  81.         __FUNCTION__ = "reply_received"
  82. #9  0x0000000000447d54 in forward_reply (msg=msg@entry=0x7ff6186d3d08) at forward.c:575
  83.         new_buf = 0x0
  84. ---Type <return> to continue, or q <return> to quit---
  85.         to = 0x0
  86.         new_len = 5905647
  87.         mod = 0x7ff618698678
  88.         proto = <optimized out>
  89.         id = 0
  90.         send_sock = <optimized out>
  91.         s = <optimized out>
  92.         len = <optimized out>
  93.         __FUNCTION__ = "forward_reply"
  94. #10 0x000000000042faa3 in receive_msg (buf=<optimized out>, len=<optimized out>, rcv_info=rcv_info@entry=0x7ffe912623b0) at receive.c:214
  95.         msg = 0x7ff6186d3d08
  96.         start = {tv_sec = 140695226730128, tv_usec = 140695224685093}
  97.         rc = 3
  98.         __FUNCTION__ = "receive_msg"
  99. #11 0x000000000045cf51 in udp_rcv_loop () at udp_server.c:424
  100.         len = <optimized out>
  101.         buf = "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP y.y.y.y:5060;branch=z9hG4bKad8d.256d7cd7.0\r\nRecord-Route: <sip:x.x.x.x:9135;transport=udp;lr>,<sip:y.y.y.y;lr;did=3a8.a84dd1f3>\r\nCall-ID: 0TfT8B2.fifo"...
  102.         from = 0x7ff6186d3bf8
  103.         fromlen = 16
  104.         ri = {src_ip = {af = 2, len = 4, u = {addrl = {140694580290058, 0}, addr32 = {41607690, 32758, 0, 0}, addr16 = {57866, 634, 32758, 0, 0, 0, 0, 0}, addr = "\n\342z\002\366\177\000\000\000\000\000\000\000\000\000"}}, dst_ip = {
  105.             af = 2, len = 4, u = {addrl = {41607690, 0}, addr32 = {41607690, 0, 0, 0}, addr16 = {57866, 634, 0, 0, 0, 0, 0, 0}, addr = "\n\342z\002", '\000' <repeats 11 times>}}, src_port = 5060, dst_port = 5060, proto = 1,
  106.           proto_reserved1 = 0, proto_reserved2 = 0, src_su = {s = {sa_family = 2, sa_data = "\023\304\n\342z\002\000\000\000\000\000\000\000"}, sin = {sin_family = 2, sin_port = 50195, sin_addr = {s_addr = 41607690},
  107.               sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 2, sin6_port = 50195, sin6_flowinfo = 41607690, sin6_addr = {__in6_u = {__u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0},
  108.                   __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}}, bind_address = 0x7ff618698038}
  109.         p = <optimized out>
  110.         msg = {
  111.           s = 0x811700 <buf> "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP y.y.y.y:5060;branch=z9hG4bKad8d.256d7cd7.0\r\nRecord-Route: <sip:x.x.x.x:9135;transport=udp;lr>,<sip:y.y.y.y;lr;did=3a8.a84dd1f3>\r\nCall-ID: 0TfT8B2.fifo"..., len = 760}
  112.         __FUNCTION__ = "udp_rcv_loop"
  113. #12 0x00000000004169ef in main_loop () at main.c:942
  114.         i = 97
  115.         pid = <optimized out>
  116.         si = 0x7ff618698038
  117.         startup_done = 0x0
  118.         chd_rank = 98
  119.         rc = <optimized out>
  120.         load_p = 0x7ff5d2757688
  121. #13 main (argc=<optimized out>, argv=<optimized out>) at main.c:1634
  122.         cfg_log_stderr = <optimized out>
  123.         cfg_stream = <optimized out>
  124.         c = <optimized out>
  125.         r = 0
  126.         tmp = 0x7ff629047148 ""
  127.         tmp_len = <optimized out>
  128.         port = <optimized out>
  129.         proto = <optimized out>
  130.         options = 0x5b1868 "f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:"
  131.         ret = -1
  132.         seed = 1449908018
  133.         rfd = <optimized out>
  134.         __FUNCTION__ = "main"
  135. (gdb)
Add Comment
Please, Sign In to add comment