#0 0xb7d8583b in raise () from /lib/tls/libc.so.6 (gdb) bt full #0 0xb7d8583b in raise () from /lib/tls/libc.so.6 No symbol table info available. #1 0xb7d86fa2 in abort () from /lib/tls/libc.so.6 No symbol table info available. #2 0xb7d7f2df in __assert_fail () from /lib/tls/libc.so.6 No symbol table info available. #3 0xb7f3c88c in pthread_mutex_lock () from /lib/tls/libpthread.so.0 No symbol table info available. #4 0xb7453000 in __ast_pthread_mutex_destroy (filename=0xb74536d3 '\220' , "\203�004��213\006\203�u�^]�\211��, lineno=2087, func=0xb7455b96 "p in %d ms\n", mutex_name=0xb7454aa8 "embers", t=0x81a007c) at lock.h:186 res = 2 canlog = -1220180132 #5 0xb7449a5e in wait_our_turn (qe=0x81a007c, ringing=135961220, reason=0x8202694) at app_queue.c:2075 stat = 135921788 res = 0 #6 0xb744b784 in try_calling (qe=0xb736bec0, options=0xb736c064 "", announceoverride=0xb736c066 "", url=0xb736c065 "", go_on=0xb736c03c) at app_queue.c:2440 cur = (struct member *) 0x0 outgoing = (struct localuser *) 0x0 tmp = (struct localuser *) 0x81f881c to = 8902 restofit = "\000\000\000\000\000\000\000\000$�6�\223\203\006\b �6�\001\000\000\000$�6�\006\000\000\000\000\000\000\000\f\000\000\000\000\000\000\000=\204\006\b\\\207E�\002\000\000\000\020(7�:\230D�\000\000\000\000�E��a\000\000q[E�" oldexten = "s", '\0' oldcontext = "macro-action_queue", '\0' queuename = "8", '\0' newnum = 0x0 monitorfilename = 0xd6d80
peer = (struct ast_channel *) 0x8202694 which = (struct ast_channel *) 0x8192504 lpeer = (struct localuser *) 0x81f881c member = (struct member *) 0x81a9a84 res = 0 bridge = -1 numbusies = 0 x = 2 announce = 0x0 digit = 0 '\0' callstart = 1171378671 now = 1171378670 bridge_config = {features_caller = {flags = 2}, features_callee = {flags = 2}, start_time = {tv_sec = 1171378671, tv_usec = 130230}, feature_timer = 0, timelimit = 0, play_warning = 0, warning_freq = 0, warning_sound = 0x0, end_sound = 0x0, start_sound = 0x0, firstpass = 0, flags = 3} nondataquality = 1 '\001' #7 0xb744f381 in queue_exec (chan=0x81774f4, data=0xb73704a0) at app_queue.c:3149 stat = QUEUE_NORMAL makeannouncement = 1 res = 0 ringing = 0 u = (struct localuser *) 0x819fef4 queuename = 0xb736c060 "8" info = "8\000tT\000\000\00030", '\0' , "call,all\000\000\000\000\am\v\b�\031\b�\0047�G\000\000\000\000\000\000" info_ptr = 0xb736c067 "30" options = 0xb736c062 "tT" url = 0xb736c065 "" announceoverride = 0xb736c066 "" user_priority = 0x0 prio = 0 queuetimeoutstr = 0xb736c067 "30" reason = QUEUE_UNKNOWN go_on = 0 qe = {parent = 0x81a007c, moh = "default", '\0' , announce = '\0' , context = "8", '\0' , digits = '\0' , pos = 1, prio = 0, last_pos_said = 0, last_periodic_announce_time = 1171378654, last_pos = 0, opos = 1, handled = 1, start = 1171378654, expire = 1171378684, chan = 0x81774f4, next = 0x0} #8 0x08090a37 in pbx_exec (c=0x81774f4, app=0x823afa4, data=0xb73704a0, newstack=1) at pbx.c:554 res = -1221122032 saved_c_appl = 0x81ebefc "Macro" saved_c_data = 0xb7376dd0 "action_queue|8|1" execute = (int (*)(struct ast_channel *, void *)) 0xb744e971 #9 0x080949aa in pbx_extension_helper (c=0x81774f4, con=0x0, context=0x81776e8 "macro-action_queue", exten=0x81777dc "s", priority=7, label=0x0, callerid=0x8177b54 "82515166", action=1) at pbx.c:1697 e = (struct ast_exten *) 0x8218d74 app = (struct ast_app *) 0x823afa4 sw = (struct ast_switch *) 0x0 data = 0x0 foundcontext = 0x81776e8 "macro-action_queue" newstack = 1 res = -1221122031 status = 5 incstack = {0x0 , 0x32
, 0xb737263c "���", 0xb7daf2a5 "1�211�(���\017�\215���\215Q�203�\017\207�d", 0xb7372658 "\214\v\023\b\233\004\023\b�\024\b\233", 0x31
, 0xb7372658 "\214\v\023\b\233\004\023\b�\024\b\233", 0x0, 0x0, 0xffffffd8
, 0xb737fbb0 "����x\031\b���\001", 0x0, 0xffffffe0
, 0x0, 0x0, 0x0, 0xffffffe0
, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffe4
, 0x0, 0xb73725d8 "�W�\020'7��7�", 0x1
, 0x1
, 0x100
, 0xb73720f0 "", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1
, 0x0, 0x0, 0xb7e8043d ".", 0x1
, 0xa
, 0xb7dcb434 "\201�f;\f", 0x0, 0x0, 0xb7e8ef40 "H\036\023", 0xb73725f0 "D���7��7��\024\b\b&7�`���+7��234\r\b�\024\b\237\t\023\b\210", 0xb73725cc "�7�\020`ܷ�7��W�\020'7��7�", 0xb7dcc980 "\211~\020\213E\024\211~\f\211~\004\205�$\213U\024\213}�211V\024\211~\030\211V\b1�211\216\230", 0xb73725f0 "D���7��7��\024\b\b&7�`���+7��234\r\b�\024\b\237\t\023\b\210", 0xb7372ae0 "ARG2", 0x32372b2f
, 0x0, 0xb7372b2f "", 0xb7e8ef40 "H\036\023", 0xb7577ef3 "cro '%s' lacks 's' extension, priority 1\n", 0xb737270c "\a", 0xb73726dc "�\027\b\a", 0xb7dc6010 "\213\215\f���\211�\2150���t\t\213�(����006", 0xb73725f0 "D���7��7��\024\b\b&7�`���+7��234\r\b�\024\b\237\t\023\b\210", 0xb7577ef3 "cro '%s' lacks 's' extension, priority 1\n", 0xb7372710 "T{\027\b`y\027\b\024\036!\b\231VW��7�\201}W�action_queue", 0xb7372ae0 "ARG2", 0x0, 0xb7372690 "�\022\b�\022\b\024\036!\b\210<\r\b\005", 0xb7f3c7e4 "\201�230c", 0xb7dcf844 "\201��v", 0xb7372ae0 "ARG2", 0xb7372ae0 "ARG2", 0x814abc0 "", 0xb7372608 "�+7��234\r\b�\024\b\237\t\023\b\210", 0xb7f3ca60 "]�215\001�", 0xb7372ba8 "�2247�7\n\t\b�\027\b�7��7�", 0x80d9ccd "\211D$0\203|$0", 0x814abc0 "", 0x813099f "logger.c", 0x88
, 0xb7e8f900 "", 0xb7e8ef40 "H\036\023", 0xb7e8f900 "", 0x1
, 0xb7372648 "\002", 0xb7dcec43 "\205�211�\031e\203=\f", 0xb7e8f900 "", 0x7e
, 0xfffffff5
, 0x0, 0xb
, 0x2
, 0x80d9efa "\203|$(", 0x8130493 "astmm.c", 0x69
, 0x8130b8c "__ast_alloc_region", 0x813049b "®lock", 0x814abc0 "", 0x9b
, 0x81304a4 "__ast_free_region", 0xf0
, 0x2
, 0xb7372810 "2", 0xb7372ba8 "�2247�7\n\t\b�\027\b�7��7�", 0x80d8dfb "\213D$\030\203�034�203�034\213D$,\211D$\020\213D$(\211D$\f\213D$$\211D$\b�$\004\002", 0x8211e14 "\004B\037\b(\036!\bMACRO_DEPTH", 0x0, 0x16
, 0x29
, 0x812f1d5 "ast_var_assign", 0x812f1ca "chanvars.c", 0x8211e14 "\004B\037\b(\036!\bMACRO_DEPTH", 0x80d3c88 "\213D$ \211D$\034\213D$\034\203�[�203�034\203|$ "} passdata = "8|tT|||30", '\0' stacklen = 0 tmp = "Queue\000f\000\000\000\000\000\000\000\000\000MYSQL\000le", '\0' tmp2 = "SIP/172.31.2.58-0818f7ac\0001.2.58-0818f7ac", '\0' , "@����� \200�\n7�*!ڷ\000\000\000\000\000\000\000" tmp3 = "8|tT|||30\000ds/custom/da/queue-enter1\000\0003:59\000FROM_MINUTWARNING: Freeing unused memory at (nil), in ast_yyfree of ast_expr2f.c, line 2882\nup = '1'", '\0' , "�ݷ\000\000\000\000������\234��|\227W�\001\000\000\000@\2217��+!\b�\t\b����+!\... atmp = "STACK-macro-action_queue-s-7\000-2\000etopen-s-19\000\000\000\000\000����", '\0' atmp2 = "Queue(\"SIP/172.31.2.58-0818f7ac\", \"8|tT|||30\") in new stack\000/queue-enter1\") in new stack\000\000O_HOUR TO_MINUTE FROM_DAY TO_DAY\") in new stack\000mectrl_intervals WHERE timegroup = '1'\") in new stack", '\0' ... #10 0x08096373 in ast_spawn_extension (c=0x81774f4, context=0x81776e8 "macro-action_queue", exten=0x81777dc "s", priority=7, callerid=0x8177b54 "82515166") at pbx.c:2230 No locals. #11 0xb7575fe9 in macro_exec (chan=0x81774f4, data=0xb7376dd0) at app_macro.c:227 tmp = 0xb7372728 "action_queue" cur = 0x0 rest = 0x0 macro = 0xb7372728 "action_queue" fullmacro = "macro-action_queue", '\0' , "call,all\000\000\000\000\am\v\b" varname = "ARG2", '\0' oldargs = {0x0, 0x820380c "other", 0x8206074 "queue", 0x0 } argc = 3 x = 0 res = 0 oldexten = "other", '\0' oldpriority = 1 pc = "1", '\0' depthc = "2\000\000\000\000\000\000\000\000\000\000" oldcontext = "macro-action_handler", '\0' offsets = 0x0 s = 0x0 inhangupc = 0x0 offset = 0 depth = 1 maxdepth = 7 setmacrocontext = 0 autoloopflag = 512 dead = 0 inhangup = 0 save_macro_exten = 0x8199ffc "local" save_macro_context = 0x82132f4 "getdial" save_macro_priority = 0x819b9bc "4" save_macro_offset = 0x0 u = (struct localuser *) 0x819af24 #12 0x08090a37 in pbx_exec (c=0x81774f4, app=0x81ebeec, data=0xb7376dd0, newstack=1) at pbx.c:554 res = -1221095104 saved_c_appl = 0x81ebefc "Macro" saved_c_data = 0xb737d700 "action_handler|other|queue|8|1" execute = (int (*)(struct ast_channel *, void *)) 0xb7575134 <__unregister_file_version+4> #13 0x080949aa in pbx_extension_helper (c=0x81774f4, con=0x0, context=0x81776e8 "macro-action_queue", exten=0x81777dc "s", priority=1, label=0x0, callerid=0x8177b54 "82515166", action=1) at pbx.c:1697 e = (struct ast_exten *) 0x82166b4 app = (struct ast_app *) 0x81ebeec sw = (struct ast_switch *) 0x0 data = 0x0 foundcontext = 0x81776e8 "macro-action_queue" newstack = 1 res = -1221095103 status = 5 incstack = {0x0 , 0x31
, 0xb7378f6c "���", 0xb7daf2a5 "1�211�(���\017�\215���\215Q�203�\017\207�d", 0xb7378f88 "\214\v\023\b\233\004\023\b�\024\b\233", 0x30
, 0xb7378f88 "\214\v\023\b\233\004\023\b�\024\b\233", 0x0, 0x0, 0xffffffd8
, 0xb737fbb0 "����x\031\b���\001", 0x0, 0xffffffe0
, 0x0 , 0xffffffe4
, 0x0, 0xb7378f08 "�W�@\2207�\020\2247�", 0x1
, 0x1
, 0x100
, 0xb7378a20 "", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb7e8043d ".", 0x1
, 0xa
, 0xb7dcb434 "\201�f;\f", 0x0, 0x0, 0xb7e8ef40 "H\036\023", 0xb7378f20 "D��\020\2247�\020\2247��\024\b8\2177�`���2247��234\r\b�\024\b\237\t\023\b\210", 0xb7378efc "\f\2207�\020`ܷ \2177��W�@\2207�\020\2247�", 0xb7dcc980 "\211~\020\213E\024\211~\f\211~\004\205�$\213U\024\213}�211V\024\211~\030\211V\b1�211\216\230", 0xb7378f20 "D��\020\2247�\020\2247��\024\b8\2177�`���2247��234\r\b�\024\b\237\t\023\b\210", 0xb7379410 "ARG4", 0x3437945f
, 0x0, 0xb737945f "", 0xb7e8ef40 "H\036\023", 0xb7577ef3 "cro '%s' lacks 's' extension, priority 1\n", 0xb737903c "\001", 0xb737900c "�\027\b\001", 0xb7dc6010 "\213\215\f���\211�\2150���t\t\213�(����006", 0xb7378f20 "D��\020\2247�\020\2247��\024\b8\2177�`���2247��234\r\b�\024\b\237\t\023\b\210", 0xb7577ef3 "cro '%s' lacks 's' extension, priority 1\n", 0xb7379040 "T{\027\b`y\027\b\024\036!\b\231VW�", 0xb7379410 "ARG4", 0x0, 0xb7378fc0 "�\022\b�\022\b\024\036!\b\210<\r\b\005", 0xb7f3c7e4 "\201�230c", 0xb7dcf844 "\201��v", 0xb7379410 "ARG4", 0xb7379410 "ARG4", 0x814abc0 "", 0xb7378f38 "�2247��234\r\b�\024\b\237\t\023\b\210", 0xb7f3ca60 "]�215\001�", 0xb73794d8 "L��7\n\t\b�\027\b", 0x80d9ccd "\211D$0\203|$0", 0x814abc0 "", 0x813099f "logger.c", 0x88
, 0xb7e8f900 "", 0xb7e8ef40 "H\036\023", 0xb7e8f900 "", 0x1
, 0xb7378f78 "\004", 0xb7dcec43 "\205�211�\031e\203=\f", 0xb7e8f900 "", 0x7e
, 0xfffffff5
, 0x0, 0xb
, 0x4
, 0x80d9efa "\203|$(", 0x8130493 "astmm.c", 0x69
, 0x8130b8c "__ast_alloc_region", 0x813049b "®lock", 0x814abc0 "", 0x9b
, 0x81304a4 "__ast_free_region", 0xf0
, 0x4
, 0xb7379140 "1", 0xb73794d8 "L��7\n\t\b�\027\b", 0x80d8dfb "\213D$\030\203�034�203�034\213D$,\211D$\020\213D$(\211D$\f\213D$$\211D$\b�$\004\002", 0x8211e14 "\004B\037\b(\036!\bMACRO_DEPTH", 0x0, 0x16
, 0x29
, 0x812f1d5 "ast_var_assign", 0x812f1ca "chanvars.c", 0x8211e14 "\004B\037\b(\036!\bMACRO_DEPTH", 0x80d3c88 "\213D$ \211D$\034\213D$\034\203�[�203�034\203|$ "} passdata = "action_queue|8|1", '\0' stacklen = 0 tmp = "Macro\000\000ime", '\0' tmp2 = "SIP/172.31.2.58-0818f7ac", '\0' , "@����� \200�s7�*!ڷ\000\000\000\000\000\000\000" tmp3 = "action_queue|8|1\000un|*|*?\200\230�\200�CTION DB_PARAM1 DB_WARNING: Freeing unused memory at (nil), in ast_yyfree of ast_expr2f.c, line 2882\nion = '88804980' and n.location_id=l.id", '\0' , "��, '\0' , "@;\024"... atmp = "STACK-macro-action_handler-other-1", '\0' , "����", '\0' atmp2 = "Macro(\"SIP/172.31.2.58-0818f7ac\", \"action_queue|8|1\") in new stack\000) in new stack\0001 DB_TIMECTRL_GID TO_LOCATION_ID TO_LOCATION_LIMIT\") in new stack\000ations l WHERE extension = '88804980' and n.location"... #14 0x08096373 in ast_spawn_extension (c=0x81774f4, context=0x81776e8 "macro-action_queue", exten=0x81777dc "s", priority=1, callerid=0x8177b54 "82515166") at pbx.c:2230 No locals. #15 0xb7575fe9 in macro_exec (chan=0x81774f4, data=0xb737d700) at app_macro.c:227 tmp = 0xb7379058 "action_handler" cur = 0x0 rest = 0x0 macro = 0xb7379058 "action_handler" fullmacro = "macro-action_handler", '\0' , "call,all\000\000\000\000\am\v\b" varname = "ARG4", '\0' oldargs = {0x0 } argc = 5 x = 0 res = 0 oldexten = "local", '\0' oldpriority = 4 pc = "4", '\0' depthc = "1\000\000\000\000\000\000\000\000\000\000" oldcontext = "getdial", '\0' offsets = 0x0 s = 0x0 inhangupc = 0x0 offset = 0 depth = 0 maxdepth = 7 setmacrocontext = 1 autoloopflag = 512 dead = 0 inhangup = 0 save_macro_exten = 0x0 save_macro_context = 0x0 save_macro_priority = 0x0 save_macro_offset = 0x0 u = (struct localuser *) 0x819a294 #16 0x08090a37 in pbx_exec (c=0x81774f4, app=0x81ebeec, data=0xb737d700, newstack=1) at pbx.c:554 res = -1221067268 saved_c_appl = 0x0 saved_c_data = 0x0 execute = (int (*)(struct ast_channel *, void *)) 0xb7575134 <__unregister_file_version+4> #17 0x080949aa in pbx_extension_helper (c=0x81774f4, con=0x0, context=0x81776e8 "macro-action_queue", exten=0x81777dc "s", priority=4, label=0x0, callerid=0x8177b54 "82515166", action=1) at pbx.c:1697 e = (struct ast_exten *) 0x822aa1c app = (struct ast_app *) 0x81ebeec sw = (struct ast_switch *) 0x0 data = 0x0 foundcontext = 0x81776e8 "macro-action_queue" newstack = 1 res = 0 status = 5 incstack = {0x82355a8 "ᆳ�U#\b", 0x8229590 "ᆳ�\225\"\b", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb7dcb434 "\201�f;\f", 0x0, 0x0, 0xb7e8ef40 "H\036\023", 0xb737f790 "\001\200�����7��7��7�\n��?���7�?��", 0xb737f76c "|��\020`ܷ\220��+\207\022\b����7�", 0xb7dcc980 "\211~\020\213E\024\211~\f\211~\004\205�$\213U\024\213}�211V\024\211~\030\211V\b1�211\216\230", 0xb737f790 "\001\200�����7��7��7�\n��?���7�?��", 0xb737f8f0 "\"Kristian H�h\" \005", 0xb737f93f "\b\004", 0x0, 0xb737f93f "\b\004", 0xb7e8ef40 "H\036\023", 0x812872b "\"%s\" <%s>", 0xb737f8ac "�\027\bT{\027\b\237\t\023\bX\004", 0xb737f87c "\230��\004�ڷ�7�P", 0xb7dc6010 "\213\215\f���\211�\2150���t\t\213�(����006", 0xb737f790 "\001\200�����7��7��7�\n��?���7�?��", 0x812872b "\"%s\" <%s>", 0xb737f8b4 "\237\t\023\bX\004", 0xb737f8f0 "\"Kristian H�h\" \005", 0x0, 0xb737f830 "", 0xb737f790 "\001\200�����7��7��7�\n��?���7�?��", 0xfbad8001
, 0xb737f8f0 "\"Kristian H�h\" \005", 0xb737f8f0 "\"Kristian H�h\" \005", 0xb737f8f0 "\"Kristian H�h\" \005", 0xb737f8f0 "\"Kristian H�h\" \005", 0xb737f90a "", 0xb737f93f "\b\004", 0xb737f8f0 "\"Kristian H�h\" \005", 0xb737f93f "\b\004", 0x0 , 0xffffffff
, 0x0 , 0xb7e87ac0 "", 0x0 , 0xb7e8ef40 "H\036\023", 0xffffffdc
, 0xb737f940 "\004", 0xb737f898 "L���\v\b\220|\031\bHy\027\b\024", 0xb7daa904 "\213]�211��220\220\220\220\220U\211�203�020\211]�213U\f\215M\020�~�\201�034F\016", 0xb737f8f0 "\"Kristian H�h\" \005", 0x50
, 0x812872b "\"%s\" <%s>", 0xb737f8ac "�\027\bT{\027\b\237\t\023\bX\004", 0x81774f4 "SIP/172.31.2.58-0818f7ac", 0xb737fb4c "", 0x80b72c0 "\213\204$�, 0x8197c90 "", 0x8177948 "", 0x14
, 0x8177bcc "T\232\027\b\b", 0x8177b54 "82515166", 0x813099f "logger.c", 0x458
, 0xb7e8f900 "", 0xb7e8ef40 "H\036\023", 0x3
, 0x81979c4 "\"A-k�" <82515166>", 0x1
, 0x81979c4 "\"A-k�" <82515166>", 0x8177b54 "82515166", 0x8177b54 "82515166", 0x1
, 0x1
, 0x812854d "", 0x8197b04 "SIP/172.31.2.58-0818f7ac", 0x1
, 0x69724b22
, 0x61697473
, 0xf848206e
, 0x20226867
} passdata = "action_handler|other|queue|8|1", '\0' stacklen = 0 tmp = "Macro\000f", '\0' tmp2 = "SIP/172.31.2.58-0818f7ac", '\0' tmp3 = "action_handler|other|queue|8|1\000o|1:call_limit|return|1\000check_to_location|1", '\0' atmp = "STACK-getdial-local-4\000-2\000e-1\000imit_to-3", '\0' atmp2 = "Macro(\"SIP/172.31.2.58-0818f7ac\", \"action_handler|other|queue|8|1\") in new stack\000|return|1\") in new stack\000on|1\") in new stack", '\0' #18 0x08096373 in ast_spawn_extension (c=0x81774f4, context=0x81776e8 "macro-action_queue", exten=0x81777dc "s", priority=4, callerid=0x8177b54 "82515166") at pbx.c:2230 No locals. #19 0x080968f5 in __ast_pbx_run (c=0x81774f4) at pbx.c:2296 firstpass = 0 digit = 0 exten = '\0' pos = 0 waittime = 0 res = 0 autoloopflag = 0 #20 0x08097870 in pbx_thread (data=0x81774f4) at pbx.c:2517 c = (struct ast_channel *) 0x81774f4 #21 0xb7f3ab63 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #22 0xb7e3518a in clone () from /lib/tls/libc.so.6 No symbol table info available.