......... (gdb) info threads * 30 LWP 100389 0x2839d3b3 in pthread_testcancel () from /usr/lib/libpthread.so.1 29 Thread 31 (runnable) 0x28447a84 in strcmp () from /lib/libc.so.5 28 Thread 30 (LWP 100271) 0x2839d393 in pthread_testcancel () from /usr/lib/libpthread.so.1 27 Thread 29 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 26 Thread 28 (runnable) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 25 Thread 27 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 24 Thread 26 (runnable) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 23 Thread 25 (runnable) 0x283f1573 in poll () from /lib/libc.so.5 22 Thread 24 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 21 Thread 23 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 20 Thread 22 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 19 Thread 21 (runnable) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 18 Thread 20 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 17 Thread 19 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 16 Thread 18 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 15 Thread 17 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 14 Thread 16 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 13 Thread 15 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 12 Thread 14 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 11 Thread 13 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 10 Thread 12 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 9 Thread 11 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 8 Thread 10 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 7 Thread 9 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 6 Thread 8 (runnable) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 5 Thread 7 (runnable) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 4 Thread 6 (runnable) 0x283f1573 in poll () from /lib/libc.so.5 3 Thread 5 (runnable) 0x283f1573 in poll () from /lib/libc.so.5 2 Thread 4 (sleeping) 0x2839524b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 1 Thread 1 (runnable) 0x28446314 in _ctx_start () from /lib/libc.so.5 (gdb) thread 29 [Switching to thread 29 (Thread 31 (runnable))]#0 0x28447a84 in strcmp () from /lib/libc.so.5 (gdb) bt full #0 0x28447a84 in strcmp () from /lib/libc.so.5 No symbol table info available. #1 0x0811b7ce in __ast_context_destroy (list=0x8273480, contexttab=0x8277480, con=0x8c89480, registrar=0x28f41c12 "app_dial") at pbx.c:7190 exten_iter = (struct ast_hashtab_iter *) 0x8284f80 prio_iter = (struct ast_hashtab_iter *) 0x60a next = (struct ast_context *) 0x0 tmp = (struct ast_context *) 0x8273480 tmpl = (struct ast_context *) 0x0 exten_item = (struct ast_exten *) 0x0 prio_item = (struct ast_exten *) 0xbfbfe558 __PRETTY_FUNCTION__ = "__ast_context_destroy" #2 0x0811ba56 in ast_context_destroy (con=0x8c89480, registrar=0x28f41c12 "app_dial") at pbx.c:7230 No locals. #3 0x28f3cc7e in unload_module () at app_dial.c:2102 res = 0 con = (struct ast_context *) 0x8c89480 #4 0x080ee3ba in ast_module_shutdown () at loader.c:466 mod = (struct ast_module *) 0x8cade80 local_module_list = {first = 0x8cadc80, last = 0x8277a80} __PRETTY_FUNCTION__ = "ast_module_shutdown" #5 0x08073b3c in quit_handler (num=0, nice=1, safeshutdown=1, restart=1) at asterisk.c:1379 filename = '\0' s = 674890940 e = 0 x = 0 __PRETTY_FUNCTION__ = "quit_handler" #6 0x08074798 in handle_restart_gracefully (e=0x81cd7a0, cmd=-4, a=0xbfbfe6f0) at asterisk.c:1702 No locals. #7 0x080747bf in handle_restart_gracefully_deprecated (e=0x81cd7a0, cmd=-4, a=0xbfbfe6f0) at asterisk.c:1708 res = 0x819dbba "&(&helpers)->lock" #8 0x080a6a36 in ast_cli_command (fd=1, s=0x8214880 "restart gracefully ") at cli.c:1887 args = {0x81cd7a0 "\200\006×\b\210\006×\b", 0x8288680 "restart", 0x8288688 "gracefully", 0x0, 0x14
, 0x4
, 0x8caae80 "restart gracefully ", 0x807b291 "\203Ä\020\213Eø\211Eô\213EôÉÃ\220U\211å\203ì\030\203}\b", 0x8caae80 "restart gracefully ", 0x8214880 "restart gracefully ", 0x81cb8f0 "history.c", 0x182
, 0x81cb90d "history_def_insert", 0x0, 0xf
, 0x8caae80 "restart gracefully ", 0x8caae80 "restart gracefully ", 0x14
, 0xbfbfe788 "¨ç¿¿\t#\027\b\200­!\b0è¿¿\200H!\bf09(", 0x8172244 "\203Ä\020\211C\004\213E\b\203x\020", 0x8214880 "restart gracefully ", 0x81cb8f0 "history.c", 0x184
, 0x81cb90d "history_def_insert", 0x0, 0x84200000
, 0xbfbfe7a8 "\bè¿¿v-\027\b\200­!\b0è¿¿\200H!\b\214»F(ø¹F(", 0x8172309 "\203Ä\020\203øÿu\tÇEøÿÿÿÿë7\213Eü\213Uü\213@\030;B\024~\"\213Eü\203x\030", 0x821ad80 "", 0xbfbfe830 "\230ì¿¿¤ì¿¿Xè¿¿^B\a\b\001", 0x8214880 "restart gracefully ", 0x28393066 "[\201ÃVÔ", 0x0, 0x821ad80 "", 0xbfbfe808 "8è¿¿w`\a\b\200¬!\b0è¿¿\n", 0x8172d76 "\203Ä\020\211Eì\203}ìÿ\017\204P\003", 0x821ad80 "", 0xbfbfe830 "\230ì¿¿¤ì¿¿Xè¿¿^B\a\b\001", 0x8214880 "restart gracefully ", 0x2846bb8c "Èj\f", 0x2846b9f8 "", 0x0, 0xbfbfe7e8 "\bè¿¿ÛËE(XëG(", 0x28392c28 "ÉÃ\211öU\211å\203ì\020j\001ÿu\bè\034\004", 0x2847eb58 "", 0x0, 0xbfbfe808 "8è¿¿w`\a\b\200¬!\b0è¿¿\n", 0x2845ca21 "\203Ä\020\205À~Ï)Æ\001Ç\205ö\177ä¸", 0x2846b9f8 "", 0x8209000 "\033[1;30;40m == \033[0;37;40mUnregistered application 'RetryDial'\n\nect'\nE\nT\nE\n'\n0m' from format alaw to ulaw\n\n2\naal2\n;40mast_config_engine_register\033[0;37;40m: Registered Config Engine curl\n\nzed as it may "..., 0xbfbfe808 "8è¿¿w`\a\b\200¬!\b0è¿¿\n", 0x2845cbdb "\203Ä\020\211ö\215eø[^ÉÃ\220U\211åWV\203ì\004\213u\bÇEô", 0x2847eb58 "", 0x0, 0x8214880 "restart gracefully ", 0xbfbfe820 "ø¹F(ù\024\031\bDè¿¿", 0x2846bb8c "Èj\f", 0x2846b9f8 "", 0xbfbfe838 "Xè¿¿^B\a\b\001", 0x8076077 "\203Ä\020\211Eô\213EôÉÃ\211öU\211å\203ì\b\203=̨\035\b", 0x821ac80 "\200­!\b%", 0xbfbfe830 "\230ì¿¿¤ì¿¿Xè¿¿^B\a\b\001", 0xa
, 0x8214880 "restart gracefully ", 0x2846b9f8 ""} e = (struct ast_cli_entry *) 0x81cd7a0 x = 2 dup = 0x8288680 "restart" retval = 0x0 a = {fd = 1, argc = 2, argv = 0xbfbfe724, line = 0x0, word = 0x0, pos = 0, n = 0} __PRETTY_FUNCTION__ = "ast_cli_command" #9 0x0807425e in consolehandler (s=0x8214880 "restart gracefully ") at asterisk.c:1517 No locals. #10 0x08079e88 in main (argc=2, argv=0xbfbfec98) at asterisk.c:3427 title = "Asterisk Console on 'test3' (pid 99360)", '\0' , "\001\000\000\000\226\002\000\000\006è?(z>\035(ÕF8(xn;(\a\000\000\000þ=\035(\000Ð\037(\2349;(4é¿\001ØÅ\036(Ð@\037(Ô58(4é¿¿z>\035(r<8()n;(\0006\037(þ=\035(ÞÚ?(<ÿ:(\000\000\000\001ØÅ\036(Ð@\037(d-8(@\003\000\000\004\000\000\000ÞÚ?(\020\000\000\000\000\000\000\000xé¿¿¯Ý?(\020\000\000\000P\003\000\000\004"... dont_care = 0x8d6f400 c = -1 filename = "/root/.asterisk_history", '\0' hostname = "test3", '\0' tmp = "\033[1;37;40mAsterisk Ready.\n\033[0;37;40m\000\002\037\bøê¿¿\222á9( à\036\b\220\001\037\b\bë¿¿\216B9( à\036\b\000\003\037\b\030ë¿¿\001\000\000" xarg = 0x0 x = 2 f = (FILE *) 0x2847db00 sigs = {__bits = {134238211, 0, 0, 0}} num = 20 isroot = 1 buf = 0x8214880 "restart gracefully " runuser = 0x0 rungroup = 0x0 remotesock = 0x0 __PRETTY_FUNCTION__ = "main" __FUNCTION__ = "main" #11 0x0805b7c1 in ?? () No symbol table info available. #12 0x00000002 in ?? () No symbol table info available. #13 0xbfbfec98 in ?? () No symbol table info available. #14 0xbfbfeca4 in ?? () No symbol table info available. #15 0x0805b7b6 in ?? () No symbol table info available. #16 0x08184e78 in __do_global_ctors_aux () No symbol table info available. #17 0x00000002 in ?? () No symbol table info available. (gdb)