(gdb) thread apply all bt full Thread 1 (Thread 0x2aca1ffbfba0 (LWP 21790)): #0 0x00000036bd0cc06f in poll () from /lib64/libc.so.6 No symbol table info available. #1 0x0000000000447a50 in ast_el_read_char (editline=0xf1915c0, cp=0x7ffff2d9804f "\004\260\004\032\017") at asterisk.c:2535 num_read = 0 lastpos = 0 fds = {{fd = 3, events = 1, revents = 0}, {fd = 0, events = 1, revents = 0}} res = 87 max = 2 buf = "---------\n===\n", '=' , "\000\000\000\000", '=' , "\n\n\000\062\061F)\n\tmain/manager.c:4042 action_command()\n\tmain/manager.c:5284 process_message()\n\tmain/manager.c:5497 do_message()\n\tmai\200\067\065\275\066\000\000\000\277\342\031\017\000\000\000\000\300\025\031\017\000\000\000\000fz\006\275\066\000\000\000\001\000\000\000\000\000\000\000qE\201\277\066\000\000\000"... __PRETTY_FUNCTION__ = "ast_el_read_char" #2 0x00000036bf811352 in read_getcmd (el=0xf1915c0, nread=0x7ffff2d98164) at read.c:242 No locals. #3 el_gets (el=0xf1915c0, nread=0x7ffff2d98164) at read.c:520 cmdnum = 21 '\025' num = -1 ch = 4 '\004' nrb = -220626944 #4 0x0000000000449b7e in ast_remotecontrol (data=0x0) at asterisk.c:3186 buf = "ScopPricer\000local\000\063\065\065\067\000\061\061.14.2", '\000' "\300, \374\030\017\000\000\000\000\060\204\331\362\377\177\000\000R\273D\000\000\000\000\000\240ˌ\000\000\000\000\000\240\273\214\000\000\000\000" res = 17 filename = "/root/.asterisk_history", '\000' hostname = 0x7ffff2d983d0 "ScopPricer" cpid = 0x7ffff2d983e1 "3557" version = 0x7ffff2d983e6 "11.14.2" pid = 3557 stringp = 0x7ffff2d983db "local" ebuf = 0xf1a04b0 "core show locks " num = 0 __PRETTY_FUNCTION__ = "ast_remotecontrol" #5 0x000000000044d23f in main (argc=2, argv=0x7ffff2d9b888) at asterisk.c:4033 c = -1 filename = "/root/.asterisk_history", '\000' hostname = "ScopPricer.local", '\000' tmp = "\b\000\000\000i\001\000\000Txa\000\000\000\000\000\005\000\000\000a\001\000\000\201\266\331\362\377\177\000\000\200,a\000\000\000\000\000\200\266\331\362\377\177\000\000\200,a\000\000\000\000\000\224,a\000\000\000\000\000\220\267\331\362\377\177\000\000P\347\030\017\000\000\000" ---Type to continue, or q to quit--- xarg = 0x0 x = 2 f = 0x7ffff2d9b3c0 sigs = {__val = {231928234035, 244813135872, 261993005116, 0, 296352743489, 304942678016, 313532612680, 0, 317827579904, 75, 339302416461, 140737267741584, 140737267741696, 235126633008, 0, 140737267734208}} num = 1 isroot = 1 rundir_exists = 1 buf = 0x7ffff2d9b3b8 "h\264\331\362\377\177" runuser = 0x8cbba0 "scopserv" rungroup = 0x8ccba0 "scopserv" remotesock = 0x0 moduleresult = 1 l = {rlim_cur = 4096, rlim_max = 8192} __PRETTY_FUNCTION__ = "main" __func__ = "main" (gdb) (gdb)