[?1034hUsing host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/usr/sbin/asterisk -f -U asterisk -G asterisk -vvvdg'. Program terminated with signal 11, Segmentation fault. #0 __strcasecmp (s1=0x0, s2=0x40d87f13 "22901") at strcasecmp.c:65 65 while ((result = TOLOWER (*p1) - TOLOWER (*p2++)) == 0) -------------------------------------------------------------------------------- BT #0 __strcasecmp (s1=0x0, s2=0x40d87f13 "22901") at strcasecmp.c:65 #1 0x00002aaabc83058b in queue_cmp_cb (obj=0xa27d90, arg=0x40d87c40, flags=8) at app_queue.c:600 #2 0x0000000000442601 in __ao2_callback (c=0x9c38e0, flags=OBJ_POINTER, cb_fn=0x2aaabc830553 , arg=0x40d87c40, tag=0x0, file=0x0, line=0, funcname=0x0) at astobj2.c:636 #3 0x0000000000442960 in _ao2_callback (c=0x9c38e0, flags=OBJ_POINTER, cb_fn=0x2aaabc830553 , arg=0x40d87c40) at astobj2.c:712 #4 0x00000000004429ee in _ao2_find (c=0x9c38e0, arg=0x40d87c40, flags=OBJ_POINTER) at astobj2.c:725 #5 0x00002aaabc8372cb in load_realtime_queue (queuename=0x40d87f13 "22901") at app_queue.c:1602 #6 0x00002aaabc846b54 in queue_function_qac_dep (chan=0xa27808, cmd=0x40d87f00 "QUEUE_MEMBER_COUNT", data=0x40d87f13 "22901", buf=0x40d88000 "", len=4096) at app_queue.c:5213 #7 0x00000000004df538 in ast_func_read (chan=0xa27808, function=0x40d89010 "QUEUE_MEMBER_COUNT(22901)", workspace=0x40d88000 "", len=4096) at pbx.c:2868 #8 0x00000000004dfaf9 in pbx_substitute_variables_helper_full (c=0xa27808, headp=0xa27b70, cp1=0x40d8a1e0 "agent_count_1=${QUEUE_MEMBER_COUNT(22901)}", cp2=0x40d8a2de "", count=497) at pbx.c:3002 #9 0x00000000004e00e5 in pbx_substitute_variables_helper (c=0xa27808, cp1=0x40d8a1e0 "agent_count_1=${QUEUE_MEMBER_COUNT(22901)}", cp2=0x40d8a2d0 "agent_count_1=", count=511) at pbx.c:3094 #10 0x00002aaab0203b03 in realtime_exec (chan=0xa27808, context=0xa27d28 "db_dnis_routing", exten=0xa27d78 "2943", priority=15, callerid=0xa44858 "4933085209", data=0x2aaaac1afa09 "db_dnis_routing") at pbx_realtime.c:217 #11 0x00000000004e07ad in pbx_extension_helper (c=0xa27808, con=0x0, context=0xa27d28 "db_dnis_routing", exten=0xa27d78 "2943", priority=15, label=0x0, callerid=0xa44858 "4933085209", action=E_SPAWN, found=0x40d8ef54, combined_find_spawn=1) at pbx.c:3214 #12 0x00000000004e1cf2 in ast_spawn_extension (c=0xa27808, context=0xa27d28 "db_dnis_routing", exten=0xa27d78 "2943", priority=15, callerid=0xa44858 "4933085209", found=0x40d8ef54, combined_find_spawn=1) at pbx.c:3656 #13 0x00000000004e247b in __ast_pbx_run (c=0xa27808, args=0x0) at pbx.c:3745 #14 0x00000000004e3aac in pbx_thread (data=0xa27808) at pbx.c:4032 #15 0x0000000000541b13 in dummy_start (data=0xa284f8) at utils.c:968 #16 0x0000003a42a06407 in start_thread () from /lib64/libpthread-2.7.so #17 0x0000003a41ed4b0d in clone () from /lib64/libc-2.7.so -------------------------------------------------------------------------------- BT FULL #0 __strcasecmp (s1=0x0, s2=0x40d87f13 "22901") at strcasecmp.c:65 loc = (__locale_t) 0x3a42151560 p1 = (const unsigned char *) 0x0 p2 = (const unsigned char *) 0x40d87f13 "22901" result = 0 #1 0x00002aaabc83058b in queue_cmp_cb (obj=0xa27d90, arg=0x40d87c40, flags=8) at app_queue.c:600 q = (struct call_queue *) 0xa27d90 q2 = (struct call_queue *) 0x40d87c40 #2 0x0000000000442601 in __ao2_callback (c=0x9c38e0, flags=OBJ_POINTER, cb_fn=0x2aaabc830553 , arg=0x40d87c40, tag=0x0, file=0x0, line=0, funcname=0x0) at astobj2.c:636 match = 58 __list_head = (struct bucket *) 0x9c3c00 __list_next = (struct bucket_list *) 0x0 __list_prev = (struct bucket_list *) 0x0 __new_prev = (struct bucket_list *) 0xa23708 cur = (struct bucket_list *) 0xa23708 i = 48 start = 48 last = 49 ret = (void *) 0x0 __PRETTY_FUNCTION__ = "__ao2_callback" #3 0x0000000000442960 in _ao2_callback (c=0x9c38e0, flags=OBJ_POINTER, cb_fn=0x2aaabc830553 , arg=0x40d87c40) at astobj2.c:712 No locals. #4 0x00000000004429ee in _ao2_find (c=0x9c38e0, arg=0x40d87c40, flags=OBJ_POINTER) at astobj2.c:725 No locals. #5 0x00002aaabc8372cb in load_realtime_queue (queuename=0x40d87f13 "22901") at app_queue.c:1602 queue_vars = (struct ast_variable *) 0x4bda8a member_config = (struct ast_config *) 0x0 q = (struct call_queue *) 0x0 tmpq = { __field_mgr_pool = 0x0, name = 0x40d87f13 "22901", moh = 0x0, announce = 0x0, context = 0x0, membermacro = 0x0, membergosub = 0x0, defaultrule = 0x0, sound_next = 0x0, sound_thereare = 0x0, sound_calls = 0x0, queue_quantity1 = 0x0, queue_quantity2 = 0x0, sound_holdtime = 0x0, sound_minutes = 0x0, sound_minute = 0x0, sound_seconds = 0x0, sound_thanks = 0x0, sound_callerannounce = 0x0, sound_reporthold = 0x0, __field_mgr = { size = 0, used = 0, last_alloc = 0x0, owner_file = 0x0, owner_func = 0x0, owner_line = 0 }, sound_periodicannounce = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, dead = 0, joinempty = 0, eventwhencalled = 0, leavewhenempty = 0, ringinuse = 0, setinterfacevar = 0, setqueuevar = 0, setqueueentryvar = 0, reportholdtime = 0, wrapped = 0, timeoutrestart = 0, announceholdtime = 0, announceposition = 0, strategy = 0, maskmemberstatus = 0, realtime = 0, found = 0, announcepositionlimit = 0, announcefrequency = 0, minannouncefrequency = 0, periodicannouncefrequency = 0, numperiodicannounce = 0, randomperiodicannounce = 0, roundingseconds = 0, holdtime = 0, callscompleted = 0, callsabandoned = 0, servicelevel = 0, callscompletedinsl = 0, monfmt = "\000\000\000\000\000\000\000", montype = 0, count = 0, maxlen = 0, wrapuptime = 0, retry = 0, timeout = 0, weight = 0, autopause = 0, timeoutpriority = 0, rrpos = 0, memberdelay = 0, autofill = 0, members = 0x0, membercount = 0, head = 0x0, list = { next = 0x0 }, rules = { first = 0x0, last = 0x0 } } __PRETTY_FUNCTION__ = "load_realtime_queue" #6 0x00002aaabc846b54 in queue_function_qac_dep (chan=0xa27808, cmd=0x40d87f00 "QUEUE_MEMBER_COUNT", data=0x40d87f13 "22901", buf=0x40d88000 "", len=4096) at app_queue.c:5213 count = 0 m = (struct member *) 0x89a428 q = (struct call_queue *) 0x40d87f13 mem_iter = { c = 0x1007e4510, flags = 0, bucket = 0, c_version = 1087930096, obj = 0x4be189, version = 1087930096 } depflag = 0 __PRETTY_FUNCTION__ = "queue_function_qac_dep" #7 0x00000000004df538 in ast_func_read (chan=0xa27808, function=0x40d89010 "QUEUE_MEMBER_COUNT(22901)", workspace=0x40d88000 "", len=4096) at pbx.c:2868 res = 0 u = (struct ast_module_user *) 0x2aaaad9c3968 copy = 0x40d87f00 "QUEUE_MEMBER_COUNT" args = 0x40d87f13 "22901" acfptr = (struct ast_custom_function *) 0x2aaabca55ce0 __PRETTY_FUNCTION__ = "ast_func_read" #8 0x00000000004dfaf9 in pbx_substitute_variables_helper_full (c=0xa27808, headp=0xa27b70, cp1=0x40d8a1e0 "agent_count_1=${QUEUE_MEMBER_COUNT(22901)}", cp2=0x40d8a2de "", count=497) at pbx.c:3002 cp4 = 0xa192e8 "PùØ@" tmp = 0x40d8a1e0 "agent_count_1=${QUEUE_MEMBER_COUNT(22901)}" whereweare = 0x40d8a20a "" length = 0 offset = 0 offset2 = 2147483647 isfunction = 1 workspace = 0x40d88000 "" ltmp = 0x0 var = 0x40d89010 "QUEUE_MEMBER_COUNT(22901)" nextvar = 0x40d8a1ee "${QUEUE_MEMBER_COUNT(22901)}" nextexp = 0x0 nextthing = 0x40d8a1ee "${QUEUE_MEMBER_COUNT(22901)}" vars = 0x40d89010 "QUEUE_MEMBER_COUNT(22901)" vare = 0x40d8a20a "" pos = 14 brackets = 0 needsub = 0 len = 25 __PRETTY_FUNCTION__ = "pbx_substitute_variables_helper_full" __func__ = "pbx_substitute_variables_helper_full" #9 0x00000000004e00e5 in pbx_substitute_variables_helper (c=0xa27808, cp1=0x40d8a1e0 "agent_count_1=${QUEUE_MEMBER_COUNT(22901)}", cp2=0x40d8a2d0 "agent_count_1=", count=511) at pbx.c:3094 No locals. #10 0x00002aaab0203b03 in realtime_exec (chan=0xa27808, context=0xa27d28 "db_dnis_routing", exten=0xa27d78 "2943", priority=15, callerid=0xa44858 "4933085209", data=0x2aaaac1afa09 "db_dnis_routing") at pbx_realtime.c:217 appdata = "agent_count_1=\000g,s,1\000,1\000\0004.2/source_ext_id)=70\0002943\000\000\000\000\000P£Ø@\000\000\000\000ÐÇØ@\000\000\000\000PùØ@\000\000\000\000\000ÀÁ@\000\000\000\000\003\022T\000\000\000\000\000\000ÀÁ@\000\000\000\000\020\004~\000\000\000\000\000è\222¡\000\000\000\000\000\020\004~\000\000\000\000\000à£Ø@\000\000\000\000\225NL\000\000\000\000\000ð£Ø@\001\000\000\000í\001\000\000\000\000\000\000 7\234­ª*\000\000\t\000\000\000\000\000\000\000\024úX\000\000\000\000\000\024úX\000\000\000\000\000\020\004~\000\000\000\000\000"... tmp1 = "\000\000\000\000\000\000\000\000S÷S", '\0' , "è\222¡", '\0' , "\220¦Ø@", '\0' , "PùØ@\000\000\000\000\000ÀÁ@\000\000\000\000\003\022T\000\000\000\000" tmp2 = '\0' , "{¥Ø@", '\0' , "\017\000\000\000\000\000\000" tmp3 = "QUEUE_PRIO=0\000ing,s,1\000,1\000\0004.2/source_ext_id)=70\0002943\000\001", '\0' , "\0027\000\0008%¢\000\000\000\000\000(8\234­ª*\000\000\bx¢\000,\000\000\000P\000\000\000\000\000\000\000ð£Ø@\000\000\000\000P¦Ø@\000\000\000\000*]L\000\000\000\000\0000¦Ø@\000\000\000\000½\\L\000\000\000\000\000\021ùY\000\000\000\000\000\000ùY\000\000\000\000\0008006k \000\000\224]Y\000\000\000\000\000 \000\000\0000\000\000\000`¦Ø@\000\000\000\000 ¥Ø@\000\000\000\000\220ÈØ@\000"... a = (struct ast_app *) 0x83ed98 tmp = 0x40d8a1e0 "agent_count_1=${QUEUE_MEMBER_COUNT(22901)}" app = 0x40d8a220 "Set" v = (struct ast_variable *) 0x0 res = -1 var = (struct ast_variable *) 0x2aaaad9b6df8 __PRETTY_FUNCTION__ = "realtime_exec" #11 0x00000000004e07ad in pbx_extension_helper (c=0xa27808, con=0x0, context=0xa27d28 "db_dnis_routing", exten=0xa27d78 "2943", priority=15, label=0x0, callerid=0xa44858 "4933085209", action=E_SPAWN, found=0x40d8ef54, combined_find_spawn=1) at pbx.c:3214 e = (struct ast_exten *) 0x0 app = (struct ast_app *) 0x2aaaac007768 res = 8 q = { incstack = {0x0 }, stacklen = 0, status = 2, swo = 0x2aaab0404980, data = 0x2aaaac1afa09 "db_dnis_routing", foundcontext = 0xa27d28 "db_dnis_routing" } passdata = "db_dnis_routing,8006772943,1\000", '-' , " dumpvars ", '-' , "\000 target_ext_id= ### target_wg_id= ### target_dpt_id=\000## source_dpt_id=\000ate +%Y-%m-%d`.log)&", '\0' , "@ÜØ@", '\0' , "0ÜØ@\000\000\000\000ê\216Z\000\000\000\000\000ê\216Z", '\0' ... matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #12 0x00000000004e1cf2 in ast_spawn_extension (c=0xa27808, context=0xa27d28 "db_dnis_routing", exten=0xa27d78 "2943", priority=15, callerid=0xa44858 "4933085209", found=0x40d8ef54, combined_find_spawn=1) at pbx.c:3656 No locals. #13 0x00000000004e247b in __ast_pbx_run (c=0xa27808, args=0x0) at pbx.c:3745 digit = 0 invalid = 0 timeout = 0 dst_exten = " îØ@\000\000\000\000KúC\000\000\000\000\000xïØ@\000\000\000\000\217\035EøªXÏèè\222¡", '\0' , "°ªª\000\000\000\000 ÄZ\000\000\000\000\000\t\000\000\000³\000\000\000¸ÄZ\000\000\000\000\000\000\000\000\000\001\000\000\000H\016\000\000\000\000\000\000`\222¡\000\000\000\000\000è\222¡\000\000\000\000\0000¡¡\000\000\000\000\000éóC", '\0' , "`îØ@", '\0' , "PùØ@\000\000\000\000\000ÀÁ@\000\000\000\000éóC", '\0' , " |}\000\000\000\000\000ðîØ@\000\000\000\000)÷C\000\000\000\000\000PùØ@"... pos = 0 found = 1 res = 0 autoloopflag = 0 error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #14 0x00000000004e3aac in pbx_thread (data=0xa27808) at pbx.c:4032 c = (struct ast_channel *) 0xa27808 #15 0x0000000000541b13 in dummy_start (data=0xa284f8) at utils.c:968 __cancel_buf = { __cancel_jmp_buf = {{ __cancel_jmp_buf = {0, 7361042219260537514, 0, 1087961424, 1086439424, 4096, 7361042219287800490, 7360902676533963434}, __mask_was_saved = 0 }}, __pad = {0x40d8f140, 0x0, 0x2aaaad9c3b58, 0x3a41e05a10} } __cancel_routine = (void (*)(void *)) 0x434242 __cancel_arg = (void *) 0x40d8f950 not_first_call = 0 ret = (void *) 0x3a4214d890 a = { start_routine = 0x4e3a8a , data = 0xa27808, name = 0xa1b338 "pbx_thread", ' ' , "started at [ 4053] pbx.c ast_pbx_start()" } lock_info = (struct thr_lock_info *) 0xa192e8 mutex_attr = { __size = "\001\000\000", __align = 1 } __PRETTY_FUNCTION__ = "dummy_start" #16 0x0000003a42a06407 in start_thread () from /lib64/libpthread-2.7.so No locals. #17 0x0000003a41ed4b0d in clone () from /lib64/libc-2.7.so fstab_state = { fs_fp = 0x0, fs_buffer = 0x0, fs_mntres = { mnt_fsname = 0x0, mnt_dir = 0x0, mnt_type = 0x0, mnt_opts = 0x0, mnt_freq = 0, mnt_passno = 0 }, fs_ret = { fs_spec = 0x0, fs_file = 0x0, fs_vfstype = 0x0, fs_mntops = 0x0, fs_type = 0x0, fs_freq = 0, fs_passno = 0 } } __elf_set___libc_subfreeres_element_fstab_free__ = (const void *) 0x3a41f0beb0