*** glibc detected *** double free or corruption (!prev): 0x081e12b8 *** [Thread 1102121904 (LWP 4228) exited] Program received signal SIGABRT, Aborted. [Switching to Thread 1096760240 (LWP 4225)] 0x4030a627 in raise () from /lib/tls/libc.so.6 (gdb) bt #0 0x4030a627 in raise () from /lib/tls/libc.so.6 #1 0x4030be8b in abort () from /lib/tls/libc.so.6 #2 0x40340f2b in __libc_message () from /lib/tls/libc.so.6 #3 0x40346f22 in malloc_printerr () from /lib/tls/libc.so.6 #4 0x403478e4 in free () from /lib/tls/libc.so.6 #5 0x08079b1c in ast_channel_free (chan=0x820b7d8) at channel.c:1094 #6 0x0807b4e6 in ast_hangup (chan=0x820b7d8) at channel.c:1611 #7 0x4143ae8e in wait_for_answer (in=0x8232068, outgoing=0x81cdb70, to=0x415ea488, peerflags=0x415ea5a0, pa=0x415e9d90, num_in=0x415ea478, priority_jump=0, result=0x415e9d8c) at app_dial.c:612 #8 0x4143e692 in dial_exec_full (chan=0x8232068, data=0x415ec748, peerflags=0x415ea5a0) at app_dial.c:1449 #9 0x4143f851 in dial_exec (chan=0x8232068, data=0x415ec748) at app_dial.c:1696 #10 0x080b09a1 in pbx_exec (c=0x8232068, app=0x8231f08, data=0x415ec748) at pbx.c:505 #11 0x080b374a in pbx_extension_helper (c=0x8232068, con=0x0, context=0x82321e8 "macro-exten", exten=0x8232238 "s", priority=40, label=0x0, callerid=0x82259d0 "71034567", action=E_SPAWN) at pbx.c:1714 #12 0x080b4803 in ast_spawn_extension (c=0x8232068, context=0x82321e8 "macro-exten", exten=0x8232238 "s", priority=40, callerid=0x82259d0 "71034567") at pbx.c:2167 #13 0x41487851 in _macro_exec (chan=0x8232068, data=0x415f1008, exclusive=0) at app_macro.c:235 #14 0x4148808c in macro_exec (chan=0x8232068, data=0x415f1008) at app_macro.c:359 #15 0x080b09a1 in pbx_exec (c=0x8232068, app=0x823d618, data=0x415f1008) at pbx.c:505 #16 0x080b374a in pbx_extension_helper (c=0x8232068, con=0x0, context=0x82321e8 "macro-exten", exten=0x8232238 "s", priority=1, label=0x0, callerid=0x82259d0 "71034567", action=E_SPAWN) at pbx.c:1714 #17 0x080b4803 in ast_spawn_extension (c=0x8232068, context=0x82321e8 "macro-exten", exten=0x8232238 "s", priority=1, callerid=0x82259d0 "71034567") at pbx.c:2167 #18 0x080b4cee in __ast_pbx_run (c=0x8232068) at pbx.c:2267 #19 0x080b5a4a in pbx_thread (data=0x8232068) at pbx.c:2480 #20 0x080ee0f7 in dummy_start (data=0x8228988) at utils.c:545 #21 0x4016d107 in start_thread () from /lib/tls/libpthread.so.0