Program terminated with signal 11, Segmentation fault. [New process 18388] #0 0x080b69d3 in ast_frdup () (gdb) bt #0 0x080b69d3 in ast_frdup () #1 0x080b6490 in ast_frisolate () #2 0x080b3068 in read_frame () #3 0x080b30d8 in ast_readframe () #4 0x00c0a2fb in moh_files_readframe (chan=0xb6b75410) at res_musiconhold.c:274 #5 0x00c0a37a in moh_files_generator (chan=0xb6b75410, data=0xae61980, len=160, samples=160) at res_musiconhold.c:291 #6 0x0808c66b in ast_read_generator_actions () #7 0x0808e049 in __ast_read () #8 0x0808e2f1 in ast_read () #9 0x0807a363 in autoservice_run () #10 0x081244b8 in dummy_start () #11 0x00ad55ab in start_thread () from /lib/libpthread.so.0 #12 0x00a54cfe in clone () from /lib/libc.so.6 (gdb) bt full #0 0x080b69d3 in ast_frdup () No symbol table info available. #1 0x080b6490 in ast_frisolate () No symbol table info available. #2 0x080b3068 in read_frame () No symbol table info available. #3 0x080b30d8 in ast_readframe () No symbol table info available. #4 0x00c0a2fb in moh_files_readframe (chan=0xb6b75410) at res_musiconhold.c:274 f = (struct ast_frame *) 0x0 #5 0x00c0a37a in moh_files_generator (chan=0xb6b75410, data=0xae61980, len=160, samples=160) at res_musiconhold.c:291 state = (struct moh_files_state *) 0xae61980 f = (struct ast_frame *) 0x0 res = 0 __PRETTY_FUNCTION__ = "moh_files_generator" #6 0x0808c66b in ast_read_generator_actions () No symbol table info available. #7 0x0808e049 in __ast_read () No symbol table info available. #8 0x0808e2f1 in ast_read () No symbol table info available. #9 0x0807a363 in autoservice_run () No symbol table info available. #10 0x081244b8 in dummy_start () No symbol table info available. #11 0x00ad55ab in start_thread () from /lib/libpthread.so.0 No symbol table info available. #12 0x00a54cfe in clone () from /lib/libc.so.6 No symbol table info available. (gdb) thread apply all bt Thread 1 (process 18388): #0 0x080b69d3 in ast_frdup () #1 0x080b6490 in ast_frisolate () #2 0x080b3068 in read_frame () #3 0x080b30d8 in ast_readframe () #4 0x00c0a2fb in moh_files_readframe (chan=0xb6b75410) at res_musiconhold.c:274 #5 0x00c0a37a in moh_files_generator (chan=0xb6b75410, data=0xae61980, len=160, samples=160) at res_musiconhold.c:291 #6 0x0808c66b in ast_read_generator_actions () #7 0x0808e049 in __ast_read () #8 0x0808e2f1 in ast_read () #9 0x0807a363 in autoservice_run () #10 0x081244b8 in dummy_start () #11 0x00ad55ab in start_thread () from /lib/libpthread.so.0 #12 0x00a54cfe in clone () from /lib/libc.so.6