bt: (gdb) bt #0 0x001bbd2e in SQLNumResultCols () from /usr/lib/libodbc.so.1 #1 0x00470424 in acf_odbc_read (chan=0xb7a120e0, cmd=0xb6359c20 "RT_EXTEN_SETTING", s=0xb6359c31 "4773103106", buf=0xb6358c10 "", len=4096) at func_odbc.c:289 #2 0x080d4281 in ast_func_read (chan=0xb7a120e0, function=0xb6359c20 "RT_EXTEN_SETTING", workspace=0xb6358c10 "", len=4096) at pbx.c:1555 #3 0x080d46d1 in pbx_substitute_variables_helper_full (c=0xb7a120e0, headp=0xb7a124e4, cp1=0xa319250 "VARIABEL=${RT_EXTEN_SETTING(4773103106|DN)}", cp2=0xb635ce11 "", count=8182) at pbx.c:1676 #4 0x080d4bc5 in pbx_substitute_variables_helper (c=0xb7a120e0, cp1=0xa319250 "VARIABEL=${RT_EXTEN_SETTING(4773103106|DN)}", cp2=0xb635ce08 "VARIABEL=", count=8191) at pbx.c:1770 #5 0x080d4ccc in pbx_substitute_variables (passdata=0xb635ce08 "VARIABEL=", datalen=8192, c=0xb7a120e0, e=0xa319280) at pbx.c:1788 #6 0x080d4ec2 in pbx_extension_helper (c=0xb7a120e0, con=0x0, context=0xb7a12320 "bugfinder", exten=0xb7a12370 "s", priority=2, label=0x0, callerid=0xb7a0be38 "", action=E_SPAWN) at pbx.c:1841 #7 0x080d6400 in ast_spawn_extension (c=0xb7a120e0, context=0xb7a12320 "bugfinder", exten=0xb7a12370 "s", priority=2, callerid=0xb7a0be38 "") at pbx.c:2332 #8 0x080d6846 in __ast_pbx_run (c=0xb7a120e0) at pbx.c:2421 #9 0x080d77fe in ast_pbx_run (c=0xb7a120e0) at pbx.c:2678 #10 0x080dd62c in ast_pbx_outgoing_exten (type=0xa25d690 "Console", format=72, data=0xa25d790, timeout=30000, context=0xa25db90 "bugfinder", exten=0xa25da90 "s", priority=1, reason=0xb635f32c, sync=2, cid_num=0xa25dc94 "", cid_name=0xa25dd94 "", vars=0x0, account=0xa25de94 "", channel=0x0) at pbx.c:5033 #11 0x005793af in attempt_thread (data=0xa25d578) at pbx_spool.c:353 #12 0x0811b4c5 in dummy_start (data=0xa2c3940) at utils.c:856 #13 0x0071746b in start_thread () from /lib/libpthread.so.0 #14 0x0066edbe in clone () from /lib/libc.so.6 bt full: #0 0x001bbd2e in SQLNumResultCols () from /usr/lib/libodbc.so.1 No symbol table info available. #1 0x00470424 in acf_odbc_read (chan=0xb7a120e0, cmd=0xb6359c20 "RT_EXTEN_SETTING", s=0xb6359c31 "4773103106", buf=0xb6358c10 "", len=4096) at func_odbc.c:289 obj = (struct odbc_obj *) 0xa18b598 query = (struct acf_odbc_query *) 0xa2020a0 sql = "SELECT value FROM astdb WHERE family='4773103106/DN'", '\0' varname = "ARG2\000\000\000\000\000\000\000▒A," res = 135643988 x = 2 buflen = 1 escapecommas = 1 bogus_chan = 0 args = {argc = 2, argv = 0xb63581c8, field = {0xb6359c31 "4773103106", 0xb6359c3c "DN", 0x0 }} stmt = (SQLHSTMT) 0xb7a1ffd0 colcount = 0 indicator = 0 __PRETTY_FUNCTION__ = "acf_odbc_read" #2 0x080d4281 in ast_func_read (chan=0xb7a120e0, function=0xb6359c20 "RT_EXTEN_SETTING", workspace=0xb6358c10 "", len=4096) at pbx.c:1555 args = 0xb6359c31 "4773103106" acfptr = (struct ast_custom_function *) 0xa1fe6b8 __PRETTY_FUNCTION__ = "ast_func_read" #3 0x080d46d1 in pbx_substitute_variables_helper_full (c=0xb7a120e0, headp=0xb7a124e4, cp1=0xa319250 "VARIABEL=${RT_EXTEN_SETTING(4773103106|DN)}", cp2=0xb635ce11 "", count=8182) at pbx.c:1676 cp4 = 0x811a911 "U\211▒\203▒\b▒D$\0047▒\021\b▒\004$▒▒\027\b▒\225▒▒▒▒▒U\211▒S\203▒$▒D$\004(\b" tmp = 0xa319250 "VARIABEL=${RT_EXTEN_SETTING(4773103106|DN)}" whereweare = 0xa31927b "" length = 135775880 offset = 0 offset2 = 2147483647 isfunction = 1 workspace = 0xb6358c10 "" ltmp = 0x0 var = 0xb6359c20 "RT_EXTEN_SETTING" nextvar = 0xa319259 "${RT_EXTEN_SETTING(4773103106|DN)}" nextexp = 0x0 nextthing = 0xa319259 "${RT_EXTEN_SETTING(4773103106|DN)}" vars = 0xb6359c20 "RT_EXTEN_SETTING" vare = 0xa31927b "" pos = 9 brackets = 0 needsub = 0 len = 31 __PRETTY_FUNCTION__ = "pbx_substitute_variables_helper_full" #4 0x080d4bc5 in pbx_substitute_variables_helper (c=0xb7a120e0, cp1=0xa319250 "VARIABEL=${RT_EXTEN_SETTING(4773103106|DN)}", cp2=0xb635ce08 "VARIABEL=", count=8191) at pbx.c:1770 No locals. #5 0x080d4ccc in pbx_substitute_variables (passdata=0xb635ce08 "VARIABEL=", datalen=8192, c=0xb7a120e0, e=0xa319280) at pbx.c:1788 No locals. #6 0x080d4ec2 in pbx_extension_helper (c=0xb7a120e0, con=0x0, context=0xb7a12320 "bugfinder", exten=0xb7a12370 "s", priority=2, label=0x0, callerid=0xb7a0be38 "", action=E_SPAWN) at pbx.c:1841 e = (struct ast_exten *) 0xa319280 app = (struct ast_app *) 0xa1731b8 res = 170253460 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0xb7a12320 "bugfinder"} passdata = "VARIABEL=", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #7 0x080d6400 in ast_spawn_extension (c=0xb7a120e0, context=0xb7a12320 "bugfinder", exten=0xb7a12370 "s", priority=2, callerid=0xb7a0be38 "") at pbx.c:2332 No locals. #8 0x080d6846 in __ast_pbx_run (c=0xb7a120e0) at pbx.c:2421 dst_exten = "\030▒5▒▒▒\b\bq#▒▒\221▒%\nO\000\000\000\224▒%\n▒▒m\000▒▒▒▒;\000\000\000 \000\000\000\005\000\000\000▒ ▒▒\001\000\000\000▒\234\021\b\000\000\000\000\000\000\000\000A▒g\000U▒q\000\220▒5▒▒\223q\000(▒5▒▒\234\021\b\234▒q\000\021▒\021\b8▒5▒\001\000\000\000\234▒q\000\220▒5▒U▒\025\b▒▒\025\b(▒5▒\220▒q\000X▒5▒\023▒\021\b\234▒q\000(\b\000\000U▒\025\b\001\000\000\000H▒5▒\220▒5▒U▒\025\b▒▒\025\bX▒5▒\220▒q\000▒▒5▒K\031\r\b▒▒\027\bT▒\025\b\031\n\000\000▒\002\026\b"... pos = 0 digit = 0 found = 1 res = 0 autoloopflag = 0 error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #9 0x080d77fe in ast_pbx_run (c=0xb7a120e0) at pbx.c:2678 res = AST_PBX_SUCCESS #10 0x080dd62c in ast_pbx_outgoing_exten (type=0xa25d690 "Console", format=72, data=0xa25d790, timeout=30000, context=0xa25db90 "bugfinder", exten=0xa25da90 "s", priority=1, reason=0xb635f32c, sync=2, cid_num=0xa25dc94 "", cid_name=0xa25dd94 "", vars=0x0, account=0xa25de94 "", channel=0x0) at pbx.c:5033 chan = (struct ast_channel *) 0xb7a120e0 as = (struct async_stat *) 0x8147d75 res = 0 cdr_res = -1 oh = {context = 0xa25db90 "bugfinder", exten = 0xa25da90 "s", priority = 1, cid_num = 0xa25dc94 "", cid_name = 0xa25dd94 "", account = 0xa25de94 "", vars = 0x0, parent_channel = 0x0} attr = {__size = "\220▒5▒▒\223q\000\210▒5▒!l`\000\234▒q\000\021▒\021\b\230▒5▒\001\000\000\000\234▒q", __align = -1237976176} __PRETTY_FUNCTION__ = "ast_pbx_outgoing_exten" __FUNCTION__ = "ast_pbx_outgoing_exten" #11 0x005793af in attempt_thread (data=0xa25d578) at pbx_spool.c:353 o = (struct outgoing *) 0xa25d578 res = 7495668 reason = 4 __PRETTY_FUNCTION__ = "attempt_thread" #12 0x0811b4c5 in dummy_start (data=0xa2c3940) at utils.c:856 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {7495668, 0, -1237976176, -1237978168, -1660139162, 589826549}, __mask_was_saved = 0}}, __pad = {0xb635f480, 0x0, 0xa25d578, 0xa25cd48}} __cancel_routine = (void (*)(void *)) 0x806ac83 __cancel_arg = (void *) 0xb635fb90 not_first_call = 0 ret = (void *) 0x716b8c a = {start_routine = 0x5790eb , data = 0xa25d578, name = 0xa2515a8 "attempt_thread started at [ 381] pbx_spool.c launch_service()"} lock_info = (struct thr_lock_info *) 0xa2723a8 mutex_attr = {__size = "\001\000\000", __align = 1} #13 0x0071746b in start_thread () from /lib/libpthread.so.0 No symbol table info available. #14 0x0066edbe in clone () from /lib/libc.so.6 No symbol table info available.