Advertisement
descartin

kamailio 5.1 core

Nov 30th, 2018
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.80 KB | None | 0 0
  1. GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
  2. Copyright (C) 2016 Free Software Foundation, Inc.
  3. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  4. This is free software: you are free to change and redistribute it.
  5. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  6. and "show warranty" for details.
  7. This GDB was configured as "x86_64-linux-gnu".
  8. Type "show configuration" for configuration details.
  9. For bug reporting instructions, please see:
  10. <http://www.gnu.org/software/gdb/bugs/>.
  11. Find the GDB manual and other documentation resources online at:
  12. <http://www.gnu.org/software/gdb/documentation/>.
  13. For help, type "help".
  14. Type "apropos word" to search for commands related to "word"...
  15. Reading symbols from /usr/local/kamailio/sbin/kamailio...done.
  16. [New LWP 26788]
  17. [Thread debugging using libthread_db enabled]
  18. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  19. Core was generated by `/usr/local/kamailio/sbin/kamailio -f /usr/local/kamailio/etc/kamailio/talos.cfg'.
  20. Program terminated with signal SIGSEGV, Segmentation fault.
  21. #0 0x00007f04b398b7e9 in t_should_relay_response (Trans=0x7f046950a340, new_code=200, branch=0, should_store=0x7ffdaa8dd72c, should_relay=0x7ffdaa8dd730, cancel_data=0x7ffdaa8dd940, reply=0x7f04b4d73750) at t_reply.c:1282
  22. 1282 if (Trans->uac[branch].last_received>=200
  23. (gdb) set print elements 2000
  24. (gdb) bt full
  25. #0 0x00007f04b398b7e9 in t_should_relay_response (Trans=0x7f046950a340, new_code=200, branch=0, should_store=0x7ffdaa8dd72c, should_relay=0x7ffdaa8dd730, cancel_data=0x7ffdaa8dd940, reply=0x7f04b4d73750) at t_reply.c:1282
  26. branch_cnt = 0
  27. picked_code = 21931
  28. new_branch = 0
  29. inv_through = 0
  30. extra_flags = 0
  31. i = 0
  32. replies_dropped = 6
  33. __func__ = "t_should_relay_response"
  34. #1 0x00007f04b398fdc7 in relay_reply (t=0x7f046950a340, p_msg=0x7f04b4d73750, branch=0, msg_status=200, cancel_data=0x7ffdaa8dd940, do_put_on_wait=1) at t_reply.c:1786
  35. relay = -1433544848
  36. save_clone = 0
  37. buf = 0x0
  38. res_len = 0
  39. relayed_code = 0
  40. relayed_msg = 0x0
  41. reply_bak = 0x7ffdaa8dd810
  42. bm = {to_tag_val = {s = 0x1 <error: Cannot access memory at address 0x1>, len = 1766892808}}
  43. totag_retr = 0
  44. reply_status = 32516
  45. uas_rb = 0xb4caada0
  46. to_tag = 0x3ccadb81
  47. reason = {s = 0x4003f9d88 <error: Cannot access memory at address 0x4003f9d88>, len = 736601456}
  48. onsend_params = {req = 0x7f04b4d73750, rpl = 0x7f04b4c74f98, param = 0x0, code = 0, flags = 0, branch = 0, t_rbuf = 0x7ffdaa8dd790, dst = 0x7f04b39486a2 <t_check_msg+6082>, send_buf = {
  49. s = 0x7ffdaa8dd7a0 "\200N\247+\253U", len = 735050001}}
  50. ip = {af = 2861422528, len = 32765, u = {addrl = {94193661705440, 341}, addr32 = {733936864, 21931, 341, 0}, addr16 = {64736, 11198, 21931, 0, 341, 0, 0, 0}, addr = "\340\374\276+\253U\000\000U\001\000\000\000\000\000"}}
  51. __func__ = "relay_reply"
  52. #2 0x00007f04b399594c in reply_received (p_msg=0x7f04b4d73750) at t_reply.c:2537
  53. msg_status = 200
  54. last_uac_status = 200
  55. ack = 0x8 <error: Cannot access memory at address 0x8>
  56. ack_len = 21931
  57. branch = 0
  58. reply_status = 735050001
  59. onreply_route = 2
  60. cancel_data = {cancel_bitmap = 0, reason = {cause = 0, u = {text = {s = 0x0, len = 739091672}, e2e_cancel = 0x0, packed_hdrs = {s = 0x0, len = 739091672}}}}
  61. uac = 0x7f046950a550
  62. t = 0x7f046950a340
  63. lack_dst = {send_sock = 0x7ffdaa8dd9a0, to = {s = {sa_family = 1740, sa_data = "\322+\253U\000\000\250\r\350+\253U\000"}, sin = {sin_family = 1740, sin_port = 11218, sin_addr = {s_addr = 21931},
  64. sin_zero = "\250\r\350+\253U\000"}, sin6 = {sin6_family = 1740, sin6_port = 11218, sin6_flowinfo = 21931, sin6_addr = {__in6_u = {__u6_addr8 = "\250\r\350+\253U\000\000\260\251ʴ\004\177\000", __u6_addr16 = {3496,
  65. 11240, 21931, 0, 43440, 46282, 32516, 0}, __u6_addr32 = {736628136, 21931, 3033180592, 32516}}}, sin6_scope_id = 739092390}}, id = 21931, proto = -53 '\313', send_flags = {f = 11277, blst_imask = 21931}}
  66. backup_user_from = 0x55ab2c1401b0 <def_list+16>
  67. backup_user_to = 0x55ab2c1401b8 <def_list+24>
  68. backup_domain_from = 0x55ab2c1401c0 <def_list+32>
  69. backup_domain_to = 0x55ab2c1401c8 <def_list+40>
  70. backup_uri_from = 0x55ab2c1401a0 <def_list>
  71. backup_uri_to = 0x55ab2c1401a8 <def_list+8>
  72. backup_xavps = 0x55ab2c13fbc0 <_xavp_list_head>
  73. replies_locked = 1
  74. branch_ret = -1433544016
  75. prev_branch = 0
  76. blst_503_timeout = 735048890
  77. hf = 0x7ffdaa8ddab0
  78. onsend_params = {req = 0x0, rpl = 0x52be683f0, param = 0x7ffdaa8dd9a0, code = 1019927425, flags = 0, branch = 0, t_rbuf = 0x55ab2ba74e80 <_start>, dst = 0x7ffdaa8de4e0, send_buf = {s = 0x55ab2c0da7a6 <buf+1158> "",
  79. len = 739091672}}
  80. ---Type <return> to continue, or q <return> to quit---
  81. ctx = {rec_lev = 0, run_flags = 0, last_retcode = -1, jmp_env = {{__jmpbuf = {1019927425, 2332887685958116864, 94193660153472, 140727464879328, 0, 0, 2332887685970699776, 8416408134407857664}, __mask_was_saved = 0,
  82. __saved_mask = {__val = {139658184798224, 94193664384864, 139658184798224, 140727464876224, 139658172762877, 0, 0, 16777216, 11164208, 4170000, 5613008, 6586288, 8, 338, 94193663269466, 139658189777368}}}}}
  83. bctx = 0x7ffdaa8dd9d0
  84. keng = 0x0
  85. __func__ = "reply_received"
  86. #3 0x000055ab2bb6acd7 in do_forward_reply (msg=0x7f04b4d73750, mode=0) at core/forward.c:747
  87. new_buf = 0x0
  88. dst = {send_sock = 0x0, to = {s = {sa_family = 0, sa_data = '\000' <repeats 13 times>}, sin = {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 0,
  89. sin6_port = 0, sin6_flowinfo = 0, 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}}, id = 0, proto = 0 '\000',
  90. send_flags = {f = 0, blst_imask = 0}}
  91. new_len = 0
  92. r = 0
  93. ip = {af = 3033097688, len = 32516, u = {addrl = {94193666860250, 0}, addr32 = {739091674, 21931, 0, 0}, addr16 = {42202, 11277, 21931, 0, 0, 0, 0, 0}, addr = "ڤ\r,\253U\000\000\000\000\000\000\000\000\000"}}
  94. s = 0x7f04b4d73750 "\225Z"
  95. len = 1073741828
  96. __func__ = "do_forward_reply"
  97. #4 0x000055ab2bb6c9d5 in forward_reply (msg=0x7f04b4d73750) at core/forward.c:852
  98. No locals.
  99. #5 0x000055ab2bbfaf27 in receive_msg (
  100. buf=0x55ab2c0da320 <buf> "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 79.170.66.134;branch=z9hG4bK2b19.836b2ed2a5b8e0459377e10cd875880b.0\r\nVia: SIP/2.0/UDP 90.84.132.1:5060;branch=z9hG4bK00B941da68e88f9cabe\r\nRecord-Route: <sip:79.170.66.134;lr=on;ftag=gK001e964a;did=4e93.75b5>\r\nFrom: <sip:[email protected]:5060;user=phone>;tag=gK001e964a\r\nTo: <sip:[email protected];user=phone>;tag=vDjpt93jgj01a\r\nCall-ID: [email protected]\r\nCSeq: 533240 INVITE\r\nContact: <sip:[email protected]:5060;transport=udp>\r\nUser-Agent: SONOC dedalus-minos-2\r\nAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY\r\nRequire: timer\r\nSupported: timer, path, replaces\r\nAllow-Events: talk, hold, conference, refer\r\nSession-Expires: 1800;refresher=uac\r\nContent-Type: application/sdp\r\nContent-Disposition: session\r\nContent-Length: 241\r\nP-Asserted-Identity: \"Outbound Call\" <sip:[email protected]>\r\n\r\nv=0\r\no=- 13004650 13004650 IN IP4 79.170.66.196\r\ns=-\r\nc=IN IP4 79.170.66.196\r\nt=0 0\r\nm=audio 40400 RTP/AVP 8 110\r\nc=IN IP4 79.170.66.196\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:110 telephone-event/8000\r\na=fmtp:110 0-15\r\na=maxptime:40\r\na=rtcp:40401\r\n", len=1158, rcv_info=0x7ffdaa8de000) at core/receive.c:364
  101. msg = 0x7f04b4d73750
  102. ctx = {rec_lev = 0, run_flags = 0, last_retcode = 0, jmp_env = {{__jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {0 <repeats 16 times>}}}}}
  103. bctx = 0x0
  104. ret = 21931
  105. stats_on = 0
  106. tvb = {tv_sec = 0, tv_usec = 0}
  107. tve = {tv_sec = 0, tv_usec = 0}
  108. tz = {tz_minuteswest = 0, tz_dsttime = 0}
  109. diff = 0
  110. inb = {
  111. s = 0x55ab2c0da320 <buf> "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 79.170.66.134;branch=z9hG4bK2b19.836b2ed2a5b8e0459377e10cd875880b.0\r\nVia: SIP/2.0/UDP 90.84.132.1:5060;branch=z9hG4bK00B941da68e88f9cabe\r\nRecord-Route: <sip:79.170.66.134;lr=on;ftag=gK001e964a;did=4e93.75b5>\r\nFrom: <sip:[email protected]:5060;user=phone>;tag=gK001e964a\r\nTo: <sip:[email protected];user=phone>;tag=vDjpt93jgj01a\r\nCall-ID: [email protected]\r\nCSeq: 533240 INVITE\r\nContact: <sip:[email protected]:5060;transport=udp>\r\nUser-Agent: SONOC dedalus-minos-2\r\nAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY\r\nRequire: timer\r\nSupported: timer, path, replaces\r\nAllow-Events: talk, hold, conference, refer\r\nSession-Expires: 1800;refresher=uac\r\nContent-Type: application/sdp\r\nContent-Disposition: session\r\nContent-Length: 241\r\nP-Asserted-Identity: \"Outbound Call\" <sip:[email protected]>\r\n\r\nv=0\r\no=- 13004650 13004650 IN IP4 79.170.66.196\r\ns=-\r\nc=IN IP4 79.170.66.196\r\nt=0 0\r\nm=audio 40400 RTP/AVP 8 110\r\nc=IN IP4 79.170.66.196\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:110 telephone-event/8000\r\na=fmtp:110 0-15\r\na=maxptime:40\r\na=rtcp:40401\r\n", len = 1158}
  112. netinfo = {data = {s = 0x2 <error: Cannot access memory at address 0x2>, len = 0}, rcv = 0x0, dst = 0x0}
  113. keng = 0x0
  114. evp = {data = 0x7ffdaa8ddbe0, rcv = 0x7ffdaa8de000, dst = 0x0}
  115. errsipmsg = 0
  116. __func__ = "receive_msg"
  117. #6 0x000055ab2badd7a6 in udp_rcv_loop () at core/udp_server.c:554
  118. len = 1158
  119.  
  120.  
  121.  
  122.  
  123. buf = "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 79.170.66.134;branch=z9hG4bK2b19.836b2ed2a5b8e0459377e10cd875880b.0\r\nVia: SIP/2.0/UDP 90.84.132.1:5060;branch=z9hG4bK00B941da68e88f9cabe\r\nRecord-Route: <sip:79.170.66.134;lr=on;ftag=gK001e964a;did=4e93.75b5>\r\nFrom: <sip:[email protected]:5060;user=phone>;tag=gK001e964a\r\nTo: <sip:[email protected];user=phone>;tag=vDjpt93jgj01a\r\nCall-ID: [email protected]\r\nCSeq: 533240 INVITE\r\nContact: <sip:[email protected]:5060;transport=udp>\r\nUser-Agent: SONOC dedalus-minos-2\r\nAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY\r\nRequire: timer\r\nSupported: timer, path, replaces\r\nAllow-Events: talk, hold, conference, refer\r\nSession-Expires: 1800;refresher=uac\r\nContent-Type: application/sdp\r\nContent-Disposition: session\r\nContent-Length: 241\r\nP-Asserted-Identity: \"Outbound Call\" <sip:[email protected]>\r\n\r\nv=0\r\no=- 13004650 13004650 IN IP4 79.170.66.196\r\ns=-\r\nc=IN IP4 79.170.66.196\r\nt=0 0\r\nm=audio 40400 RTP/AVP 8 110\r\nc=IN IP4 79.170.66.196\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:110 telephone-event/8000\r\na=fmtp:110 0-15\r\na=maxptime:40\r\na=rtcp:40401\r\n\000tpmap:18 G729/8000\r\na=fmtp:18 annexb=yes\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-15\r\na=maxptime:40\r\na=rtcp:40661\r\n\000p:101 telephone-event/8000\r\na=fmtp:101 0-15\r\na=maxptime:40\r\n\000\n\000\065\r\na=maxptime:40\r\n\000\000\r\n\000\r\na=fmtp:96 0-15\r\na=maxptime:40\r\n\000\060\r\n\000\067\062\063.1-L/8000\r\na=rtpmap:107 G.723.1-H/8000\r\n---Type <return> to continue, or q <return> to quit---
  124. a=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-15\r\na=ptime:10\r\na=X-vrzcap:vbd Ver=1 Mode=FaxPr ModemRtpRed=0\r\na=X-vrzcap:identification bin=DSR2579 Prot=mgcp App=MG\r\na=sendrecv\r\na=rtcp:53579\r\n", '\000' <repeats 63892 times>
  125. tmp = 0x0
  126. from = 0x7f04b48cf1b8
  127. fromlen = 16
  128. ri = {src_ip = {af = 2, len = 4, u = {addrl = {140727141182031, 0}, addr32 = {2537728591, 32765, 0, 0}, addr16 = {43599, 38722, 32765, 0, 0, 0, 0, 0}, addr = "O\252B\227\375\177\000\000\000\000\000\000\000\000\000"}},
  129. dst_ip = {af = 2, len = 4, u = {addrl = {2252515919, 0}, addr32 = {2252515919, 0, 0, 0}, addr16 = {43599, 34370, 0, 0, 0, 0, 0, 0}, addr = "O\252B\206", '\000' <repeats 11 times>}}, src_port = 5060, dst_port = 5060,
  130. proto_reserved1 = 0, proto_reserved2 = 0, src_su = {s = {sa_family = 2, sa_data = "\023\304O\252B\227\000\000\000\000\000\000\000"}, sin = {sin_family = 2, sin_port = 50195, sin_addr = {s_addr = 2537728591},
  131. sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 2, sin6_port = 50195, sin6_flowinfo = 2537728591, sin6_addr = {__in6_u = {__u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0,
  132. 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}}, bind_address = 0x7f04b4880e70, proto = 1 '\001'}
  133. evp = {data = 0x0, rcv = 0x0, dst = 0x0}
  134. printbuf = " \000\000\000\000\000\000 \000\000\000\000 \377\377\000\000\000\000\000\377\304\024Di\004\177\000\000\200N\247+\253U\000\000\340䍪\375\177", '\000' <repeats 18 times>, "\240ލ\252\375\177\000\000\277r\267+\253U", '\000' <repeats 38 times>, "\005\000\000\000\230̉\264\004\177\000\000@@@@@@@4@@@@@@@@\260ލ\252\375\177\000\000\304\024Di\004\177\000\000\200N\247+\253U\000\000\340䍪\375\177", '\000' <repeats 18 times>, " ߍ\252\v\000\000\000\210\244\036\254\004\177\000\000\001\200\255\373\000\000\000\377\000፪\375\177\000\000 ߍ\252\375\177\000\000\324,\034\254\004\177\000\000\000፪\005\000\000\000\200։\264\005\000\000\000\177፪\375\177\000\000\000፪\244h\000\000\177፪\375\177\000\000\304\024Di\004\177\000\000\200N\247+\253U\000\000\340䍪\375\177", '\000' <repeats 18 times>, "\240ߍ\252\375\177\000\000\070v\267+\253U", '\000' <repeats 34 times>, "\377\377\377\377\005\000\000\000\300ى\264\004\177", '\000' <repeats 18 times>, "\377\377\377\377\000\000\000\000\304\024Di\004\177\000\000\200N\247+\253U\000\000\340䍪\375\177", '\000' <repeats 18 times>, " \340\215\252\375\177\000\000\277r\267+\253U\000\000\020\340\215\252\375\177\000\000\346\363\330+\253U\000\000\000\000\000\000\001\000\000\000\000\026\031,\005\000\000\000\070\210\270\265\005\000\000\000\320߉\264\004\177\000"
  135. i = -1
  136. j = 0
  137. l = 862583631
  138. __func__ = "udp_rcv_loop"
  139. #7 0x000055ab2ba81dff in main_loop () at main.c:1619
  140. i = 4
  141. pid = 0
  142. si = 0x7f04b4880e70
  143. si_desc = "udp receiver child=4 sock=79.170.66.134:5060\000\177\000\000\070\310Դ\004\177\000\000\001\000\000\000\020\b\000\000\000\000\000\000\000\000\000\000H1Di\004\177\000\000\220፪\001\000\000\000\310\066\304h\004\177\000\000\220፪\375\177\000\000\304\312\317+\253U\000\000\200N\247+\253U\000\000`$Ҵ\004\177\000"
  144. nrprocs = 8
  145. woneinit = 1
  146. __func__ = "main_loop"
  147. #8 0x000055ab2ba89cc7 in main (argc=13, argv=0x7ffdaa8de4e8) at main.c:2638
  148. cfg_stream = 0x55ab2c447010
  149. c = -1
  150. r = 0
  151. tmp = 0x7ffdaa8deea3 ""
  152. tmp_len = 32765
  153. port = -1433541856
  154. proto = 32516
  155. options = 0x55ab2bde47b8 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:Y:"
  156. ret = -1
  157. seed = 3746496289
  158. rfd = 4
  159. debug_save = 0
  160. debug_flag = 0
  161. dont_fork_cnt = 0
  162. n_lst = 0x0
  163. p = 0xf0b2ff <error: Cannot access memory at address 0xf0b2ff>
  164. st = {st_dev = 19, st_ino = 28403, st_nlink = 2, st_mode = 16832, st_uid = 1000, st_gid = 1000, __pad0 = 0, st_rdev = 0, st_size = 80, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1543430392,
  165. tv_nsec = 225185462}, st_mtim = {tv_sec = 1543510606, tv_nsec = 806307085}, st_ctim = {tv_sec = 1543510606, tv_nsec = 806307085}, __glibc_reserved = {0, 0, 0}}
  166. __func__ = "main"
  167. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement