(gdb) bt #0 0xb7638256 in find_callno (callno=21193, dcallno=0, sin=0xb75402e0, new=1, lockpeer=1, sockfd=9) at chan_iax2.c:1301 #1 0xb764fb03 in socket_process (thread=0x81acfd0) at chan_iax2.c:6631 #2 0xb7657ad6 in iax2_process_thread (data=0x81acfd0) at chan_iax2.c:7873 #3 0x080f3ad2 in dummy_start (data=0x81987c8) at utils.c:545 #4 0xb7d6e240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #5 0xb7b9a3de in clone () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt full #0 0xb7638256 in find_callno (callno=21193, dcallno=0, sin=0xb75402e0, new=1, lockpeer=1, sockfd=9) at chan_iax2.c:1301 hash = 0 pvt = (const struct chan_iax2_pvt *) 0x6976656c res = 0 x = -1219239672 now = {tv_sec = -1218212691, tv_usec = -1217955976} host = "\230àS·rF³·ÀÔ¿·\bP)\b \ag·\bP)\bÈùS·\báS·Ø«c·\bP)\bÌàS·", '\0' , "ÈùS· \ag·" __PRETTY_FUNCTION__ = "find_callno" #1 0xb764fb03 in socket_process (thread=0x81acfd0) at chan_iax2.c:6631 sin = {sin_family = 2, sin_port = 59409, sin_addr = {s_addr = 16777343}, sin_zero = "\000\000\000\000\000\000\000"} res = 25 updatehistory = 1 new = 1 dcallno = 0 fh = (struct ast_iax2_full_hdr *) 0x81ad050 mh = (struct ast_iax2_mini_hdr *) 0x81ad050 meta = (struct ast_iax2_meta_hdr *) 0x81ad050 vh = (struct ast_iax2_video_hdr *) 0x81ad050 fr = (struct iax_frame *) 0xb753e140 cur = (struct iax_frame *) 0x0 f = {frametype = AST_FRAME_IAX, subclass = 13, 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}, has_timing_info = 0, ts = 0, len = 0, seqno = 0} c = (struct ast_channel *) 0x7d0f00 dp = (struct iax2_dpcache *) 0xb7540328 peer = (struct iax2_peer *) 0xb7670c40 ies = {called_number = 0x0, calling_number = 0x0, calling_ani = 0x0, calling_name = 0x0, calling_ton = -1, calling_tns = -1, calling_pres = -1, called_context = 0x0, username = 0x81ad05e "ttyIAXe\023\002\001,", password = 0x0, capability = 0, format = 0, codec_prefs = 0x0, language = 0x0, version = 0, adsicpe = 0, dnid = 0xb7b33f01 "\201Ãó\200\f", rdnis = 0x0, authmethods = 0, encmethods = 0, challenge = 0x0, md5_result = 0x0, rsa_result = 0x0, apparent_addr = 0x0, refresh = 300, dpstatus = 0, callno = 224, cause = 0x829cf50 "\020Ð)\bAuthChal Auth challenge sent for - nc 0", causecode = 96 '`', iax_unknown = 3 '\003', msgcount = -1212209640, autoanswer = 0, musiconhold = 0, transferid = 0, datetime = 0, 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 = 3082797044, rr_loss = 3082802368, rr_pkts = 136957560, rr_delay = 680, rr_dropped = 3081979506, rr_ooo = 3082802368, vars = 0x829ce78} ied0 = { buf = '\0' , "T\023³·\000\000\000\000\000\000\000\000ô¿¿·\000\000\000\000\000\000\000\000M\035³·Ü\000T· \002T·\037\003T·ü\001T·ô¿¿·Ü\000T· \002T·È\001T·Á¾²·Ü\000T·Âô\022\b\000\002T· \002T·\000\000\000\000(ú\031\bÿ\000\000\000\001\200­ûH~\030\b(ú\031\b\000\000\000\000ÿÿÿÿ6\002T·»\000\032\b8\001T·¹t\021\b\030\002T· \001T·\000\000\000\000Dú\031\bH\001T·\000\020\000\000\000\000\000\000ú>×·¥\000\032\b", '\0' , "\020\000\000\210\001T·\000\020\000\000\000\000\000\000\210"..., pos = -1219231016} ied1 = { buf = '\0' , "Ã\016³·\000\000\000\000\000\000\000\000\0160²·\233\206\032\b\233\206\032\b\a\000\000\000ô¿¿·Èô\022\b\000\000\000\000¸\000T·o¯°·Ü\000T·Èô\022\b", '\0' , "8«°·\000\000\000\000\000\000\000\000\220\000T·\000\000\000\000\000\000\000\000$\000T·", '\0' , "p\001T·", '\0' , "ÿÿÿÿ\025\000\000\000Èô\022\bÃô\022\b$\000T·\001", '\0' , "Ã\016³·\000\000\000\000\000\000\000\000\0160²·\233\206\032\b\233\206\032\b\a\000\000\000ô¿¿·Z\233f·\000\000\000\000\230"..., pos = 0} format = 0 fd = 9 exists = -1219230824 minivid = 0 empty = '\0' duped_fr = (struct iax_frame *) 0xb7669b53 host_pref_buf = '\0' caller_pref_buf = '\0' pref = {order = '\0' , framing = '\0' } using_prefs = 0xb766a77d "mine" __PRETTY_FUNCTION__ = "socket_process" #2 0xb7657ad6 in iax2_process_thread (data=0x81acfd0) at chan_iax2.c:7873 _buffer = {__routine = 0xb76577d4 , __arg = 0x81acfd0, __canceltype = 135585800, __prev = 0xb7540438} thread = (struct iax2_thread *) 0x81acfd0 tv = {tv_sec = 135585800, tv_usec = 12} ts = {tv_sec = -1219230696, tv_nsec = 134645897} put_into_idle = 1 #3 0x080f3ad2 in dummy_start (data=0x81987c8) at utils.c:545 _buffer = {__routine = 0x806888b , __arg = 0xb7540bb0, __canceltype = 0, __prev = 0x0} ret = (void *) 0x0 a = {start_routine = 0xb765782b , data = 0x81acfd0, name = 0x81a7370 "iax2_process_thread started at [ 8359] chan_iax2.c start_network_thread()"} #4 0xb7d6e240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 No symbol table info available. #5 0xb7b9a3de in clone () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. (gdb) thread apply all bt Thread 31 (process 12346): #0 0xb7f06410 in ?? () #1 0xbf871558 in ?? () #2 0x00000001 in ?? () #3 0xbf8715de in ?? () #4 0xb7d7382b in ?? () from /lib/tls/i686/cmov/libpthread.so.0 #5 0x080fc1c5 in read_char (el=0x8173d08, cp=0xbf8715de "\006") at read.c:296 #6 0x080fc2c2 in el_getc (el=0x8173d08, cp=0xbf8715de "\006") at read.c:347 #7 0x080fc072 in read_getcmd (el=0x8173d08, cmdnum=0xbf8715df "", ch=0xbf8715de "\006") at read.c:243 #8 0x080fc4f9 in el_gets (el=0x8173d08, nread=0xbf871900) at read.c:443 #9 0x080705c9 in main (argc=2, argv=0xbf871b34) at asterisk.c:2977 #10 0xb7ae3ea8 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6 #11 0x08057f61 in ?? () at ../sysdeps/i386/elf/start.S:119 Thread 30 (process 12348): #0 0xb7f06410 in ?? () #1 0xb7ab8328 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0xb7b90833 in poll () from /lib/tls/i686/cmov/libc.so.6 #5 0x0806a4a9 in listener (unused=0x0) at asterisk.c:905 #6 0x080f3ad2 in dummy_start (data=0x8180868) at utils.c:545 #7 0xb7d6e240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #8 0xb7b9a3de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 29 (process 12349): #0 0xb7f06410 in ?? () #1 0xb7a7c3f8 in ?? () #2 0x0000094f in ?? () #3 0x00000000 in ?? () Thread 28 (process 12350): #0 0xb7f06410 in ?? () #1 0xb7a40368 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0xb7b90833 in poll () from /lib/tls/i686/cmov/libc.so.6 #5 0x080f3cf7 in ast_wait_for_input (fd=7, ms=-1) at utils.c:604 #6 0x080a0cda in server_root (data=0x8150e40) at http.c:658 #7 0x080f3ad2 in dummy_start (data=0x8180998) at utils.c:545 #8 0xb7d6e240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #9 0xb7b9a3de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 27 (process 12351): #0 0xb7f06410 in ?? () #1 0xb7a043f8 in ?? () #2 0x000001a5 in ?? () #3 0x00000000 in ?? () Thread 26 (process 12352): #0 0xb7f06410 in ?? () #1 0xb79a5078 in ?? () #2 0x00000000 in ?? () Thread 25 (process 12353): #0 0xb7f06410 in ?? () #1 0xb7630398 in ?? () #2 0x0000002f in ?? () #3 0x00000000 in ?? () Thread 24 (process 12354): #0 0xb7f06410 in ?? () #1 0xb75f4398 in ?? () #2 0x00000033 in ?? () #3 0x00000000 in ?? () Thread 23 (process 12355): #0 0xb7f06410 in ?? () #1 0xb75b8398 in ?? () #2 0x00000033 in ?? () #3 0x00000000 in ?? () ---Type to continue, or q to quit--- Thread 22 (process 12356): #0 0xb7f06410 in ?? () #1 0xb757c398 in ?? () #2 0x00000033 in ?? () #3 0x00000000 in ?? () Thread 21 (process 12358): #0 0xb7f06410 in ?? () #1 0xb7504398 in ?? () #2 0x00000031 in ?? () #3 0x00000000 in ?? () Thread 20 (process 12359): #0 0xb7f06410 in ?? () #1 0xb74c8398 in ?? () #2 0x0000002f in ?? () #3 0x00000000 in ?? () Thread 19 (process 12360): #0 0xb7f06410 in ?? () #1 0xb748c398 in ?? () #2 0x0000002f in ?? () #3 0x00000000 in ?? () Thread 18 (process 12361): #0 0xb7f06410 in ?? () #1 0xb7450398 in ?? () #2 0x0000002f in ?? () #3 0x00000000 in ?? () Thread 17 (process 12362): #0 0xb7f06410 in ?? () #1 0xb7414398 in ?? () #2 0x0000002d in ?? () #3 0x00000000 in ?? () Thread 16 (process 12363): #0 0xb7f06410 in ?? () #1 0xb73d83f0 in ?? () #2 0x00000655 in ?? () #3 0x00000000 in ?? () Thread 15 (process 12364): #0 0xb7f06410 in ?? () #1 0xb739c388 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0xb7b90833 in poll () from /lib/tls/i686/cmov/libc.so.6 #5 0x080a43da in ast_io_wait (ioc=0x8198498, howlong=-1) at io.c:280 #6 0xb76597dd in network_thread (ignore=0x0) at chan_iax2.c:8336 #7 0x080f3ad2 in dummy_start (data=0x81a6578) at utils.c:545 #8 0xb7d6e240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #9 0xb7b9a3de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 14 (process 12365): #0 0xb7f06410 in ?? () #1 0xb733d3a8 in ?? () #2 0x000003e8 in ?? () #3 0x00000001 in ?? () #4 0xb7b90833 in poll () from /lib/tls/i686/cmov/libc.so.6 #5 0x080a43da in ast_io_wait (ioc=0x81a6e58, howlong=1000) at io.c:280 #6 0xb734abd7 in do_monitor (data=0x0) at chan_mgcp.c:3475 #7 0x080f3ad2 in dummy_start (data=0x81acf90) at utils.c:545 #8 0xb7d6e240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #9 0xb7b9a3de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 13 (process 12376): #0 0xb7f06410 in ?? () #1 0xb725c458 in ?? () #2 0x00000000 in ?? () ---Type to continue, or q to quit--- Thread 12 (process 12377): #0 0xb7f06410 in ?? () #1 0xb6a5b3d8 in ?? () #2 0x00000000 in ?? () Thread 11 (process 12378): #0 0xb7f06410 in ?? () #1 0xb62472b8 in ?? () #2 0xb62472e0 in ?? () #3 0xb6247360 in ?? () #4 0xb7b93071 in select () from /lib/tls/i686/cmov/libc.so.6 #5 0xb624b185 in ast_select (nfds=14, rfds=0xb6247360, wfds=0xb62472e0, efds=0x0, tvp=0x0) at /usr/src/asterisk/include/asterisk/channel.h:1356 #6 0xb624af61 in sound_thread (arg=0x8226dd8) at chan_oss.c:637 #7 0x080f3ad2 in dummy_start (data=0x8226ae8) at utils.c:545 #8 0xb7d6e240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #9 0xb7b9a3de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 10 (process 12379): #0 0xb7f06410 in ?? () #1 0xb620b2b8 in ?? () #2 0xb620b2e0 in ?? () #3 0xb620b360 in ?? () #4 0xb7b93071 in select () from /lib/tls/i686/cmov/libc.so.6 #5 0xb624b185 in ast_select (nfds=16, rfds=0xb620b360, wfds=0xb620b2e0, efds=0x0, tvp=0x0) at /usr/src/asterisk/include/asterisk/channel.h:1356 #6 0xb624af61 in sound_thread (arg=0x82274e0) at chan_oss.c:637 #7 0x080f3ad2 in dummy_start (data=0x8226b50) at utils.c:545 #8 0xb7d6e240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #9 0xb7b9a3de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 9 (process 12380): #0 0xb7f06410 in ?? () #1 0xb61c8298 in ?? () #2 0x00000000 in ?? () Thread 8 (process 12381): #0 0xb7f06410 in ?? () #1 0xb6129378 in ?? () #2 0x000003e8 in ?? () #3 0x00000001 in ?? () #4 0xb7b90833 in poll () from /lib/tls/i686/cmov/libc.so.6 #5 0x080a43da in ast_io_wait (ioc=0x82280f8, howlong=1000) at io.c:280 #6 0xb616f211 in do_monitor (data=0x0) at chan_sip.c:15805 #7 0x080f3ad2 in dummy_start (data=0x822a638) at utils.c:545 #8 0xb7d6e240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #9 0xb7b9a3de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 7 (process 12382): #0 0xb7f06410 in ?? () #1 0xb6041f98 in ?? () #2 0x000003e8 in ?? () #3 0x00000000 in ?? () Thread 6 (process 12383): #0 0xb7f06410 in ?? () #1 0xb5fbe3a8 in ?? () #2 0x000003e8 in ?? () #3 0x00000001 in ?? () #4 0xb7b90833 in poll () from /lib/tls/i686/cmov/libc.so.6 #5 0x080a43da in ast_io_wait (ioc=0x824fae8, howlong=1000) at io.c:280 #6 0xb5fc9adf in network_thread (ignore=0x0) at pbx_dundi.c:2124 #7 0x080f3ad2 in dummy_start (data=0x824fb90) at utils.c:545 #8 0xb7d6e240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #9 0xb7b9a3de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 5 (process 12384): #0 0xb7f06410 in ?? () #1 0xb5f821e8 in ?? () #2 0xb7bfbff4 in ?? () from /lib/tls/i686/cmov/libc.so.6 #3 0xb5f821d4 in ?? () #4 0xb7b5c9f6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6 #5 0xb7b5c81b in sleep () from /lib/tls/i686/cmov/libc.so.6 #6 0xb5fc9c4d in process_precache (ign=0x0) at pbx_dundi.c:2164 ---Type to continue, or q to quit--- #7 0x080f3ad2 in dummy_start (data=0x82504d8) at utils.c:545 #8 0xb7d6e240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #9 0xb7b9a3de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 4 (process 12385): #0 0xb7f06410 in ?? () #1 0xb5f3e268 in ?? () #2 0xb7bfbff4 in ?? () from /lib/tls/i686/cmov/libc.so.6 #3 0xb5f3e254 in ?? () #4 0xb7b5c9f6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6 #5 0xb7b5c81b in sleep () from /lib/tls/i686/cmov/libc.so.6 #6 0xb5f41aff in scan_thread (unused=0x0) at pbx_spool.c:437 #7 0x080f3ad2 in dummy_start (data=0x824d638) at utils.c:545 #8 0xb7d6e240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #9 0xb7b9a3de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 3 (process 12386): #0 0xb7f06410 in ?? () #1 0xb5e6f3c8 in ?? () #2 0x00000001 in ?? () #3 0x00000000 in ?? () Thread 2 (process 12387): #0 0xb7f06410 in ?? () #1 0xb5b4a3e8 in ?? () #2 0xffffffff in ?? () #3 0x00000001 in ?? () #4 0xb7b90833 in poll () from /lib/tls/i686/cmov/libc.so.6 #5 0x0806edb7 in monitor_sig_flags (unused=0x0) at asterisk.c:2498 #6 0x080f3ad2 in dummy_start (data=0x8283bc0) at utils.c:545 #7 0xb7d6e240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #8 0xb7b9a3de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (process 12357): #0 0xb7638256 in find_callno (callno=21193, dcallno=0, sin=0xb75402e0, new=1, lockpeer=1, sockfd=9) at chan_iax2.c:1301 #1 0xb764fb03 in socket_process (thread=0x81acfd0) at chan_iax2.c:6631 #2 0xb7657ad6 in iax2_process_thread (data=0x81acfd0) at chan_iax2.c:7873 #3 0x080f3ad2 in dummy_start (data=0x81987c8) at utils.c:545 #4 0xb7d6e240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #5 0xb7b9a3de in clone () from /lib/tls/i686/cmov/libc.so.6 6 in find_callno (callno=21193, dcallno=0, sin=0xb75402e0, new=1, lockpeer=1, sockfd=9) at chan_iax2.c:1301 #1 0xb764fb03 in socket_process (thread=0x81acfd0) at chan_iax2.c:6631 #2 0xb7657ad6 in iax2_process_thread (data=0x81acfd0) at chan_iax2.c:7873 #3 0x080f3ad2 in dummy_start (data=0x81987c8) at utils.c:545 #4 0xb7d6e240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #5 0xb7b9a3de in clone () from /lib/tls/i686/cmov/libc.so.6 (gdb)