(gdb) bt full #0 ao2_ref (user_data=0x1, delta=-1) at astobj2.c:113 current_value = -1 __PRETTY_FUNCTION__ = "ao2_ref" #1 0x0806fbdd in ao2_iterator_destroy (i=0xbe3faca4) at astobj2.c:594 No locals. #2 0x4071c4cb in check_access (callno=45, sin=0xbe3ff9c4, ies=0xbe3ff8b4) at chan_iax2.c:6357 __zz__ = 0x2
__dlen__ = 9 res = -1 version = 1 user = (struct iax2_user *) 0x2d best = (struct iax2_user *) 0x0 bestscore = 0 gotcapability = 1 v = (struct ast_variable *) 0x2 tmpvar = (struct ast_variable *) 0x0 i = {c = 0x1, flags = 0, bucket = -1103103008, c_version = 1073941760, obj = 0xbe3ffbe0, version = 1081465560} __PRETTY_FUNCTION__ = "check_access" #3 0x40720c4a in socket_process (thread=0x8402240) at chan_iax2.c:8900 orignative = -1103103820 sin = {sin_family = 2, sin_port = 55569, sin_addr = {s_addr = 3074445143}, sin_zero = "\000\000\000\000\000\000\000"} res = 112 updatehistory = 0 new = 1 ptr = (void *) 0x2d dcallno = 0 decrypted = 0 '\0' mh = (struct ast_iax2_mini_hdr *) 0x84022c0 cur = (struct iax_frame *) 0x1 f = {frametype = AST_FRAME_IAX, subclass = 1, datalen = 0, samples = 0, mallocd = 0, mallocd_hdr_len = 0, offset = 0, src = 0x0, data = 0x0, delivery = {tv_sec = 0, tv_usec = 0}, frame_list = {next = 0x0}, flags = 0, ts = 0, len = 0, seqno = 0} c = (struct ast_channel *) 0x1 dp = (struct iax2_dpcache *) 0x2d tpeer = (struct iax2_trunk_peer *) 0xbe3ff8b4 rxtrunktime = {tv_sec = 0, tv_usec = 0} ies = {called_number = 0x84022d2 "9123", calling_number = 0x84022dc "123", calling_ani = 0x8402309 "123", calling_name = 0x84022eb "123: Some User 456", calling_ton = 0, calling_tns = 0, calling_pres = 0, called_context = 0x0, username = 0x8402312 "ast1418", password = 0x0, capability = 58376, format = 8, codec_prefs = 0x84022d8 "EL", language = 0x840230e "de", version = 2, adsicpe = 2, dnid = 0x0, rdnis = 0x0, authmethods = 0, encmethods = 0, challenge = 0x0, md5_result = 0x0, rsa_result = 0x0, apparent_addr = 0x0, refresh = 0, dpstatus = 0, callno = 0, ---Type to continue, or q to quit--- cause = 0x0, causecode = 0 '\0', iax_unknown = 0 '\0', msgcount = -1, autoanswer = 0, musiconhold = 0, transferid = 0, datetime = 323910329, devicetype = 0x0, serviceident = 0x0, firmwarever = -1, fwdesc = 0, fwdata = 0x0, fwdatalen = 0 '\0', enckey = 0x0, enckeylen = 0 '\0', provver = 0, samprate = 1, provverpres = 0, rr_jitter = 0, rr_loss = 0, rr_pkts = 0, rr_delay = 0, rr_dropped = 0, rr_ooo = 0, calltoken = 0 '\0', calltokendata = 0x0} ied0 = { buf = '\0' , "\200¥\002@\000\000\000\000\000\r\003@äõ?¾I \002@", '\0' , "Üø?¾Äø?¾x\006\021@ ", '\0' , "+\000\000\000+\000\000\000\200¥\002@\024ÿ\002@\000\r\003@,ö?¾I \002@\000\r\003@\b\000\000\000üÿÿÿ\000\000\000\000\000\000\000\000(ù?¾\020ù?¾x\006\021@ ", '\0' , "+\000\000\000+\000\000\000(ù?¾\024ÿ\002@\020ù?¾\020ù?¾(ù?¾\000\r\003@\b\000\000\000üÿÿÿ\000\000\000\000\000\000\000\000\004¦\002@#\000\000\000F\002\000\000\020ù?¾+\000"..., pos = 0} ied1 = {buf = '\0' , pos = 0} format = 0 fd = 15 exists = 0 minivid = 0 empty = '\0' host_pref_buf = '\0' caller_pref_buf = '\0' pref = {order = '\0' , framing = '\0' } __PRETTY_FUNCTION__ = "socket_process" #4 0x40729a34 in iax2_process_thread (data=0x8402240) at chan_iax2.c:9972 __res = (struct iax2_thread *) 0x4073ba68 _buffer = {__routine = 0x4070eac0 , __arg = 0x8402240, __canceltype = -1103103316, __prev = 0xbe3ffac4} tv = The value of variable 'tv' is distributed across several locations, and GDB cannot access its value.