Program terminated with signal 11, Segmentation fault. #0 0x00000000055c3888 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0 (gdb) bt full #0 0x00000000055c3888 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0 No symbol table info available. #1 0x00000000055bf8b5 in _L_mutex_lock_107 () from /lib64/libpthread.so.0 No symbol table info available. #2 0x00000000055bf343 in pthread_mutex_lock () from /lib64/libpthread.so.0 No symbol table info available. #3 0x0000000009602a39 in __ast_pthread_mutex_lock (filename=0x9604cc3 "res_odbc.c", lineno=451, func=0x9605450 "ast_odbc_request_obj", mutex_name=0x9605465 "&(&class->odbc_obj)->lock", t=0x406ee6c) at /usr/src/asterisk/include/asterisk/lock.h:364 res = 0 canlog = 0 __PRETTY_FUNCTION__ = "__ast_pthread_mutex_lock" #4 0x00000000096032ca in ast_odbc_request_obj (name=0xa7e39aa "global", check=0) at res_odbc.c:451 obj = (struct odbc_obj *) 0x0 class = (struct odbc_class *) 0x406ec04 __PRETTY_FUNCTION__ = "ast_odbc_request_obj" #5 0x000000000aa00911 in acf_odbc_read (chan=0x21f89aec, cmd=0x256c84b0 "MINIXEL_ROUTING", s=0x256c84c0 "S220-1199560140.212", buf=0x256c85c0 "", len=4096) at func_odbc.c:311 obj = (struct odbc_obj *) 0x0 query = (struct acf_odbc_query *) 0xa7e390c sql = "Routing 'S220-1199560140.212','66.28.190.220','19544447408','5058406824',''", '\0' , "ÜéS!\000\000\000\000@}l%", '\0' , "P}l%", '\0' , "@\tm%", '\0' , "p}l%", '\0' , "@\tm%\000\000\000\000\000\020m%\000\000\000\000\000\020\000\000\000\000\000\000eeC\000\000\000\000\000@\tm%\000\000\000\000 ýy\000\000\000\000\000ð}l"... varname = "ARG4\000\000\000\000\000\000\000\000\000\000" colnames = '\0' rowcount = "-1\000\000\000\000\000\000\000\000\000" res = 0 x = 4 y = 0 buflen = 0 escapecommas = 1 rowlimit = 1 dsn = 0 bogus_chan = 0 args = {argc = 4, argv = 0x256c70d8, field = {0x256c84c0 "S220-1199560140.212", 0x256c84d4 "66.28.190.220", 0x256c84e2 "19544447408", 0x256c84ee "5058406824", 0x0 }} stmt = (SQLHSTMT) 0x0 colcount = 0 indicator = 0 collength = 0 resultset = (struct odbc_datastore *) 0x0 row = (struct odbc_datastore_row *) 0x0 __PRETTY_FUNCTION__ = "acf_odbc_read" #6 0x00000000004b15ef in ast_func_read (chan=0x21f89aec, function=0x256c95d0 "MINIXEL_ROUTING(S220-1199560140.212,66.28.190.220,19544447408,5058406824,)", workspace=0x256c85c0 "", len=4096) at pbx.c:2340 res = 0 u = (struct ast_module_user *) 0x225c969c copy = 0x256c84b0 "MINIXEL_ROUTING" args = 0x256c84c0 "S220-1199560140.212" acfptr = (struct ast_custom_function *) 0xa7e4b04 __PRETTY_FUNCTION__ = "ast_func_read" ---Type to continue, or q to quit--- #7 0x00000000004b1bb0 in pbx_substitute_variables_helper_full (c=0x21f89aec, headp=0x21f8a074, cp1=0x4077c94 "ARRAY(ANI,X,Nohunt,Delay)=${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}", cp2=0x256cd92a "", count=8165) at pbx.c:2474 cp4 = 0x0 tmp = 0x4077c94 "ARRAY(ANI,X,Nohunt,Delay)=${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}" whereweare = 0x4077cef "" length = 0 offset = 0 offset2 = 2147483647 isfunction = 1 workspace = 0x256c85c0 "" ltmp = 0x256c95d0 "MINIXEL_ROUTING(S220-1199560140.212,66.28.190.220,19544447408,5058406824,)" var = 0x256ca5e0 "MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})" nextvar = 0x4077cae "${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}" nextexp = 0x0 nextthing = 0x4077cae "${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}" vars = 0x256c95d0 "MINIXEL_ROUTING(S220-1199560140.212,66.28.190.220,19544447408,5058406824,)" vare = 0x4077cef "" pos = 26 brackets = 0 needsub = 5 len = 62 __PRETTY_FUNCTION__ = "pbx_substitute_variables_helper_full" #8 0x00000000004b2180 in pbx_substitute_variables_helper (c=0x21f89aec, cp1=0x4077c94 "ARRAY(ANI,X,Nohunt,Delay)=${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}", cp2=0x256cd910 "ARRAY(ANI,X,Nohunt,Delay)=", count=8191) at pbx.c:2566 No locals. #9 0x00000000004b225a in pbx_substitute_variables (passdata=0x256cd910 "ARRAY(ANI,X,Nohunt,Delay)=", datalen=8192, c=0x21f89aec, e=0x4064944) at pbx.c:2588 tmp = 0x4077cae "${MINIXEL_ROUTING(${UNIQUEID},${SIPIP},${EXTEN},${anix},${cnum})}" #10 0x00000000004b24de in pbx_extension_helper (c=0x21f89aec, con=0x0, context=0x21f89e8c "default", exten=0x21f89edc "19544447408", priority=12, label=0x0, callerid=0x2223569c "5058406824", action=E_SPAWN, found=0x256cffb4, combined_find_spawn=1) at pbx.c:2650 e = (struct ast_exten *) 0x4064944 app = (struct ast_app *) 0xa7f528c res = 8 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x21f89e8c "default"} passdata = "ARRAY(ANI,X,Nohunt,Delay)=\000127.0.0.1:5061>;tag=1617-Now=2008-01-05 14:09:00", '\0' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #11 0x00000000004b43b2 in ast_spawn_extension (c=0x21f89aec, context=0x21f89e8c "default", exten=0x21f89edc "19544447408", priority=12, callerid=0x2223569c "5058406824", found=0x256cffb4, combined_find_spawn=1) at pbx.c:3161 No locals. #12 0x00000000004b4bd1 in __ast_pbx_run (c=0x21f89aec) at pbx.c:3260 dst_exten = "Ð\225T\000\000\000\000\000\000\000\000\000y\000\000\000Ó\222T\000\000\000\000\000Ü:ö!", '\0' , "°þl%\000\000\000\000ÙkC\000\000\000\000\000\217\035EøªXÏè¤\000\000\000\000\000\000\000 þl%\000\000\000\000\000DW\000\000\000\000\000@\tm%º\000\000\000\030DW\000\000\000\000\000\000\020\000\000\001", '\0' , "Ðþl%", '\0' , "@\tm%\000\000\000\000\000\020m%\000\000\000\000\000\020\000\000\000\000\000\000eeC\000\000\000\000\000@\tm%\000\000\000\000 ýy\000\000\000\000\000Pÿl%\000\000\000\000ÓhC\000\000\000\000\000H\a", '\0' ... pos = 0 digit = 0 found = 1 res = 0 autoloopflag = 0 ---Type to continue, or q to quit--- error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #13 0x00000000004b5e9f in pbx_thread (data=0x21f89aec) at pbx.c:3518 c = (struct ast_channel *) 0x21f89aec #14 0x00000000005021dd in dummy_start (data=0x21c31284) at utils.c:857 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, 627900656, 0, 627902784, 627904512, 4096, 627900448, 5251263}, __mask_was_saved = 0}}, __pad = { 0x256d0190, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x42c6f4 __cancel_arg = (void *) 0x256d0940 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0x4b5e82 , data = 0x21f89aec, name = 0xa753c54 "pbx_thread", ' ' , "started at [ 3539] pbx.c ast_pbx_start()"} lock_info = (struct thr_lock_info *) 0x21f63394 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #15 0x00000000055bd2f7 in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #16 0x0000000007de785d in clone () from /lib64/libc.so.6 No symbol table info available.