(gdb) bt #0 0x00002aaaab380be0 in strlen () from /lib/libc.so.6 #1 0x00002aaaab34ecf5 in vfprintf () from /lib/libc.so.6 #2 0x00002aaaab373c76 in vsnprintf () from /lib/libc.so.6 #3 0x00000000004749d6 in __ast_vasprintf (strp=0x404ff198, fmt=0x4afa17 "%s%s", ap=0x404ff1a0, file=0x4b0b04 "cli.c", lineno=53, func=0x4b1560 "ast_cli") at astmm.c:227 #4 0x000000000044683f in ast_cli (fd=274, fmt=0x2aaaab412a20 "G") at cli.c:53 #5 0x0000000000449c1a in handle_commandmatchesarray (fd=274, argc=-1421792736, argv=0x7f1488) at cli.c:576 #6 0x0000000000449cf0 in ast_cli_command (fd=274, s=0x12981
) at cli.c:1341 #7 0x0000000000469c7a in netconsole (vconsole=0x12981) at asterisk.c:456 #8 0x00002aaaaaccab55 in start_thread () from /lib/libpthread.so.0 #9 0x00002aaaab3d57f0 in clone () from /lib/libc.so.6 (gdb) bt full #0 0x00002aaaab380be0 in strlen () from /lib/libc.so.6 No symbol table info available. #1 0x00002aaaab34ecf5 in vfprintf () from /lib/libc.so.6 No symbol table info available. #2 0x00002aaaab373c76 in vsnprintf () from /lib/libc.so.6 No symbol table info available. #3 0x00000000004749d6 in __ast_vasprintf (strp=0x404ff198, fmt=0x4afa17 "%s%s", ap=0x404ff1a0, file=0x4b0b04 "cli.c", lineno=53, func=0x4b1560 "ast_cli") at astmm.c:227 n = 7 size = 206 #4 0x000000000044683f in ast_cli (fd=274, fmt=0x2aaaab412a20 "G") at cli.c:53 stuff = 0x7f02e8 "" res = 76161 ap = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x404ff290, reg_save_area = 0x404ff1c0}} __PRETTY_FUNCTION__ = "ast_cli" #5 0x0000000000449c1a in handle_commandmatchesarray (fd=274, argc=-1421792736, argv=0x7f1488) at cli.c:576 buf = 0x7efa78 "show show show show show show show show show show show show show show show show show show show show show show show show show show show show show show show show show show show show show show show show " obuf = 0x4486b3 "\205ÀuqÿÃ\205ít\vHcËI\203|Í" buflen = 2048 len = 200 matches = (char **) 0x7f1488 x = 40 matchlen = 1078981096 __PRETTY_FUNCTION__ = "handle_commandmatchesarray" #6 0x0000000000449cf0 in ast_cli_command (fd=274, s=0x12981
) at cli.c:1341 argv = {0x7ef9d8 "_COMMAND", 0x7ef9e1 "MATCHESARRAY", 0x7ef9ee "sho", 0x7ef9f2 "sho", 0x0, 0x404ff5d6 "\"sho\" \"sho\"", 0x404ff7bf "", 0x404ff5c0 "_COMMAND MATCHESARRAY \"sho\" \"sho\"", 0x404ff7bf "", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffffffff0000
, 0x0, 0x78756e694c
, 0x0, 0x0, 0xffffffff
, 0x0, 0x0, 0x0, 0x0, 0x32776770697300
, 0x2aaaab525620 "", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x32312e362e320000
, 0x352e
, 0x0, 0x0, 0x404ff7c0 "sipgw2", 0x5efc60 "\022\001", 0x404ff5c0 "_COMMAND MATCHESARRAY \"sho\" \"sho\"", 0x4003f740 "", 0x5efc70 "pùO@", 0x2aaaab3554f5 "H\201ÄØ", 0x3000000030
, 0x404ff5b0 "\022\001", 0x404ff4f0 "", 0x0, 0x0, 0x0, 0x5f36387800000000
, 0x404ff7c0 "sipgw2", 0x275d
, 0x4b617e "CVS HEAD", 0x0, 0x0, 0x0, 0x0, 0x6f6e280000000000
, 0x29656e
, 0x0, 0x0, 0x0, 0x0} e = (struct ast_cli_entry *) 0x5cbcc0 x = 4 dup = 0x7ef9d8 "_COMMAND" __PRETTY_FUNCTION__ = "ast_cli_command" #7 0x0000000000469c7a in netconsole (vconsole=0x12981) at asterisk.c:456 con = (struct console *) 0x5efc60 hostname = "sipgw2", '\0' tmp = "_COMMAND MATCHESARRAY \"sho\" \"sho\"\000\00037;40m(\"\033[1;35;40mZap/125-1\033[0;37;40m\", \"\033[1;35;40mSIP/00005/73851063\033[0;37;40m\") in new stack\n\0004)\033[0;37;40m\") in new stack\n\000\000\000\000\000\000\000\000\000 ªÌªª*\000\000\000\000\000\000\000\000\000\0004\\«ªª*\000\000X÷O@\000\000\000\000"... res = 76161 fds = {{fd = 274, events = 1, revents = 1}, {fd = 275, events = 1, revents = 0}}