Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1221968976 (LWP 24568)] 0x08068235 in clone_variables (original=0x81d2ed0, clone=0x815e1a0) at channel.c:2826 2826 AST_LIST_INSERT_TAIL(&original->varshead, AST_LIST_FIRST(&clone->varshead), entries); (gdb) bt full #0 0x08068235 in clone_variables (original=0x81d2ed0, clone=0x815e1a0) at channel.c:2826 varptr = (struct ast_var_t *) 0x0 #1 0x08068a69 in ast_do_masquerade (original=0x81d2ed0) at channel.c:2982 x = 8 i = 2 res = 0 origstate = 6 cur = (struct ast_frame *) 0x0 prev = (struct ast_frame *) 0x815e9e0 t = (const struct ast_channel_tech *) 0xb785d140 t_pvt = (void *) 0x0 tmpcid = {cid_dnid = 0x0, cid_num = 0x0, cid_name = 0x0, cid_ani = 0x0, cid_rdnis = 0x0, cid_pres = 0, cid_ani2 = 0, cid_ton = 0, cid_tns = 0} clone = (struct ast_channel *) 0x815e1a0 rformat = 4 wformat = 4 newn = "IAX2/beige-16384\000?)?\033\000\000\000\004\000\000\000,?)?", '\0' , "\030\000\000\000\003\000\002\000\031\000\000\000\003\000\000\000\032\000\000\000\003\000\000\000\033\000\000\000\003", '\0' orig = "Local/511@agentcall-5550,2", '\0' , "????", '\---Type to continue, or q to quit--- 0' , "i\023?\200??" masqn = "IAX2/beige-16384", '\0' zombn = "Local/511@agentcall-5550,2", '\0' #2 0x08064a60 in ast_read (chan=0x81d2ed0) at channel.c:1777 f = (struct ast_frame *) 0x0 blah = 0 prestate = 0 func = (int (*)(void *)) 0 data = (void *) 0x2 res = -1221998896 null_frame = {frametype = 5, subclass = 0, datalen = 0, samples = 0, mallocd = 0, offset = 0, src = 0x0, data = 0x0, delivery = {tv_sec = 0, tv_usec = 0}, prev = 0x0, next = 0x0} #3 0x08069885 in ast_generic_bridge (c0=0x81d2ed0, c1=0x81e4108, config=0xb729ce30, fo=0xb729c9ac, rc=0xb729c9a8, toms=-1) at channel.c:3233 cs = {0x81d2ed0, 0x81e4108, 0xb785d308} f = (struct ast_frame *) 0x806c038 who = (struct ast_channel *) 0x81d2ed0 res = AST_BRIDGE_COMPLETE o0nativeformats = 4 o1nativeformats = 4 watch_c0_dtmf = 0 watch_c1_dtmf = 0 ---Type to continue, or q to quit--- pvt0 = (void *) 0x81d29e8 pvt1 = (void *) 0x81e1650 #4 0x0806ab5c in ast_channel_bridge (c0=0x81d2ed0, c1=0x81e4108, config=0xb729ce30, fo=0xb729c9ac, rc=0xb729c9a8) at channel.c:3494 who = (struct ast_channel *) 0x0 res = AST_BRIDGE_COMPLETE nativefailed = 0 firstpass = 1 o0nativeformats = 4 o1nativeformats = 4 time_left_ms = 0 nexteventts = {tv_sec = 0, tv_usec = 0} caller_warning = 0 '\0' callee_warning = 0 '\0' to = -1 #5 0xb7c0bad9 in ast_bridge_call (chan=0x81d2ed0, peer=0x81e4108, config=0xb729ce30) at res_features.c:1312 f = (struct ast_frame *) 0x0 who = (struct ast_channel *) 0x81d3298 chan_featurecode = '\0' peer_featurecode = '\0' res = 134642387 diff = -1221968388 ---Type to continue, or q to quit--- hasfeatures = 0 hadfeatures = 0 aoh = (struct ast_option_header *) 0x81d2ff8 start = {tv_sec = 0, tv_usec = 0} backup_config = {features_caller = {flags = 0}, features_callee = { flags = 0}, start_time = {tv_sec = 0, tv_usec = 0}, feature_timer = 0, timelimit = 0, play_warning = 0, warning_freq = 0, warning_sound = 0x0, end_sound = 0x0, start_sound = 0x0, firstpass = 0, flags = 0} monitor_exec = 0x0 #6 0xb761093d in dial_exec_full (chan=0x81d2ed0, data=0xb72a1700, peerflags=0xb729d4d4) at app_dial.c:1525 toast = '\0' res = 0 u = (struct localuser *) 0x8173f80 tech = 0xb729c9f0 "SIP" number = 0x819e731 "511" rest = 0x0 cur = 0x0 privcid = '\0' privintro = '\0' outgoing = (struct localuser *) 0x0 tmp = (struct localuser *) 0x81a84a8 peer = (struct ast_channel *) 0x81e4108 ---Type to continue, or q to quit--- to = 11357 numbusy = 0 numcongestion = 0 numnochan = 0 cause = 0 numsubst = "511", '\0' restofit = '\0' cidname = '\0' newnum = 0x0 l = 0x0 privdb_val = 0 calldurationlimit = 0 config = {features_caller = {flags = 0}, features_callee = { flags = 0}, start_time = {tv_sec = 1131518696, tv_usec = 406166}, feature_timer = 0, timelimit = 0, play_warning = 0, warning_freq = 0, warning_sound = 0x0, end_sound = 0x0, start_sound = 0x0, firstpass = 0, flags = 0} timelimit = 0 play_warning = 0 warning_freq = 0 warning_sound = 0x0 end_sound = 0x0 start_sound = 0x0 ---Type to continue, or q to quit--- dtmfcalled = 0x0 dtmfcalling = 0x0 var = 0x0 status = "ANSWER\000R", '\0' play_to_caller = 0 play_to_callee = 0 sentringing = 0 moh = 0 outbound_group = 0x81d3b17 "511" macro_result = 0x0 macro_transfer_dest = 0x0 digit = 0 result = 0 start_time = 1131518693 answer_time = 1131518696 end_time = 0 app = (struct ast_app *) 0x0 parse = 0xb729c9f0 "SIP" args = {argc = 2, argv = 0xb729cca4, peers = 0xb729c9f0 "SIP", timeout = 0xb729c9f8 "14", options = 0x0, url = 0x0} opts = {flags = 0} opt_args = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0} #7 0xb7610c25 in dial_exec (chan=0x81d2ed0, data=0xb72a1700) ---Type to continue, or q to quit--- at app_dial.c:1565 peerflags = {flags = 0} #8 0x08089bdc in pbx_exec (c=0x81d2ed0, app=0x8199f70, data=0xb72a1700, newstack=1) at pbx.c:565 res = -1221968388 saved_c_appl = 0x0 saved_c_data = 0x0 execute = (int (*)(struct ast_channel *, void *)) 0xb7610bde #9 0x0808d80c in pbx_extension_helper (c=0x81d2ed0, con=0x0, context=0x81d3020 "agentcall", exten=0x81d3114 "511", priority=10, label=0x0, callerid=0x0, action=1) at pbx.c:1703 e = (struct ast_exten *) 0x81a8ed0 app = (struct ast_app *) 0x8199f70 sw = (struct ast_switch *) 0x0 data = 0x0 foundcontext = 0x81d3020 "agentcall" newstack = 1 res = 0 status = 5 incstack = {0x0 , 0x80ac595 "\213\204$?", 0x81d35a4 "", 0x81d3280 "", 0x14
, 0x0, 0x0, 0xb7e60041 "\201???\v", 0x18
, ---Type to continue, or q to quit--- 0x18
, 0xb7f1f888 "", 0x3
, 0x81d32d8 "Queue Call", 0x1
, 0x81d32d8 "Queue Call", 0x8109d1a "", 0x0, 0x1
, 0x1
, 0x8109b8d "", 0x81d3418 "Local/511@agentcall-5550,2", 0x1
, 0x0, 0x0, 0x0, 0x0} passdata = "SIP/511|14", '\0' stacklen = 0 tmp = "\033[1;36;40mDial\033[0;37;40m\000m", '\0' tmp2 = "\033[1;35;40mLocal/511@agentcall-5550,2\033[0;37;40m", '\0' tmp3 = "\033[1;35;40mSIP/511|14\033[0;37;40m\000Call\033[0;37;40m", '\0' atmp = '\0' atmp2 = '\0' #10 0x0808eca2 in ast_spawn_extension (c=0x81d2ed0, context=0x81d3020 "agentcall", exten=0x81d3114 "511", priority=10, callerid=0x0) at pbx.c:2236 No locals. #11 0x0808f1f4 in __ast_pbx_run (c=0x81d2ed0) at pbx.c:2302 firstpass = 0 digit = 0 exten = '\0' ---Type to continue, or q to quit--- pos = 0 waittime = 0 res = 0 autoloopflag = 0 #12 0x080900f8 in pbx_thread (data=0x81d2ed0) at pbx.c:2523 c = (struct ast_channel *) 0x81d2ed0 #13 0xb7fcab63 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #14 0xb7ec518a in clone () from /lib/tls/libc.so.6 No symbol table info available. (gdb) (gdb) (gdb)