(gdb) bt full #0 0xb7dff33b in strlen () from /lib/tls/libc.so.6 No symbol table info available. #1 0x080bfd3b in ast_get_enum (chan=0x817cae0, number=0x39393931
, dst=0x39393931
, dstlen=80, tech=0x39393931
, techlen=80, suffix=0x0, options=0x0) at enum.c:389 context = {dst = 0x8193318 "\f\aù·\021", dstlen = 0, tech = 0x10
, techlen = -1208588316, txt = 0xb7eb8e80 "\210\035\023", txtlen = -1209296832, naptrinput = 0x1
, position = 0, options = -1223705960, naptr_rrs = 0xb7f66a60, naptr_rrs_count = 135869216} tmp = '\0' , "D\230ß·", '\0' naptrinput = '\0' pos = 960051505 newpos = 0 ret = 0 s = (struct enum_search *) 0x0 version = 0 p1 = 0x50
p2 = 0x1
k = 0 i = 0 z = 80 #2 0xb745c37f in enumlookup_exec (chan=0x817cae0, data=0xb70fbc50) at app_enumlookup.c:112 res = 960051505 priority_jump = 0 tech = "\000\000\000\000p¼\017·\200\201\030\b\033\000\000\000%\000\000\000(\000\000\000\000\000\000\000X¬\017·36;40\000\017·Oy\030\bX\234\017·\000\000\000\000\000\000\000\200\000\000\000\000\000 \000\000Ì\000\000\000h¯\026\bàÊ\027\bHW\b\b" dest = '\0' tmp = '\0' c = 0x0 t = 0x39393931
d = 0x39393931
o = 0x39393931
dep_warning = 1 u = (struct localuser *) 0x8193320 #3 0x0808e2f5 in pbx_extension_helper (c=0x817cae0, con=0x39393931, context=0x817cc30 "macro-mydial", exten=0x817cd24 "s", priority=204, label=0x0, callerid=0xb7106740 "mydial|19999999999", action=135861912) at pbx.c:565 e = (struct ast_exten *) 0xb745c1d0 sw = (struct ast_switch *) 0x0 data = 0x0 foundcontext = 0x817cc30 "macro-mydial" newstack = 1 res = 135861912 status = 5 incstack = {0x0 , 0xb7df5434 "\201ÃL:\f", 0x0, 0x0, 0xb7eb8e80 "\210\035\023", 0xb7101fd0 "\001\200­û°$\020·°$\020·°$\020·°$\020·´$\020·ÿ$\020·°$\020·ÿ$\020·", 0xb7101fac "¼ \020·\020", 0xb7df6980 "\211~\020\213E\024\211~\f\211~\004\205Àt$\213U\024\213}ð\211V\024\211~\030\211V\b1É\211\216\230", 0xb7101fd0 "\001\200­û°$\020·°$\020·°$\020·°$\020·´$\020·ÿ$\020·°$\020·ÿ$\020·", 0xb71024b0 "ARG1", 0x311024ff
, 0x0, 0xb71024ff "", 0xb7eb8e80 "\210\035\023", 0xb7479624 "ARG%d", 0xb71020ec "Ì", 0xb71020bc "$Í\027\bÌ", 0xb7df0010 "\213\215\fÿÿÿ\211Â9\2150ÿÿÿt\t\213µ(ÿÿÿÆ\006", 0xb7101fd0 "\001\200­û°$\020·°$\020·°$\020·°$\020·´$\020·ÿ$\020·°$\020·ÿ$\020·", 0xb7479624 "ARG%d", 0xb71020f0 "°(\030\b", 0xb71024b0 "ARG1", 0x0, 0xb7102070 "\v", 0xb7101fd0 "\001\200­û°$\020·°$\020·°$\020·°$\020·´$\020·ÿ$\020·°$\020·ÿ$\020·", 0xfbad8001
, 0xb71024b0 "ARG1", 0xb71024b0 "ARG1", 0xb71024b0 "ARG1", 0xb71024b0 "ARG1", 0xb71024b4 "", 0xb71024ff "", 0xb71024b0 "ARG1", 0xb71024ff "", 0x0, 0x0, 0x0, 0x0, 0x0, 0xb710220b "", 0x0, 0xb7df9844 "\201Ã<ö\v", 0x0, 0x0, 0xb7eb9a18 "\020\232ë·\020\232ë·\030\232ë·\030\232ë· \232ë· \232ë·(\232ë·(\232ë·0\232ë·0\232ë·8\232ë·8\232ë·@\232ë·@\232ë·H\232ë·H\232ë·P\232ë·P\232ë·X\232ë·X\232ë·`\232ë·`\232ë·h\232ë·h\232ë·p\232ë·p\232ë·x\232ë·x\232ë·\200\232ë·\200\232ë·\210\232ë·\210\232ë·\220\232ë·\220\232ë·\230\232ë·\230\232ë· \232ë· \232ë·¨\232ë·¨\232ë·\020^\025\b\020^\025\b¸\232ë·¸\232ë·À\232ë·À\232ë·È\232ë·È\232ë·Ð\232ë·Ð\232ë·"..., 0xb7eb9940 "8\231ë·8\231ë·@\231ë·@\231ë·H\231ë·H\231ë·P\231ë·P\231ë·X\231ë·X\231ë·`\231ë·`\231ë·h\231ë·h\231ë·p\231ë·p\231ë·x\231ë·x\231ë·\200\231ë·\200\231ë·\210\231ë·\210\231ë·\220\231ë·\220\231ë·\230\231ë·\230\231ë· \231ë· \231ë·¨\231ë·¨\231ë·°\231ë·°\231ë·¸\231ë·¸\231ë·À\231ë·À\231ë·È\231ë·È\231ë·Ð\231ë·Ð\231---Type to continue, or q to quit--- ë·Ø\231ë·Ø\231ë·à\231ë·à\231ë·è\231ë·è\231ë·ð\231ë·ð\231ë·ø\231ë·ø\231ë·", 0xb7eb9888 "", 0xb7eb9840 "", 0xb7eb9840 "", 0x8183548 "", 0x5
, 0x20
, 0xb7eb9840 "", 0xb7eb8e80 "\210\035\023", 0xb7eb9840 "", 0x1
, 0xb7102078 "»\225G·yÎ\v\b", 0xb7df9394 "\211Çe\203=\f", 0xb7eb9840 "", 0x16
, 0xb7eb9840 "", 0x16d80
, 0x16
, 0x81b2280 "", 0x8183550 "¸}\027\bd5\030\bMACRO_DEPTH", 0xb
, 0xb74795bb "MACRO_DEPTH", 0xb74795bb "MACRO_DEPTH", 0x80bce79 "\017¶\023@\204Òt/\205Àt\033\215t&", 0xb7102200 "1", 0x1
, 0x8183550 "¸}\027\bd5\030\bMACRO_DEPTH", 0xb71020a8 "h%\020·TÆ\b\bàÊ\027\b"} passdata = "\000\000\000\0009999999", '\0' stacklen = 0 tmp = "\033[1;36;40mEnumLookup\033[0;37;40m\000\000ù\000\000\000pþ\017·\002\000\000\000\002\000\000\000ìÿ\017·Ï6â·}\003\020·Úÿ\017·\002", '\0' , "öÿÿÿ" tmp2 = "\033[1;35;40mSIP/100-a779\033[0;37;40m", '\0' , "\034\235ê·", '\0' , "\200\216ë·P\004\020·" tmp3 = "\033[1;35;40m19999999999\033[0;37;40m\000;40m\0007;40m", '\0' , "ÑoÞ·", '\0' , "\205µ\021\b%\000\000\0004ú\017·ÑoÞ·ÑoÞ·`µ\021\b%\000\000\000\000\000\000\000æµ\021\b\206\000\000\000Tú\017·ÑoÞ· \004\020·`µ\021\b\206\000\000\000\000\000\000\000¼\r\020\b\000\000\000\000X\000\020·ËâÜ·|\000\020·¼\r\020\b\000\000\000\000\211ÇÜ·", '\0' , "D\000\020·\000\000\000\000\211ÇÜ·", '\0' , "(\000\000\000\200\004"... atmp = '\0' atmp2 = '\0' #4 0x0808c654 in ast_spawn_extension (c=0x39393931, context=0x39393931
, exten=0x39393931
, priority=960051505, callerid=0x39393931
) at pbx.c:2236 No locals. #5 0xb7478a13 in macro_exec (chan=0x817cae0, data=0x811ea60) at app_macro.c:210 uc = (struct localuser *) 0x39393931 ul = (struct localuser *) 0x811ea60 tmp = 0x50
rest = 0x0 fullmacro = "macro-mydial\000\000\000\000%\000\000\000(\000\000\000\000\000\000\000\b\025\020·36;40\000\020·\177W\030\b\b\005\020·\000\000\000\000\000\000\000\200\000\000\000\000\000 \000\000\001\000\000\000ð\211\025\bàÊ\027\bHW\b\b" varname = "ARG1", '\0' oldargs = {0x0 } argc = 2 x = 135391840 res = 0 oldexten = "19999999999", '\0' oldpriority = 1 pc = "1", '\0' depthc = "1\000\000\000\000\000\000\000\000\000\000" oldcontext = "outgoing", '\0' offsets = 0x50
offset = 0 depth = 0 setmacrocontext = 1 save_macro_exten = 0x0 save_macro_context = 0x0 save_macro_priority = 0x0 save_macro_offset = 0x0 u = (struct localuser *) 0x8182f38 #6 0x0808e2f5 in pbx_extension_helper (c=0x817cae0, con=0x39393931, context=0x817cc30 "macro-mydial", exten=0x817cd24 "s", priority=1, label=0x0, callerid=0x0, action=0) at pbx.c:565 e = (struct ast_exten *) 0xb7478170 sw = (struct ast_switch *) 0x0 data = 0x0 foundcontext = 0x817cc30 "macro-mydial" newstack = 1 res = 0 status = 5 incstack = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb7df5434 "\201ÃL:\f", 0x0, 0x0, 0xb7eb8e80 "\210\035\023", ---Type to continue, or q to quit--- 0xb71087c0 "\001\200­ûð\210\020·ð\210\020·ð\210\020·ð\210\020·ÿ\210\020·?\211\020·ð\210\020·?\211\020·", 0xb710879c "¬\210\020·\020", 0xb7df6980 "\211~\020\213E\024\211~\f\211~\004\205Àt$\213U\024\213}ð\211V\024\211~\030\211V\b1É\211\216\230", 0xb71087c0 "\001\200­ûð\210\020·ð\210\020·ð\210\020·ð\210\020·ÿ\210\020·?\211\020·ð\210\020·?\211\020·", 0xb71088f0 "\"Mathieu\" <100>", 0xb710893f "", 0x0, 0xb710893f "", 0xb7eb8e80 "\210\035\023", 0x80f58eb "\"%s\" <%s>", 0xb71088dc "P\037\031\b°(\030\b", 0xb71088ac "È\210\020·\004IÝ·ð\210\020·P", 0xb7df0010 "\213\215\fÿÿÿ\211Â9\2150ÿÿÿt\t\213µ(ÿÿÿÆ\006", 0xb71087c0 "\001\200­ûð\210\020·ð\210\020·ð\210\020·ð\210\020·ÿ\210\020·?\211\020·ð\210\020·?\211\020·", 0x80f58eb "\"%s\" <%s>", 0xb71088e4 "", 0xb71088f0 "\"Mathieu\" <100>", 0x0, 0xb7108860 "", 0xb71087c0 "\001\200­ûð\210\020·ð\210\020·ð\210\020·ð\210\020·ÿ\210\020·?\211\020·ð\210\020·?\211\020·", 0xfbad8001
, 0xb71088f0 "\"Mathieu\" <100>", 0xb71088f0 "\"Mathieu\" <100>", 0xb71088f0 "\"Mathieu\" <100>", 0xb71088f0 "\"Mathieu\" <100>", 0xb71088ff "", 0xb710893f "", 0xb71088f0 "\"Mathieu\" <100>", 0xb710893f "", 0x0 , 0xffffffff
, 0x0 , 0xb7eb1a00 "", 0x0 , 0xb7eb8e80 "\210\035\023", 0x817cee8 "\"Mathieu\" <100>", 0x81828b0 "100", 0xb71088c8 "àÊ\027\b\002ý\t\bð\210\020·P", 0xb7dd4904 "\213]ü\211ì]Ã\220\220\220\220\220U\211å\203ì\020\211]ü\213U\f\215M\020èy~üÿ\201Ã\\E\016", 0xb71088f0 "\"Mathieu\" <100>", 0x50
, 0x80f58eb "\"%s\" <%s>", 0xb71088dc "P\037\031\b°(\030\b", 0xb71088f0 "\"Mathieu\" <100>", 0x817cae0 "SIP/100-a779", 0x809fd02 "\017¶D$ \211ò\215L$ »P", 0xb71088f0 "\"Mathieu\" <100>", 0x50
, 0x80f58eb "\"%s\" <%s>", 0x8191f50 "Mathieu", 0x81828b0 "100", 0x0, 0x0, 0xb7eb9ad0 "È\232ë·È\232ë·Ð\232ë·Ð\232ë·Ø\232ë·Ø\232ë·à\232ë·à\232ë·è\232ë·è\232ë·ð\232ë·ð\232ë·ø\232ë·ø\232ë·", 0x74614d22
, 0x75656968
, 0x313c2022
, 0x3e3030
, 0x0 , 0x809f82d "\213T$\030\213L$\034\211\223\200\002", 0xb7108948 "¬1rC°\211\020·àÊ\027\b0Ì\027\b$Í\027\b\232î\b\bàÊ\027\b", 0x0, 0x0, 0x0} passdata = "mydial|19999999999", '\0' stacklen = 0 tmp = "\033[1;36;40mMacro\033[0;37;40m", '\0' tmp2 = "\033[1;35;40mSIP/100-a779\033[0;37;40m", '\0' tmp3 = "\033[1;35;40mmydial|19999999999\033[0;37;40m\00040m", '\0' atmp = '\0' atmp2 = '\0' #7 0x0808ee9a in __ast_pbx_run (c=0x817cae0) at pbx.c:2236 digit = 0 exten = '\0' pos = 0 waittime = -1223652944 res = 0 #8 0x0808fb8f in pbx_thread (data=0x39393931) at pbx.c:2523 No locals. #9 0xb7f64b63 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #10 0xb7e5f18a in clone () from /lib/tls/libc.so.6 No symbol table info available. (gdb) (gdb) (gdb) list enum.c:389 384 int ast_get_enum(struct ast_channel *chan, const char *number, char *dst, int dstlen, char *tech, int techlen, char* suffix, char* options) 385 { 386 struct enum_context context; 387 char tmp[259 + 512]; 388 char naptrinput[512]; 389 int pos = strlen(number) - 1; 390 int newpos = 0; 391 int ret = -1; 392 struct enum_search *s = NULL; 393 int version = -1; (gdb) print number $7 = 0x39393931
(gdb)