(gdb) bt #0 0xb7d754ac in free () from /lib/tls/i686/cmov/libc.so.6 #1 0xb7d6df43 in _IO_free_backup_area () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7d6e743 in __underflow () from /lib/tls/i686/cmov/libc.so.6 #3 0xb7d6b18c in ?? () from /lib/tls/i686/cmov/libc.so.6 #4 0xb7d6d2a8 in _IO_sgetn () from /lib/tls/i686/cmov/libc.so.6 #5 0xb7d612ee in fread () from /lib/tls/i686/cmov/libc.so.6 #6 0xb790999c in wav_read (s=0x83d1b78, whennext=0xb4ba1454) at format_wav.c:378 #7 0x08094031 in read_frame (s=0xb4b26ff8, whennext=0x0) at file.c:717 #8 0x08094368 in ast_readframe (s=0x83d1b78) at file.c:738 #9 0xb6d15fe8 in moh_files_generator (chan=0xb3a8f500, data=0x82be578, len=160, samples=160) at res_musiconhold.c:274 #10 0x0807818a in ast_read_generator_actions (chan=0xb3a8f500, f=0xb3b66c3c) at channel.c:2014 #11 0x0807f6df in __ast_read (chan=0xb3a8f500, dropaudio=0) at channel.c:2496 #12 0x080bb21c in bridge_p2p_loop (c0=0xb3a8f500, c1=0x81d8f40, p0=0xb3b66c38, p1=0x85f92c8, timeoutms=-1, flags=0, fo=0xb4ba1a2c, rc=0xb4ba1a28, pvt0=0xb3de8be8, pvt1=0x865c7a0) at rtp.c:3315 #13 0x080be25a in ast_rtp_bridge (c0=0xb3a8f500, c1=0x81d8f40, flags=0, fo=0xb4ba1a2c, rc=0xb4ba1a28, timeoutms=-1) at rtp.c:3540 #14 0x0808136b in ast_channel_bridge (c0=0xb3a8f500, c1=0x81d8f40, config=0xb4ba2230, fo=0xb4ba1a2c, rc=0xb4ba1a28) at channel.c:4543 #15 0xb7cbea4c in ast_bridge_call (chan=0xb3a8f500, peer=0x81d8f40, config=0xb4ba2230) at res_features.c:1806 #16 0xb51a4d85 in dial_exec_full (chan=0xb3a8f500, data=0xb4ba2e37, peerflags=0xb4ba2de4, continue_exec=0x0) at app_dial.c:1812 #17 0xb51a612d in dial_exec (chan=0xb3a8f500, data=0xb4ba2e37) at app_dial.c:1851 #18 0x080b1307 in pbx_exec (c=0xb3a8f500, app=0xb7863738, data=0xb4ba2e37) at pbx.c:536 #19 0xb6d39b5f in execif_exec (chan=0xb3a8f500, data=0xb4ba5148) at app_exec.c:184 #20 0x080b1307 in pbx_exec (c=0xb3a8f500, app=0xb59aa838, data=0xb4ba5148) at pbx.c:536 #21 0x080b66f3 in pbx_extension_helper (c=0xb3a8f500, con=, context=0xb3a8f680 "main-functions", exten=0xb3a8f6d0 "*750100", priority=7, label=0x0, callerid=0x82df3a0 "%231060244925", action=E_SPAWN) at pbx.c:1863 #22 0x080b79f9 in __ast_pbx_run (c=0xb3a8f500) at pbx.c:2373 #23 0x080b8dfe in pbx_thread (data=0xb3a8f500) at pbx.c:2599 #24 0x080e20a7 in dummy_start (data=0xb6a06720) at utils.c:856 #25 0xb7ec24fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #26 0xb7ddce5e in clone () from /lib/tls/i686/cmov/libc.so.6