Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sip01:/var/tmp # gdb opensips core
- GNU gdb (GDB; %maintenance_distribution) 7.9.1
- Copyright (C) 2015 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-suse-linux".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://bugs.opensuse.org/>.
- 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 opensips...done.
- [New LWP 19584]
- 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).
- 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).
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib64/libthread_db.so.1".
- Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips.pid'.
- Program terminated with signal SIGABRT, Aborted.
- #0 0x00007ff628698187 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
- 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
- Missing separate debuginfos, use: zypper install libmysqlclient18-debuginfo-10.0.22-3.1.x86_64
- (gdb) bt full
- #0 0x00007ff628698187 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
- resultvar = 0
- pid = 19584
- selftid = 19584
- #1 0x00007ff628699538 in __GI_abort () at abort.c:78
- save_stage = 1
- act = {__sigaction_handler = {sa_handler = 0x7ff61758e760 <__FUNCTION__.8618>, sa_sigaction = 0x7ff61758e760 <__FUNCTION__.8618>}, sa_mask = {__val = {140694930381783, 140693771000784, 140695224659255, 5, 0, 140694948581653,
- 140695216495912, 140693785935568, 140693771000784, 140693785935520, 140695224685093, 1, 140695217410155, 0, 0, 140695220274720}}, sa_flags = 0, sa_restorer = 0x0}
- sigs = {__val = {32, 0 <repeats 15 times>}}
- #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)
- at mem/q_malloc.c:448
- f = <optimized out>
- __FUNCTION__ = "qm_free"
- #3 0x00007ff617584b57 in free_async_handler (hdl=0x7ff5d321fed0) at datagram_fnc.c:327
- No locals.
- #4 datagram_close_async (mi_rpl=<optimized out>, hdl=0x7ff5d321fed0, done=<optimized out>) at datagram_fnc.c:377
- dtgram = {
- 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}
- p = <optimized out>
- __FUNCTION__ = "datagram_close_async"
- #5 0x00007ff617ff8f7e in mi_uac_dlg_hdl (t=<optimized out>, type=<optimized out>, ps=0x7ffe912620c0) at mi.c:378
- mi_hdl = 0x7ff5d321fed0
- rpl_tree = 0x7ff6186d7ce8
- text = {s = 0x3 <error: Cannot access memory at address 0x3>, len = 0}
- __FUNCTION__ = "mi_uac_dlg_hdl"
- #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
- params = {req = 0x0, rpl = 0x7ff6186d3d08, code = 200, param = 0x7ff5d39393a0, extra1 = 0x0, extra2 = 0x0}
- cbp = 0x7ff5d3939390
- backup = 0x83ab48 <global_avps>
- trans_backup = 0x7ff5d35859b8
- __FUNCTION__ = "run_trans_callbacks"
- #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
- local_store = <optimized out>
- local_winner = <optimized out>
- winning_msg = 0x7ff6186d3d08
- winning_code = 200
- totag_retr = 0
- __FUNCTION__ = "local_reply"
- #8 0x00007ff617fec6a5 in reply_received (p_msg=0x7ff6186d3d08) at t_reply.c:1614
- msg_status = 200
- last_uac_status = 180
- branch = 0
- reply_status = <optimized out>
- timer = 140694941546350
- cancel_bitmap = 0
- uac = 0x7ff5d3585b90
- t = 0x7ff5d35859b8
- backup_list = <optimized out>
- has_reply_route = <optimized out>
- __FUNCTION__ = "reply_received"
- #9 0x0000000000447d54 in forward_reply (msg=msg@entry=0x7ff6186d3d08) at forward.c:575
- new_buf = 0x0
- ---Type <return> to continue, or q <return> to quit---
- to = 0x0
- new_len = 5905647
- mod = 0x7ff618698678
- proto = <optimized out>
- id = 0
- send_sock = <optimized out>
- s = <optimized out>
- len = <optimized out>
- __FUNCTION__ = "forward_reply"
- #10 0x000000000042faa3 in receive_msg (buf=<optimized out>, len=<optimized out>, rcv_info=rcv_info@entry=0x7ffe912623b0) at receive.c:214
- msg = 0x7ff6186d3d08
- start = {tv_sec = 140695226730128, tv_usec = 140695224685093}
- rc = 3
- __FUNCTION__ = "receive_msg"
- #11 0x000000000045cf51 in udp_rcv_loop () at udp_server.c:424
- len = <optimized out>
- 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"...
- from = 0x7ff6186d3bf8
- fromlen = 16
- 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 = {
- 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,
- 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},
- 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},
- __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}}, bind_address = 0x7ff618698038}
- p = <optimized out>
- msg = {
- 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}
- __FUNCTION__ = "udp_rcv_loop"
- #12 0x00000000004169ef in main_loop () at main.c:942
- i = 97
- pid = <optimized out>
- si = 0x7ff618698038
- startup_done = 0x0
- chd_rank = 98
- rc = <optimized out>
- load_p = 0x7ff5d2757688
- #13 main (argc=<optimized out>, argv=<optimized out>) at main.c:1634
- cfg_log_stderr = <optimized out>
- cfg_stream = <optimized out>
- c = <optimized out>
- r = 0
- tmp = 0x7ff629047148 ""
- tmp_len = <optimized out>
- port = <optimized out>
- proto = <optimized out>
- options = 0x5b1868 "f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:"
- ret = -1
- seed = 1449908018
- rfd = <optimized out>
- __FUNCTION__ = "main"
- (gdb)
Add Comment
Please, Sign In to add comment