Program terminated with signal 11, Segmentation fault. #0 0x080a15b2 in ast_frdup (f=0x8a3ac94) at frame.c:458 458 AST_LIST_TRAVERSE_SAFE_BEGIN(&frames->list, out, frame_list) { (gdb) bt full #0 0x080a15b2 in ast_frdup (f=0x8a3ac94) at frame.c:458 __list_next = (struct ast_frame *) 0x3f1e858 __list_prev = (struct ast_frame *) 0x0 __new_prev = (struct ast_frame *) 0x46e8e23b out = (struct ast_frame *) 0x46e8e23b len = 298 srclen = 9 buf = (void *) 0x0 frames = (struct ast_frame_cache *) 0xb7a8ab20 __PRETTY_FUNCTION__ = "ast_frdup" #1 0x0807cac8 in ast_queue_frame (chan=0x8b33970, fin=0x8a3ac94) at channel.c:903 f = (struct ast_frame *) 0x5e8610 cur = (struct ast_frame *) 0x8b34780 blah = 1 qlen = 0 __PRETTY_FUNCTION__ = "ast_queue_frame" #2 0x005e52e6 in local_queue_frame (p=0x8b308f8, isoutbound=1, f=0x8a3ac94, us=0x8b345b0) at chan_local.c:194 other = (struct ast_channel *) 0x8b33970 __PRETTY_FUNCTION__ = "local_queue_frame" #3 0x005e571d in local_write (ast=0x8b345b0, f=0x8a3ac94) at chan_local.c:292 p = (struct local_pvt *) 0x8b308f8 res = -1 isoutbound = 1 __PRETTY_FUNCTION__ = "local_write" #4 0x080835e3 in ast_write (chan=0x8b345b0, fr=0x8a3ce7c) at channel.c:2945 res = -1 f = (struct ast_frame *) 0x8a3ac94 __PRETTY_FUNCTION__ = "ast_write" #5 0x003cc0b6 in moh_files_generator (chan=0x8b345b0, data=0x8b31148, len=160, samples=160) at res_musiconhold.c:293 state = (struct moh_files_state *) 0x8b31148 f = (struct ast_frame *) 0x8a3ce7c res = 0 __PRETTY_FUNCTION__ = "moh_files_generator" #6 0x080803f9 in ast_read_generator_actions (chan=0x8b345b0, f=0x89d19a8) at channel.c:2164 tmp = (void *) 0x8b31148 res = 5092841 __PRETTY_FUNCTION__ = "ast_read_generator_actions" #7 0x08081e68 in __ast_read (chan=0x8b345b0, dropaudio=0) at channel.c:2517 f = (struct ast_frame *) 0x89d19a8 blah = 16 prestate = 6 __PRETTY_FUNCTION__ = "__ast_read" #8 0x0808201e in ast_read (chan=0x8b345b0) at channel.c:2553 No locals. #9 0x0807d398 in ast_safe_sleep_conditional (chan=0x8b345b0, ms=7110, cond=0, data=0x0) at channel.c:1160 f = (struct ast_frame *) 0x89c5ba8 #10 0x0807d401 in ast_safe_sleep (chan=0x8b345b0, ms=10000) at channel.c:1172 No locals. #11 0x003cd1c5 in moh0_exec (chan=0x8b345b0, data=0x3f20f48) at res_musiconhold.c:585 __PRETTY_FUNCTION__ = "moh0_exec" #12 0x080b9674 in pbx_exec (c=0x8b345b0, app=0x888b5c8, data=0x3f20f48) at pbx.c:532 res = 0 saved_c_appl = 0x0 ---Type to continue, or q to quit--- saved_c_data = 0x0 #13 0x080bcb40 in pbx_extension_helper (c=0x8b345b0, con=0x0, context=0x8b34730 "agentq", exten=0x8b34780 "Agent-02", priority=14, label=0x0, callerid=0x89af5e8 "", action=E_SPAWN) at pbx.c:1833 e = (struct ast_exten *) 0x88fd9d0 app = (struct ast_app *) 0x888b5c8 res = 66206608 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x8b34730 "agentq"} passdata = '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #14 0x080bdc0f in ast_spawn_extension (c=0x8b345b0, context=0x8b34730 "agentq", exten=0x8b34780 "Agent-02", priority=14, callerid=0x89af5e8 "") at pbx.c:2288 No locals. #15 0x080be0df in __ast_pbx_run (c=0x8b345b0) at pbx.c:2388 dst_exten = "\220\002\000\000d\201ò\000\233- ·\000\000 ·\b2ò\003qÀG\000\0302ò\003d\201ò\000\233- ·W2ò\003X3ò\003ãIñ\000\220- ·/\000\000\000\0000ð·§2ò\0030\000\000\000\234~S\000\221²X\000P\001U\000\221rG\000\027e\000\000\021\000\000\000(\001U\000Zap\000\000\000\000\000 \001U\000\001\000\000\000\2302ò\003´êË\000\000\000\000\000 \001\000\000 \000\000\000\234~S\000a·G\000¨o£\b\224- ·h\000\000\000\000\000\000\000\030\017\235\bÈu\025\b\002\000\000\000¸2ò\003\020\000\000\000\220\236G\000\f\000\000\000a·G\000´êË\000ôïT\000 \001U\000"... pos = 0 digit = 0 found = 1 res = 0 autoloopflag = 0 error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #16 0x080bee7b in pbx_thread (data=0x8b345b0) at pbx.c:2603 c = (struct ast_channel *) 0x8b345b0 #17 0x080fa09c in dummy_start (data=0x89a6578) at utils.c:775 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {5865460, 0, 66206608, 66204616, -1319133064, -1163775116}, __mask_was_saved = 0}}, __pad = {0x3f23480, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x8068b51 __cancel_arg = (void *) 0x3f23b90 not_first_call = 0 ret = (void *) 0x52156e a = {start_routine = 0x80bee64 , data = 0x8b345b0, name = 0x89d0eb8 "pbx_thread", ' ' , "started at [ 2627] pbx.c ast_pbx_start()"} #18 0x005892db in start_thread () from /lib/libpthread.so.0 No symbol table info available. #19 0x004e312e in clone () from /lib/libc.so.6 No symbol table info available.