Using host libthread_db library "/lib/tls/libthread_db.so.1". Core was generated by `/usr/sbin/asterisk -g -U asterisk -vvv'. Program terminated with signal 11, Segmentation fault. #0 0x00b07a72 in SQLTablesW () from /usr/lib/libodbc.so.1 #0 0x00b07a72 in SQLTablesW () from /usr/lib/libodbc.so.1 #1 0x00ac67f5 in SQLAllocEnv () from /usr/lib/libodbc.so.1 #2 0x00ac74d3 in SQLAllocHandle () from /usr/lib/libodbc.so.1 #3 0x005c12b3 in generic_prepare (obj=0x9444e38, data=0xb7b4a550) at func_odbc.c:78 #4 0x0012d396 in ast_odbc_prepare_and_execute (obj=0x9444e38, prepare_cb=0x5c127b , data=0xb7b4a550) at res_odbc.c:96 #5 0x005c269f in acf_odbc_read (chan=0x9618218, cmd=0xb7b4bde0 "ODBC_CST", s=0xb7b4bde9 "SELECT * FROM bla", buf=0xb7b4add0 "", len=4096) at func_odbc.c:278 #6 0x080dac41 in ast_func_read (chan=0x9618218, function=0xb7b4bde0 "ODBC_CST", workspace=0xb7b4add0 "", len=4096) at pbx.c:1578 #7 0x080db02c in pbx_substitute_variables_helper_full (c=0x9618218, headp=0x961861c, cp1=0x9934148 "VARIABLE=${ODBC_CST(SELECT * FROM bla)}", cp2=0xb7b4efe9 "", count=8182) at pbx.c:1699 #8 0x080db4b4 in pbx_substitute_variables_helper (c=0x9618218, cp1=0x9934148 "VARIABLE=${ODBC_CST(SELECT * FROM bla)}", cp2=0xb7b4efe0 "VARIABLE=", count=8191) at pbx.c:1794 #9 0x080db5bd in pbx_substitute_variables (passdata=0xb7b4efe0 "VARIABLE=", datalen=8192, c=0x9618218, e=0x99341e0) at pbx.c:1812 #10 0x080db7b0 in pbx_extension_helper (c=0x9618218, con=0x0, context=0x9618458 "local", exten=0x96184a8 "h", priority=1, label=0x0, callerid=0x96193d8 "401", action=E_SPAWN) at pbx.c:1865 #11 0x080dcd45 in ast_spawn_extension (c=0x9618218, context=0x9618458 "local", exten=0x96184a8 "h", priority=1, callerid=0x96193d8 "401") at pbx.c:2309 #12 0x080dddb3 in __ast_pbx_run (c=0x9618218) at pbx.c:2555 #13 0x080de176 in pbx_thread (data=0x9618218) at pbx.c:2631 #14 0x0812223b in dummy_start (data=0x9619700) at utils.c:856 #15 0x00c48371 in start_thread () from /lib/tls/libpthread.so.0 #16 0x0098dffe in clone () from /lib/tls/libc.so.6