(gdb) bt #0 0xb7e86dfc in _int_free () from /lib/libc.so.6 #1 0xb7e84cb5 in free_check () from /lib/libc.so.6 #2 0xb7e85905 in free () from /lib/libc.so.6 #3 0xb7af6ff8 in iax2_destroy (callno=5) at chan_iax2.c:2016 #4 0xb7aeaa59 in socket_process (thread=0x81a8308) at chan_iax2.c:7719 #5 0xb7aefd07 in iax2_process_thread (data=0x81a8308) at chan_iax2.c:8367 #6 0x080f8759 in dummy_start (data=0xf4016) at utils.c:852 #7 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #8 0xb7eddeca in clone () from /lib/libc.so.6 (gdb) bt full #0 0xb7e86dfc in _int_free () from /lib/libc.so.6 No symbol table info available. #1 0xb7e84cb5 in free_check () from /lib/libc.so.6 No symbol table info available. #2 0xb7e85905 in free () from /lib/libc.so.6 No symbol table info available. #3 0xb7af6ff8 in iax2_destroy (callno=5) at chan_iax2.c:2016 frame = {data = 0xbd5ffbe1, ts = 0, ms = -1213106360, type = 3086524404, next = 0xb7b17738, prev = 0x819e8b8} pvt = (struct chan_iax2_pvt *) 0x81abe88 cur = (struct iax_frame *) 0x819de58 owner = (struct ast_channel *) 0x0 #4 0xb7aeaa59 in socket_process (thread=0x81a8308) at chan_iax2.c:7719 sin = {sin_family = 2, sin_port = 55569, sin_addr = {s_addr = 1381254480}, sin_zero = "\000\000\000\000\000\000\000"} res = 12 updatehistory = 0 new = 0 ptr = (void *) 0x0 dcallno = 5 mh = (struct ast_iax2_mini_hdr *) 0x0 mte = (struct ast_iax2_meta_trunk_entry *) 0x819de58 mtm = (struct ast_iax2_meta_trunk_mini *) 0xf4016 fr = (struct iax_frame *) 0xbd7fbdf4 cur = (struct iax_frame *) 0xf4016 f = {frametype = AST_FRAME_IAX, subclass = 3, 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 *) 0x819de58 dp = (struct iax2_dpcache *) 0x0 tpeer = (struct iax2_trunk_peer *) 0x0 rxtrunktime = {tv_sec = 0, tv_usec = 0} ies = {called_number = 0x0, calling_number = 0x0, calling_ani = 0x0, calling_name = 0x0, calling_ton = 0, calling_tns = 0, calling_pres = 0, called_context = 0x0, username = 0x0, password = 0x0, capability = 0, format = 0, codec_prefs = 0x0, language = 0x0, version = 0, adsicpe = 0, 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, cause = 0x0, causecode = 0 '\0', iax_unknown = 0 '\0', msgcount = 0, autoanswer = 0, musiconhold = 0, transferid = 0, datetime = 0, devicetype = 0x0, serviceident = 0x0, firmwarever = 0, fwdesc = 0, fwdata = 0x0, fwdatalen = 0 '\0', enckey = 0x0, enckeylen = 0 '\0', provver = 0, samprate = 0, provverpres = 0, rr_jitter = 0, rr_loss = 0, rr_pkts = 0, rr_delay = 0, rr_dropped = 0, rr_ooo = 0} ied0 = {buf = '\0' , " 5ø·\000\000\000\000ô\237ø·8ö\177½é8ø·", '\0' , "8ù\177½ ù\177½ äÿÿ ", '\0' , "{\000\000\000{\000\000\0008ù\177½´¡ø· ù\177½\030ù\177½8ù\177½ô\237ø·\b\000\000\000üÿÿÿ\000\000\000\000\000\000\000\000ó9ø·s\000\000\000F\002\001\000\030ù\177½{\000\000\000\234ö\177½\003P\000\210\000\000\000\000\177\003ÿÿ \002ÿÿÿÿÿÿ", '\0' , "ùccéé\000\031äþ? \002\000\000\177\003 \002", '\0' , "\200\037\000\000ÿÿ", '\0' ..., pos = 0} ied1 = {buf = '\0' , pos = 0} format = 0 fd = 17 exists = 0 minivid = 0 empty = '\0' host_pref_buf = '\0' caller_pref_buf = '\0' pref = {order = '\0' , framing = '\0' } using_prefs = 0xb7b0f826 "mine" #5 0xb7aefd07 in iax2_process_thread (data=0x81a8308) at chan_iax2.c:8367 _buffer = {__routine = 0xb7b01b30 , __arg = 0x81a8308, __canceltype = -1115686228, __prev = 0xbd7ffac4} tv = {tv_sec = 135913048, tv_usec = 999446} ts = {tv_sec = -1208758284, tv_nsec = 135912240} put_into_idle = 1 #6 0x080f8759 in dummy_start (data=0xf4016) at utils.c:852 _buffer = {__routine = 0x8068040 , __arg = 0x40010, __canceltype = -1115686164, __prev = 0x0} ret = (void *) 0x819dac0 a = {start_routine = 0xb7aefb00 , data = 0x81a8308, name = 0x819dac0 "iax2_process_thread started at [ 8889] chan_iax2.c start_network_thread()"} #7 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 No symbol table info available. #8 0xb7eddeca in clone () from /lib/libc.so.6 No symbol table info available. (gdb) thread apply all bt Thread 22 (process 19800): #0 0xb7f86f1b in read () from /lib/libpthread.so.0 #1 0x00000000 in ?? () #2 0x00000000 in ?? () #3 0x08103a08 in read_char (el=0x8171fe8, cp=0xbfbd610b "·è\037\027\b@Øó·\200a½¿Èd½¿ò\225\006\bè\037\027\b\200a½¿Àa½¿ d½¿XM") at read.c:296 #4 0x080faa73 in el_getc (el=0x8171fe8, cp=0xbfbd610b "·è\037\027\b@Øó·\200a½¿Èd½¿ò\225\006\bè\037\027\b\200a½¿Àa½¿ d½¿XM") at read.c:347 #5 0x08103a5c in read_getcmd (el=0x8171fe8, cmdnum=0xfffffe00
, ch=0xbfbd610b "·è\037\027\b@Øó·\200a½¿Èd½¿ò\225\006\bè\037\027\b\200a½¿Àa½¿ d½¿XM") at read.c:243 #6 0x080fabf3 in el_gets (el=0x8171fe8, nread=0xbfbd6180) at read.c:443 #7 0x080695f2 in main (argc=-1208756160, argv=0xbfbd6524) at asterisk.c:2982 #8 0xb7e39469 in __libc_start_main () from /lib/libc.so.6 #9 0x08057b31 in ?? () at ../sysdeps/i386/elf/start.S:119 Thread 21 (process 19803): #0 0xb7ed50c1 in loser_poll () from /lib/libc.so.6 #1 0xb7ed5049 in poll () from /lib/libc.so.6 #2 0xb7f809f0 in __pthread_manager () from /lib/libpthread.so.0 #3 0xb7eddeca in clone () from /lib/libc.so.6 Thread 20 (process 19805): #0 0xb7ed50c1 in loser_poll () from /lib/libc.so.6 #1 0xb7ed5049 in poll () from /lib/libc.so.6 #2 0x0806f36f in listener (unused=0x0) at asterisk.c:980 #3 0x080f8759 in dummy_start (data=0xffffffff) at utils.c:852 #4 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #5 0xb7eddeca in clone () from /lib/libc.so.6 Thread 19 (process 19806): #0 0xb7ed50c1 in loser_poll () from /lib/libc.so.6 #1 0xb7ed5049 in poll () from /lib/libc.so.6 #2 0x080b687f in accept_thread (ignore=0x0) at manager.c:2338 #3 0x080f8759 in dummy_start (data=0x1388) at utils.c:852 #4 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #5 0xb7eddeca in clone () from /lib/libc.so.6 Thread 18 (process 19807): #0 0xb7f839f3 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xb7f82f88 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0xb7f7fcd8 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #3 0x08093d18 in do_devstate_changes (data=0x0) at lock.h:733 #4 0x080f8759 in dummy_start (data=0xb7f89ff4) at utils.c:852 #5 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7eddeca in clone () from /lib/libc.so.6 Thread 17 (process 19808): #0 0xb7ed75f1 in select () from /lib/libc.so.6 #1 0xb7e1194c in ?? () from /usr/lib/asterisk/modules/res_features.so #2 0x00000000 in ?? () #3 0xbedffa14 in ?? () #4 0x00000000 in ?? () #5 0xb7e0b955 in do_parking_thread (ignore=0x0) at channel.h:1303 #6 0x080f8759 in dummy_start (data=0x0) at utils.c:852 #7 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #8 0xb7eddeca in clone () from /lib/libc.so.6 Thread 16 (process 19809): #0 0xb7ed50c1 in loser_poll () from /lib/libc.so.6 #1 0xb7ed5049 in poll () from /lib/libc.so.6 #2 0x080a5af4 in ast_io_wait (ioc=0x81956e0, howlong=-4) at io.c:266 #3 0xb7c652d6 in do_monitor (data=0x0) at chan_sip.c:15571 #4 0x080f8759 in dummy_start (data=0x3e8) at utils.c:852 #5 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7eddeca in clone () from /lib/libc.so.6 Thread 15 (process 19810): #0 0xb7f839f3 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xb7f82f88 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0xb7f7fcd8 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #3 0xb7aefbd3 in iax2_process_thread (data=0x819e9c0) at lock.h:733 #4 0x080f8759 in dummy_start (data=0xb7f89ff4) at utils.c:852 #5 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7eddeca in clone () from /lib/libc.so.6 Thread 14 (process 19811): #0 0xb7f839f3 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xb7f82f88 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0xb7f7fcd8 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #3 0xb7aefbd3 in iax2_process_thread (data=0x819fac8) at lock.h:733 #4 0x080f8759 in dummy_start (data=0xb7f89ff4) at utils.c:852 #5 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7eddeca in clone () from /lib/libc.so.6 Thread 13 (process 19812): #0 0xb7f839f3 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xb7f82f88 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0xb7f7fcd8 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #3 0xb7aefbd3 in iax2_process_thread (data=0x81a0bd0) at lock.h:733 #4 0x080f8759 in dummy_start (data=0xb7f89ff4) at utils.c:852 #5 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7eddeca in clone () from /lib/libc.so.6 Thread 12 (process 19813): #0 0xb7f839f3 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xb7f82f88 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0xb7f7fcd8 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #3 0xb7aefbd3 in iax2_process_thread (data=0x81a1cd8) at lock.h:733 #4 0x080f8759 in dummy_start (data=0xb7f89ff4) at utils.c:852 #5 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7eddeca in clone () from /lib/libc.so.6 Thread 11 (process 19814): #0 0xb7f839f3 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xb7f82f88 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0xb7f7fcd8 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #3 0xb7aefbd3 in iax2_process_thread (data=0x81a2de0) at lock.h:733 #4 0x080f8759 in dummy_start (data=0xb7f89ff4) at utils.c:852 #5 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7eddeca in clone () from /lib/libc.so.6 Thread 10 (process 19815): #0 0xb7f839f3 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xb7f82f88 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0xb7f7fcd8 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #3 0xb7aefbd3 in iax2_process_thread (data=0x81a3ee8) at lock.h:733 #4 0x080f8759 in dummy_start (data=0xb7f89ff4) at utils.c:852 #5 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7eddeca in clone () from /lib/libc.so.6 Thread 9 (process 19816): #0 0xb7f839f3 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xb7f82f88 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0xb7f7fcd8 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #3 0xb7aefbd3 in iax2_process_thread (data=0x81a4ff0) at lock.h:733 #4 0x080f8759 in dummy_start (data=0xb7f89ff4) at utils.c:852 #5 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7eddeca in clone () from /lib/libc.so.6 Thread 8 (process 19817): #0 0xb7f839f3 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xb7f82f88 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0xb7f7fcd8 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #3 0xb7aefbd3 in iax2_process_thread (data=0x81a60f8) at lock.h:733 #4 0x080f8759 in dummy_start (data=0xb7f89ff4) at utils.c:852 #5 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7eddeca in clone () from /lib/libc.so.6 Thread 7 (process 19818): #0 0xb7f839f3 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xb7f82f88 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0xb7f7fcd8 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #3 0xb7aefbd3 in iax2_process_thread (data=0x81a7200) at lock.h:733 #4 0x080f8759 in dummy_start (data=0xb7f89ff4) at utils.c:852 #5 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7eddeca in clone () from /lib/libc.so.6 Thread 6 (process 19820): #0 0xb7f878b6 in nanosleep () from /lib/libpthread.so.0 #1 0x00000001 in ?? () #2 0xb7f834ca in __pthread_timedsuspend_new () from /lib/libpthread.so.0 #3 0xb7f80115 in pthread_cond_timedwait_relative () from /lib/libpthread.so.0 #4 0xb7b0a174 in sched_thread (ignore=0x0) at lock.h:738 #5 0x080f8759 in dummy_start (data=0xb7f89ff4) at utils.c:852 #6 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #7 0xb7eddeca in clone () from /lib/libc.so.6 Thread 5 (process 19821): #0 0xb7ed50c1 in loser_poll () from /lib/libc.so.6 #1 0xb7ed5049 in poll () from /lib/libc.so.6 #2 0x080a5af4 in ast_io_wait (ioc=0x8196f58, howlong=-4) at io.c:266 #3 0xb7b0a437 in network_thread (ignore=0x0) at chan_iax2.c:8866 #4 0x080f8759 in dummy_start (data=0xffffffff) at utils.c:852 #5 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7eddeca in clone () from /lib/libc.so.6 Thread 4 (process 19822): #0 0xb7eac076 in nanosleep () from /lib/libc.so.6 #1 0x00000000 in ?? () #2 0xb7eabebf in sleep () from /lib/libc.so.6 #3 0xb7a9d45c in scan_thread (unused=0x0) at pbx_spool.c:437 #4 0x080f8759 in dummy_start (data=0xb7f3cff4) at utils.c:852 #5 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7eddeca in clone () from /lib/libc.so.6 Thread 3 (process 19823): #0 0xb7f839f3 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xb7f82f88 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0xb7f7fcd8 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #3 0xb7a0288c in device_state_thread (data=0x0) at lock.h:733 #4 0x080f8759 in dummy_start (data=0xb7f89ff4) at utils.c:852 #5 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7eddeca in clone () from /lib/libc.so.6 Thread 2 (process 19825): #0 0xb7ed50c1 in loser_poll () from /lib/libc.so.6 #1 0xb7ed5049 in poll () from /lib/libc.so.6 #2 0x0806f20f in monitor_sig_flags (unused=0x0) at asterisk.c:2524 #3 0x080f8759 in dummy_start (data=0xffffffff) at utils.c:852 #4 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #5 0xb7eddeca in clone () from /lib/libc.so.6 Thread 1 (process 19819): #0 0xb7e86dfc in _int_free () from /lib/libc.so.6 #1 0xb7e84cb5 in free_check () from /lib/libc.so.6 #2 0xb7e85905 in free () from /lib/libc.so.6 #3 0xb7af6ff8 in iax2_destroy (callno=5) at chan_iax2.c:2016 #4 0xb7aeaa59 in socket_process (thread=0x81a8308) at chan_iax2.c:7719 #5 0xb7aefd07 in iax2_process_thread (data=0x81a8308) at chan_iax2.c:8367 #6 0x080f8759 in dummy_start (data=0xf4016) at utils.c:852 #7 0xb7f8154e in pthread_start_thread () from /lib/libpthread.so.0 #8 0xb7eddeca in clone () from /lib/libc.so.6