(gdb) bt full #0 0x00007ffff6f1df4d in __sanitizer::VSNPrintf(char*, int, char const*, __va_list_tag*) () at /lib64/libasan.so.3 #1 0x00007ffff6f1e591 in __sanitizer::InternalScopedString::append(char const*, ...) () at /lib64/libasan.so.3 #2 0x00007ffff6f05e62 in __asan::PrintGlobalLocation(__sanitizer::InternalScopedString*, __asan_global const&) () at /lib64/libasan.so.3 #3 0x00007ffff6f06255 in __asan::DescribeAddressIfGlobal(unsigned long, unsigned long, char const*) () at /lib64/libasan.so.3 #4 0x00007ffff6f077a5 in __asan::DescribeAddress(unsigned long, unsigned long, char const*) () at /lib64/libasan.so.3 #5 0x00007ffff6f0ac1a in __asan::ReportGenericError(unsigned long, unsigned long, unsigned long, unsigned long, bool, unsigned long, unsigned int, bool) () at /lib64/libasan.so.3 #6 0x00007ffff6e78012 in __interceptor_strlen.part.44 () at /lib64/libasan.so.3 #7 0x00007fffed517766 in SQLGetData () at /usr/lib64/libmyodbc5a.so #8 0x00007fffee4b7d67 in SQLGetData () at /lib64/libodbc.so.2 #9 0x00007fffe620447c in realtime_odbc (database=0x7fffbae769e0 "asteriskcdrdb", table=0x7fffbae76b00 "sippeers", fields=0x60d0000a2290) at res_config_odbc.c:261 obj = 0x60b0000516b0 stmt = 0x61b00005da80 coltitle = "md5secret\000t\000\000\000\000\000\000d\347\272\377\177\000\000\005\000\000\000\000\000\000\000\065\060\066\060\000\000\000\000 \000\000\000\000\000\000\000\020d\347\272\377\177\000\000\254\247\360\363\377\177\000\000\066\065\061\063\065\000\000\000\004\000\000\000\000\000\000\000%\276 \346\377\177", '\000' , "\310O\360\366\377\177\000\000\000\000\000\000\000\000\000\000]\351\005\000pa\000\000\000\000\000\000\000\000\000\000\066\000\000\000\000\000\000\000\000i\347\272\377\177\000\000\336\301\346\366\377\177\000\000\000\000\000\000\000\000\000\000T\f\364\366\377\177\000\000`i\347\272\377\177\000\000D\223\354\366\377\177\000\000]\351\005\000pa\000\000"... sql = 0x6190008d0e80 rowdata = 0x6190008d0980 op = 0x7fffe620a9c0 " =" field = 0x0 stringp = 0x0 chunk = 0x6190008d0998 "" collen = 9 res = 0 x = 14 var = 0x60c0021721c0 prev = 0x60e000d5ecc0 colsize = 40 colcount = 98 datatype = 12 decimaldigits = 0 nullable = 1 indicator = 0 cps = {sql = 0x6190008d0e98 "SELECT * FROM sippeers WHERE name = ? AND host = ?", extra = 0x0, __field_mgr_pool = 0x0, encoding = {0xc90d02 <__ast_string_field_empty_buffer+2> "" }, __field_mgr = {last_alloc = 0x0, header = 0x0}, fields = 0x60d0000a2290, skip = 0} connected_flag = {flags = 4} __PRETTY_FUNCTION__ = "realtime_odbc" #10 0x00000000005baa66 in ast_load_realtime_all_fields (family=0x7fffc0b77700 "sippeers", fields=0x60d0000a2290) at config.c:3257 eng = 0x7fffe640e360 db = "asteriskcdrdb\000\000\000'\351\005\000pa\000\000v\351\005\000pa\000\000\204\352\005\000pa", '\000' , "P\251\003\000 b\000\000\263\212\265A\000\000\000\000@Ϸ\300\377\177\000\000\242@\246\300\377\177\000\000\000\000\000\000\000\000\000\000\241÷\300\377\177", '\000' , "|~\347\366\377\177\000\000\000\000\000\000\000\000\000\000\b\353\005\000pa\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000"... table = "sippeers\000\334\350\366\377\177", '\000' , "\067\231\351\366\377\177\000\000\021t\347\272\377\177\000\000|~\347\366\377\177\000\000\245\350\005\000s\000\000\000\000\000\000\000\377\177\000\000\061|\347\272s\000\000\000:\000\000\000\377\177\000\000\000\000\000\000l\000\000\000\000\064bnF\027#\253\000l\347\272\377\177\000\000\000"... res = 0x0 i = 1 #11 0x00000000005bae5c in ast_load_realtime_fields (family=0x7fffc0b77700 "sippeers", fields=0x60d0000a2290) at config.c:3291 res = 0x7fffbae76d00 cur = 0x3000000028 prev = 0x89afe0 #12 0x00000000005bb2e2 in ast_load_realtime (family=0x7fffc0b77700 "sippeers") at config.c:3340 fields = 0x60d0000a2290 field_res = 0 ---Type to continue, or q to quit--- ap = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fffbae76ed0, reg_save_area = 0x7fffbae76de0}} #13 0x00007fffc0a3b3cc in realtime_peer_by_name (name=0x7fffbae76fb8, addr=0x0, ipaddr=0x7fffbae77150 "", var=0x7fffbae770d0, varregs=0x0) at chan_sip.c:5439 #14 0x00007fffc0a3c4ee in realtime_peer (newpeername=0x7fffbae77c17 "eiyadvijchuk_wof", addr=0x0, callbackexten=0x0, devstate_only=0, which_objects=2) at chan_sip.c:5626 peer = 0x0 var = 0x0 varregs = 0x0 ipaddr = "\000\000\000\000\000\000\000\000@p\347\272\377\177\000\000\000\000\000\000\000\000\000\000 w\347\272\377\177\000\000\320q\347\272\377\177\000\000\354lI\000\000" realtimeregs = 0 __PRETTY_FUNCTION__ = "realtime_peer" #15 0x00007fffc0a3d1f8 in sip_find_peer_full (peer=0x7fffbae77c17 "eiyadvijchuk_wof", addr=0x0, callbackexten=0x0, realtime=1, which_objects=2, devstate_only=0, transport=0) at chan_sip.c:5741 p = 0x0 tmp_peer = {name = "eiyadvijchuk_wof\000}\347\272\377\177\000\000\000\064bnF\027#\253\020s\347\272\377\177\000\000\060s\347\272\377\177\000\000f\356\\\367\377\017\000\000\060s\347\272\377\177\000\000`t\347\272\377\177\000\000\342X{\000\000\000\000", __field_mgr_pool = 0x7fffc0b85dc0, secret = 0x62200003aac0 "\242\263\064", md5secret = 0x62200003a970 "\200\262\064", description = 0x62200003ab08 "\242\263\064", remotesecret = 0x41b58ab3 , context = 0x92694f "1 32 24 2 ap ", messagecontext = 0x7b57c7 <__ast_string_field_ptr_build> "UH\211\345AUATSH\201\354\070\001", subscribecontext = 0xc00000000 "", username = 0x3000000020 "", accountcode = 0x7fffbae77470 "@]\270\300\377\177", tohost = 0x7fffbae77390 "%}\266\300\377\177", regexten = 0x7fffc0b67dca "\205\300t\tH\213\205x\377\377\377\353\004I\213E\300I9\336t'H\307\003\016\066\340EH\272\365\365\365\365\365\365\365\365I\211\224$", fromuser = 0x7fffbae77410 "", fromdomain = 0x7fffbae77410 "", fullcontact = 0x41b58ab3 , cid_num = 0x7fffc0bbc160 "1 32 8 3 out ", cid_name = 0x7fffc0b67d25 "UH\211\345AVAUATSH\203\354pH\211\275x\377\377\377H\215]\200I\211\336H\213\005\237B&", cid_tag = 0x7fffc0b7c420 "1 32 4 5 start ", vmexten = 0x7fffc0bbba60 "", language = 0x20000000000 "", mohinterpret = 0x7fffc0b750a0 "sip", mohsuggest = 0x7fffbae77530 "eiyadvijchuk_wof", parkinglot = 0x61d00034b39e "", useragent = 0xab2317466e623400 , mwi_from = 0x934480 "-_.!~*'()", engine = 0xffff75ceea2 "", unsolicited_mailbox = 0x7fffbae77510 "\263\212\265A", zone = 0x7fffbae77a20 "\263\212\265A", record_on_feature = 0x7fffbae77d90 "\263\212\265A", record_off_feature = 0x7fffbae77510 "\263\212\265A", callback = 0x7fffbae77400 "", __field_mgr = {last_alloc = 0x7fffc0a89a07 "\205\300\017\205", , header = 0x7fffbae77400}, socket = {type = (AST_TRANSPORT_UDP | AST_TRANSPORT_TLS | unknown: 3232274816), fd = 32767, port = 30192, tcptls_session = 0x7fffbae78780, ws_session = 0x7fffc0b72e60}, default_outbound_transport = (unknown: 3233230432), transports = 31, is_realtime = 1, rt_fromcontact = 1, host_dynamic = 1, selfdestruct = 1, the_mark = 1, autoframing = 1, deprecated_username = 1, auth = 0xffff75ceea2, amaflags = -144904542, callingpres = 4095, inuse = -1159236336, ringing = 32767, onhold = 9246872, call_limit = 24976, t38_maxdatagram = 3135731584, busy_level = 32767, maxforwards = -1062690724, allowtransfer = (TRANSFER_CLOSED | unknown: 32766), lastmsgssent = -1061659328, sipoptions = 32767, flags = {{flags = 9246872}, {flags = 24976}, {flags = 3135730832}}, mailboxes = {first = 0x7fffc0a89fde , last = 0x7fffba007377}, maxcallbitrate = -1159236336, expire = 32767, caps = 0x7fffbae77780, rtptimeout = -1062691386, rtpholdtimeout = 32767, rtpkeepalive = -1159234520, callgroup = 7430700080, pickupgroup = 140736329123712, named_callgroups = 0x62200003a950, named_pickupgroups = 0x7fffc0b899a0, outboundproxy = 0xb, dnsmgr = 0xbae77430, addr = {ss = {ss_family = 30000, __ss_align = 140736426627008, __ss_padding = "\003\000\000\000\000\000\000\000\220t\347\272\377\177\000\000\220t\347\272\377\177\000\000\263\212\265A\000\000\000\000\025]\270\300\377\177\000\000=\234\250\300\377\177\000\000\066\000\000\000\000\000\000\000eiyadvijchuk_wof", '\000' , "\244\300\267\300\377\177\000\000\000\000\000\000\000\000\000\000]\351\005\000pa\000"}, len = 5}, portinuri = 0, call = 0x61700005e8c7, pokeexpire = 0, lastms = 0, maxms = 1, qualifyfreq = 0, ps = {tv_sec = 140736329118773, tv_usec = 140737336332232}, keepalive = 0, keepalivesend = 0, defaddr = {ss = {ss_family = 45940, __ss_align = 0, __ss_padding = "N\263\064\000\320a\000\000P~\347\272\377\177\000\000\067\231\351\366\377\177\000\000\312\356\\\367\377\017\000\000Pv\347\272\377\177\000\000\020w\347\272\000\001\000\000 w\347\272\377\177\000\000\200{\347\272\377\177\000\000(|\347\272\377\177\000\000pv\347\272\377\177\000\000\060|\347\272\377\177\000\000\000\000\000\000\000\000\000\000(|\347\272\377\177\000\000\263\212\265A\000\000\000"}, len = 9361908}, acl = 0x6c941f , contactacl = 0x7fffbae77c13, directmediaacl = 0x7fff0002160b, chanvars = 0x6e623400, mwipvt = 0x41b58ab3, stimer = {st_mode_oper = 3233529536, st_ref = (SESSION_TIMER_REFRESHER_PARAM_UAC | SESSION_TIMER_REFRESHER_PARAM_UAS | unknown: 32764), st_min_se = 1048579, st_max_se = 32767}, timer_t1 = -1159234512, timer_b = 32767, fromdomainport = -1061438880, path = {list = {first = 0x7fffbae77c30, last = 0x0}, type = (unknown: 9651520)}, type = (unknown: 8329080), disallowed_methods = 0, cc_params = 0x7fffc0b67bee , endpoint = 0x7fffc0b7bda0, dtls_cfg = {enabled = 0, rekey = 0, default_setup = 3233528416, suite = 32767, hash = (unknown: 3233528416), verify = (AST_RTP_DTLS_VERIFY_FINGERPRINT | AST_RTP_DTLS_VERIFY_CERTIFICATE | unknown: 32764), certfile = 0x7fffbae77700 "\263\212\265A", pvtfile = 0xffff75ceee0 "", cipher = 0x7fffbae77700 "\263\212\265A", cafile = 0x7fffbae77d90 "\263\212\265A", capath = 0x7fffbae77780 "P}\347\272\377\177"}} #16 0x00007fffc0a3d3ae in sip_find_peer (peer=0x7fffbae77c17 "eiyadvijchuk_wof", addr=0x0, realtime=1, which_objects=2, devstate_only=0, transport=0) at chan_sip.c:5780 #17 0x00007fffc0aaee50 in register_verify (p=0x62200003a950, addr=0x6120001266a0, req=0x7fffbae78780, uri=0x61700005e8a1 "sip:ds-asterisk05.tcsbank.ru") at chan_sip.c:17628 res = AUTH_NOT_FOUND peer = 0x7fffbae778f0 tmp = "\"eiyadvijchuk_wof\", "\240|\347\272\377\177\000\000\000\064bnF\027#\253\000\000\000\000\000\000\000\000\262\357\\\367\377\017\000\000\220}\347\272\377\177\000\000\060~\347\272\377\177\000\000\220}\347\272\377\177\000\000\000\206\347\272\377\177\000\000\360|\347\272\377\177\000\000I\346\241\300\377\177\000\000\377\377\377\377\000\000\000\000 Ϻ\300\377\177\000\000\262\357\\\367\216\002\000\000\000"... c = 0x7fffbae77c13 "sip:eiyadvijchuk_wof" name = 0x7fffbae77c17 "eiyadvijchuk_wof" unused_password = 0x7fffc0bbba60 "" domain = 0x7fffbae77c28 "asterisk" uri2 = 0x7fffbae77790 "sip:ds-asterisk05.tcsbank.ru" send_mwi = 0 __PRETTY_FUNCTION__ = "register_verify" #18 0x00007fffc0b1be5f in handle_request_register (p=0x62200003a950, req=0x7fffbae78780, addr=0x6120001266a0, e=0x61700005e8a1 "sip:ds-asterisk05.tcsbank.ru") at chan_sip.c:28467 ---Type to continue, or q to quit--- res = 48 __PRETTY_FUNCTION__ = "handle_request_register" #19 0x00007fffc0b1eabf in handle_incoming (p=0x62200003a950, req=0x7fffbae78780, addr=0x6120001266a0, recount=0x7fffbae78230, nounlock=0x7fffbae78270) at chan_sip.c:28775 cmd = 0x61700005e898 "REGISTER" cseq = 0x61700005ea84 "65135 REGISTER" useragent = 0x61700005eac2 "IM-client/OMA1.0 sipML5-v1.2016.03.04" via = 0x61700005e8cb "SIP/2.0/WSS df7jal23ls0d.invalid;branch=z9hG4bKuHi9u87UFAlpWxByCNQNpuHTar5DHAr7;rport" callid = 0x61700005ea59 "95bbe47f-fefd-7f73-0db0-ebcc318c86be" via_pos = 2 seqno = 65135 len = 5 respid = 8743904 res = 0 e = 0x61700005e8a1 "sip:ds-asterisk05.tcsbank.ru" error = 0 oldmethod = 2 acked = 0 __PRETTY_FUNCTION__ = "handle_incoming" #20 0x00007fffc0b20091 in handle_request_do (req=0x7fffbae78780, addr=0x6120001266a0) at chan_sip.c:28943 p = 0x62200003a950 owner_chan_ref = 0x0 recount = 0 nounlock = 0 __PRETTY_FUNCTION__ = "handle_request_do" #21 0x00007fffc0a27304 in sip_websocket_callback (session=0x612000126690, parameters=0x0, headers=0x60e000d5ef60) at chan_sip.c:2659 req = {rlpart1 = 0, rlpart2 = 9, headers = 12, method = 2, lines = 0, sdp_start = 0, sdp_count = 0, debug = 0 '\000', has_to_tag = 0 '\000', ignore = 0 '\000', authenticated = 0 '\000', header = {0, 46, 137, 218, 272, 440, 486, 507, 525, 542, 592, 623, 639, 0 }, line = {639, 0 }, data = 0x61700005e880, content = 0x0, socket = {type = AST_TRANSPORT_WSS, fd = -1, port = 0, tcptls_session = 0x0, ws_session = 0x612000126690}, next = {next = 0x0}, reqsipoptions = 0} data = "REGISTER sip:ds-asterisk05.tcsbank.ru SIP/2.0\r\nVia: SIP/2.0/WSS df7jal23ls0d.invalid;branch=z9hG4bKuHi9u87UFAlpWxByCNQNpuHTar5DHAr7;rport\r\nFrom: \"eiyadvijchuk_wof\";tag=3"... payload = 0x61700005ec00 "REGISTER sip:ds-asterisk05.tcsbank.ru SIP/2.0\r\nVia: SIP/2.0/WSS df7jal23ls0d.invalid;branch=z9hG4bKuHi9u87UFAlpWxByCNQNpuHTar5DHAr7;rport\r\nFrom: \"eiyadvijchuk_wof\";tag=3"... payload_len = 653 opcode = AST_WEBSOCKET_OPCODE_TEXT fragmented = 0 res = 1 #22 0x00007fffdee4abe5 in __ast_websocket_uri_cb (ser=0x612000113f10, urih=0x7fffdf057080 , uri=0x7fffbae79947 "", method=AST_HTTP_GET, get_vars=0x0, headers=0x60e000d5ef60) at res_http_websocket.c:905 v = 0x0 upgrade = 0x7fffbae792d0 "websocket" key = 0x7fffbae792a0 "NStHufpOuYXuBf2Ortvs2g==" key1 = 0x0 key2 = 0x0 protos = 0x7fffbae79260 "sip" requested_protocols = 0x0 protocol = 0x7fffbae79280 "sip" version = 13 flags = 1 protocol_handler = 0x60b000115450 session = 0x612000126690 server = 0x6080005675f0 __self____LINE__ = 0x60e0001cc8a0 __PRETTY_FUNCTION__ = "__ast_websocket_uri_cb" ---Type to continue, or q to quit--- #23 0x000000000064dcea in handle_uri (ser=0x612000113f10, uri=0x7fffbae79947 "", method=AST_HTTP_GET, headers=0x60e000d5ef60) at http.c:1482 c = 0x7fffbae79947 "" res = 0 params = 0x0 urih = 0x7fffdf057080 l = 2 get_vars = 0x0 v = 0x7fffbae79860 prev = 0x0 redirect = 0x0 __PRETTY_FUNCTION__ = "handle_uri" #24 0x000000000064f8bd in httpd_process_request (ser=0x612000113f10) at http.c:1906 headers = 0x60e000d5ef60 uri = 0x7fffbae79944 "/ws" method = 0x7fffbae79940 "GET" transfer_encoding = 0x8c4280 "identity" request = 0x603000ba7558 http_method = AST_HTTP_GET res = 32767 request_line = "GET\000/ws\000HTTP/1.1\r\n\000\000\000\000\000\000\324^\362\366\377\177\000\000\300\n\026\000``\000\000C\001\346\366\377\177\000\000\360b\027\002\300`\000\000\001\000\000\000\000\000\000\000\000c\027\002\300`\000\000{\317\346\366\377\177\000\000x\000\000\000\000\000\000\000\b\000\000\000\000\000\000\000\b\000\000\000\000\000\000\000Q\375\361\366\377\177", '\000' , "\064bnF\027#\253\340\305]\367\377\177\000\000@{\026\367\377\177\000\000\370\266\347\272\377\177\000\000\250\000\000\000\000\000\000\000pm\b\000\360`\000\000\000\233\347\272\377\177\000\000 \255\026\367\377\177\000\000{\317\346\366\377\177\000\000\250\000\000\000\000\000\000\000"... #25 0x00000000006501ce in httpd_helper_thread (data=0x612000113f10) at http.c:1993 ch = 71 ser = 0x612000113f10 p = 0x7ffff4272160 flags = 2050 timeout = 15000 __PRETTY_FUNCTION__ = "httpd_helper_thread" #26 0x00000000007c4b61 in handle_tcptls_connection (data=0x612000113f10) at tcptls.c:742 tcptls_session = 0x612000113f10 ssl_setup = 0x4325b0 ret = 1 err = '\000' , "\064bnF\027#\253\000\254\347\272\377\177\000\000\000\267\347\272\377\177\000\000 \000\000\000\000\000\000\000\340\217\272\000\060`\000\000\000\000\000\000\000\000\000\000\200\327\033\000\060`\000\000\020\255\347\272\377\177\000\000G&\315\364\377\177\000\000\020\255\347\272\377\177\000\000.\310\314\364\377\177", '\000' , "`\254\347\272\377\177\000\000\000\064bnF\027#\253\000\000\000\000\000\000\000\000@\256\347\272\377\177\000\000\000\000\000\000\000\000\000\000\300\271\347\272\377\177\000\000\000\267\347\272\377\177\000\000\200\327\033\000\060`\000\000\260\254\347\272\377\177\000\000"... __PRETTY_FUNCTION__ = "handle_tcptls_connection" #27 0x00000000007f2749 in dummy_start (data=0x6030001bd780) at utils.c:1235 __cancel_routine = 0x47d86f __cancel_arg = 0x7fffbae7b700 __not_first_call = 0 ret = 0x603000ba8fe0 #28 0x00007ffff4ccadc5 in start_thread () at /lib64/libpthread.so.0 #29 0x00007ffff3faa73d in clone () at /lib64/libc.so.6