Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
- Copyright (C) 2016 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/kamailio/sbin/kamailio...done.
- [New LWP 26788]
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- Core was generated by `/usr/local/kamailio/sbin/kamailio -f /usr/local/kamailio/etc/kamailio/talos.cfg'.
- Program terminated with signal SIGSEGV, Segmentation fault.
- #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
- 1282 if (Trans->uac[branch].last_received>=200
- (gdb) set print elements 2000
- (gdb) bt full
- #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
- branch_cnt = 0
- picked_code = 21931
- new_branch = 0
- inv_through = 0
- extra_flags = 0
- i = 0
- replies_dropped = 6
- __func__ = "t_should_relay_response"
- #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
- relay = -1433544848
- save_clone = 0
- buf = 0x0
- res_len = 0
- relayed_code = 0
- relayed_msg = 0x0
- reply_bak = 0x7ffdaa8dd810
- bm = {to_tag_val = {s = 0x1 <error: Cannot access memory at address 0x1>, len = 1766892808}}
- totag_retr = 0
- reply_status = 32516
- uas_rb = 0xb4caada0
- to_tag = 0x3ccadb81
- reason = {s = 0x4003f9d88 <error: Cannot access memory at address 0x4003f9d88>, len = 736601456}
- 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 = {
- s = 0x7ffdaa8dd7a0 "\200N\247+\253U", len = 735050001}}
- 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"}}
- __func__ = "relay_reply"
- #2 0x00007f04b399594c in reply_received (p_msg=0x7f04b4d73750) at t_reply.c:2537
- msg_status = 200
- last_uac_status = 200
- ack = 0x8 <error: Cannot access memory at address 0x8>
- ack_len = 21931
- branch = 0
- reply_status = 735050001
- onreply_route = 2
- cancel_data = {cancel_bitmap = 0, reason = {cause = 0, u = {text = {s = 0x0, len = 739091672}, e2e_cancel = 0x0, packed_hdrs = {s = 0x0, len = 739091672}}}}
- uac = 0x7f046950a550
- t = 0x7f046950a340
- 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},
- 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,
- 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}}
- backup_user_from = 0x55ab2c1401b0 <def_list+16>
- backup_user_to = 0x55ab2c1401b8 <def_list+24>
- backup_domain_from = 0x55ab2c1401c0 <def_list+32>
- backup_domain_to = 0x55ab2c1401c8 <def_list+40>
- backup_uri_from = 0x55ab2c1401a0 <def_list>
- backup_uri_to = 0x55ab2c1401a8 <def_list+8>
- backup_xavps = 0x55ab2c13fbc0 <_xavp_list_head>
- replies_locked = 1
- branch_ret = -1433544016
- prev_branch = 0
- blst_503_timeout = 735048890
- hf = 0x7ffdaa8ddab0
- 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> "",
- len = 739091672}}
- ---Type <return> to continue, or q <return> to quit---
- 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,
- __saved_mask = {__val = {139658184798224, 94193664384864, 139658184798224, 140727464876224, 139658172762877, 0, 0, 16777216, 11164208, 4170000, 5613008, 6586288, 8, 338, 94193663269466, 139658189777368}}}}}
- bctx = 0x7ffdaa8dd9d0
- keng = 0x0
- __func__ = "reply_received"
- #3 0x000055ab2bb6acd7 in do_forward_reply (msg=0x7f04b4d73750, mode=0) at core/forward.c:747
- new_buf = 0x0
- 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,
- 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',
- send_flags = {f = 0, blst_imask = 0}}
- new_len = 0
- r = 0
- 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"}}
- s = 0x7f04b4d73750 "\225Z"
- len = 1073741828
- __func__ = "do_forward_reply"
- #4 0x000055ab2bb6c9d5 in forward_reply (msg=0x7f04b4d73750) at core/forward.c:852
- No locals.
- #5 0x000055ab2bbfaf27 in receive_msg (
- 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
- msg = 0x7f04b4d73750
- 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>}}}}}
- bctx = 0x0
- ret = 21931
- stats_on = 0
- tvb = {tv_sec = 0, tv_usec = 0}
- tve = {tv_sec = 0, tv_usec = 0}
- tz = {tz_minuteswest = 0, tz_dsttime = 0}
- diff = 0
- inb = {
- 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}
- netinfo = {data = {s = 0x2 <error: Cannot access memory at address 0x2>, len = 0}, rcv = 0x0, dst = 0x0}
- keng = 0x0
- evp = {data = 0x7ffdaa8ddbe0, rcv = 0x7ffdaa8de000, dst = 0x0}
- errsipmsg = 0
- __func__ = "receive_msg"
- #6 0x000055ab2badd7a6 in udp_rcv_loop () at core/udp_server.c:554
- len = 1158
- 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---
- 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>
- tmp = 0x0
- from = 0x7f04b48cf1b8
- fromlen = 16
- 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"}},
- 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,
- 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},
- 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,
- 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}}, bind_address = 0x7f04b4880e70, proto = 1 '\001'}
- evp = {data = 0x0, rcv = 0x0, dst = 0x0}
- 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"
- i = -1
- j = 0
- l = 862583631
- __func__ = "udp_rcv_loop"
- #7 0x000055ab2ba81dff in main_loop () at main.c:1619
- i = 4
- pid = 0
- si = 0x7f04b4880e70
- 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"
- nrprocs = 8
- woneinit = 1
- __func__ = "main_loop"
- #8 0x000055ab2ba89cc7 in main (argc=13, argv=0x7ffdaa8de4e8) at main.c:2638
- cfg_stream = 0x55ab2c447010
- c = -1
- r = 0
- tmp = 0x7ffdaa8deea3 ""
- tmp_len = 32765
- port = -1433541856
- proto = 32516
- options = 0x55ab2bde47b8 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:Y:"
- ret = -1
- seed = 3746496289
- rfd = 4
- debug_save = 0
- debug_flag = 0
- dont_fork_cnt = 0
- n_lst = 0x0
- p = 0xf0b2ff <error: Cannot access memory at address 0xf0b2ff>
- 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,
- tv_nsec = 225185462}, st_mtim = {tv_sec = 1543510606, tv_nsec = 806307085}, st_ctim = {tv_sec = 1543510606, tv_nsec = 806307085}, __glibc_reserved = {0, 0, 0}}
- __func__ = "main"
- (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement