(gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0xb7ca9051 in raise () from /lib/tls/libc.so.6 #2 0xb7caaa3b in abort () from /lib/tls/libc.so.6 #3 0xb7cdf9d5 in __fsetlocking () from /lib/tls/libc.so.6 #4 0xb7ce6037 in malloc_usable_size () from /lib/tls/libc.so.6 #5 0xb7ce64d2 in free () from /lib/tls/libc.so.6 #6 0xb7215d9a in destroy_permissions (permlist=0x822aa90) at pbx_dundi.c:3848 #7 0xb7215e7a in destroy_peer (peer=0x822aa78) at pbx_dundi.c:3859 #8 0xb7215f76 in prune_peers () at pbx_dundi.c:3877 #9 0xb7218c4e in set_config (config_file=0xb721e36d "dundi.conf", sin=0xb6abf954) at pbx_dundi.c:4485 #10 0xb7218db0 in reload () at pbx_dundi.c:4522 #11 0x080aa5bc in ast_module_reload (name=0x0) at loader.c:590 #12 0x0808888d in handle_reload_deprecated (fd=23, argc=1, argv=0xb6abf9f0) at cli.c:182 #13 0x0808e4d0 in ast_cli_command (fd=23, s=0xb6abfd59 "reload") at cli.c:1979 #14 0x080b1e2e in action_command (s=0xb7a07260, m=0xb6ac01b4) at manager.c:1638 #15 0x080b3bcb in process_message (s=0xb7a07260, m=0xb6ac01b4) at manager.c:2088 #16 0x080b4070 in do_message (s=0xb7a07260) at manager.c:2179 #17 0x080b417d in session_do (data=0xb7a07260) at manager.c:2195 #18 0x080f7c77 in dummy_start (data=0xb7a051b0) at utils.c:775 #19 0xb7f1bc87 in start_thread () from /lib/tls/libpthread.so.0 #20 0xb7d4f6ae in clone () from /lib/tls/libc.so.6 (gdb) bt full #0 0xffffe410 in __kernel_vsyscall () No symbol table info available. #1 0xb7ca9051 in raise () from /lib/tls/libc.so.6 No symbol table info available. #2 0xb7caaa3b in abort () from /lib/tls/libc.so.6 No symbol table info available. #3 0xb7cdf9d5 in __fsetlocking () from /lib/tls/libc.so.6 No symbol table info available. #4 0xb7ce6037 in malloc_usable_size () from /lib/tls/libc.so.6 No symbol table info available. #5 0xb7ce64d2 in free () from /lib/tls/libc.so.6 No symbol table info available. #6 0xb7215d9a in destroy_permissions (permlist=0x822aa90) at pbx_dundi.c:3848 perm = (struct permission *) 0x81c0000 #7 0xb7215e7a in destroy_peer (peer=0x822aa78) at pbx_dundi.c:3859 No locals. #8 0xb7215f76 in prune_peers () at pbx_dundi.c:3877 __list_next = (struct dundi_peer *) 0x81c1df8 __list_prev = (struct dundi_peer *) 0x0 __new_prev = (struct dundi_peer *) 0x0 peer = (struct dundi_peer *) 0x822aa78 #9 0xb7218c4e in set_config (config_file=0xb721e36d "dundi.conf", sin=0xb6abf954) at pbx_dundi.c:4485 cfg = (struct ast_config *) 0x81e2de0 v = (struct ast_variable *) 0x0 cat = 0x0 format = 0 x = 2 hn = "asterisk-hq.spirox.com.tw", '\0' he = {hp = {h_name = 0xb6abf4f7 "asterisk-hq.spirox.com.tw", h_aliases = 0xb6abf528, h_addrtype = 2, h_length = 4, h_addr_list = 0xb6abf4e4}, buf = "\177\000\000\001", '\0' , "??\000\000\000\000127.0.0.1\000\tasterisk-hq.spirox.com.tw\000asterisk-hq\000localhost\000\000\021?\035?\000\000\000\000?m?H?3?\n\b\210y\025\b\222\207\023\b???\n\b\210y\025\b\210\031\030\b\203\000\000\000\000\000\000\000$p\023\b???$\000\000{n\023\b\210y\025\b\222\207\023\b???\n\b\210y\025\b\210\031\030\b\203\000\000\000\000\000\000\000?(\024\b\004??$\000\000?"...} hp = (struct hostent *) 0xb6abf4c0 sin2 = {sin_family = 130, sin_port = 0, sin_addr = {s_addr = 16777343}, sin_zero = "D??\202\000\000"} last_port = 0 globalpcmodel = 0 testeid = {eid = "\021\000\000\000\000"} __PRETTY_FUNCTION__ = "set_config" #10 0xb7218db0 in reload () at pbx_dundi.c:4522 sin = {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 88}, sin_zero = "??\"?X\000\000"} ---Type to continue, or q to quit--- #11 0x080aa5bc in ast_module_reload (name=0x0) at loader.c:590 info = (const struct ast_module_info *) 0xb7221480 cur = (struct ast_module *) 0x81e1fa0 res = 2 i = 7 #12 0x0808888d in handle_reload_deprecated (fd=23, argc=1, argv=0xb6abf9f0) at cli.c:182 x = 135608392 res = 1 #13 0x0808e4d0 in ast_cli_command (fd=23, s=0xb6abfd59 "reload") at cli.c:1979 argv = {0x82319a8 "reload", 0x0, 0xb7d3f2b4 "?e\213\025", 0x180
, 0x0, 0xb6abfa28 "", 0xb7daeff4 ", 0xb7daea20 "", 0x0, 0xb7cd52ef "\211\205p???\213\215p???\205?\017\210????\213\203\034???\213\215t???\213\225H???\211\f\002\213\205p???\201?", 0xb6abfb34 "/tmp/ast-ami-D6o54f", 0xc2
, 0x180
, 0x0, 0xb6ac0bb0 "?\v??\214\025#\b?\v??\001", 0x2448
, 0x0, 0xffffffff
, 0xb7daeff4 ", 0xb6abfb47 "", 0xb7f1e725 "\201??h", 0x1
, 0xb6abfdc4 "\n", 0xb6abfa88 "'", 0x1
, 0xb6abfdc4 "\n", 0x8138792 ",", 0xb6abfab8 "??9?\n\bdr???\030#\b", 0x80f8abf "\211E?\213E?\003E?@\211?\213E\b\213", 0x82318a4 "Response: Follows\r\nPrivilege: Command\r\n", 0xb6abfab8 "??9?\n\bdr???\030#\b", 0x27
, 0xb6abfdc4 "\n", 0xb6abfab8 "??9?\n\bdr???\030#\b", 0xb7f20474 "X=\001???s\001????\201?rK", 0x27
, 0x80f7ec9 "\211E?\203}?", 0x16
, 0x82318a4 "Response: Follows\r\nPrivilege: Command\r\n", 0x27
, 0x1
, 0x27
, 0x0, 0xb6abfab8 "??9?\n\bdr???\030#\b", 0x80ae251 "??U\211?\203?\b\213E\b\211\004$?l\220????U\211?S\201?\204", 0xb7a07264 "", 0x0, 0xb6abfaf8 "x?.\036\v\b\027", 0x80ae239 "\203?0[_]?U\211?\203?\b\213E\b\211\004$??\226????U\211?\203?\b\213E\b\211\004$?l\220????U\211?S\201?\204", 0xb7a07264 "", 0x82318cb "", 0x0, 0x64
, 0x8139500 "Response: Follows\r\nPrivilege: Command\r\n", 0xb6abfb08 "\r", 0xb7daeff4 ", 0x82318a0 "", 0xb6abfb08 "\r", 0x27
} e = (struct ast_cli_entry *) 0x8154c60 x = 1 dup = 0x82319a8 "reload" tws = 0 #14 0x080b1e2e in action_command (s=0xb7a07260, m=0xb6ac01b4) at manager.c:1638 cmd = 0xb6abfd59 "reload" id = 0x8138903 "" buf = 0x0 final_buf = 0xb6abfdb7 "mand: reload" template = "/tmp/ast-ami-D6o54f" fd = 23 i = 2 ---Type to continue, or q to quit--- l = 4294967297 __PRETTY_FUNCTION__ = "action_command" #15 0x080b3bcb in process_message (s=0xb7a07260, m=0xb6ac01b4) at manager.c:2088 action = "Command", '\0' tmp = (struct manager_action *) 0x8185fb8 id = 0x8138903 "" idText = '\0' ret = 0 __PRETTY_FUNCTION__ = "process_message" #16 0x080b4070 in do_message (s=0xb7a07260) at manager.c:2179 m = {hdrcount = 2, headers = {0xb6abfd70 "Action: Command", 0xb6abfd50 "Command: reload", 0x0 }} header_buf = "\000\n\000mand: reload\000\n", '\0' res = 1 #17 0x080b417d in session_do (data=0xb7a07260) at manager.c:2195 s = (struct mansession *) 0xb7a07260 res = 0 __PRETTY_FUNCTION__ = "session_do" #18 0x080f7c77 in dummy_start (data=0xb7a051b0) at utils.c:775 _buffer = {__routine = 0x8068b57 , __arg = 0xb6ac0bb0, __canceltype = 0, __prev = 0x0} ret = (void *) 0xb6ac0468 a = {start_routine = 0x80b4153 , data = 0xb7a07260, name = 0xb7a03758 "session_do", ' ' , "started at [ 2306] manager.c accept_thread()"} #19 0xb7f1bc87 in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #20 0xb7d4f6ae in clone () from /lib/tls/libc.so.6 No symbol table info available. (gdb) (gdb) thread apply all bt Thread 27 (process 9288): #0 0x00000293 in ?? () Cannot access memory at address 0x44415f36 Thread 26 (process 9294): #0 0x00000246 in ?? () Cannot access memory at address 0x45282046 Thread 25 (process 9295): #0 0x00000246 in ?? () Cannot access memory at address 0x69727474 Thread 24 (process 9296): #0 0x00000206 in ?? () Cannot access memory at address 0x47494246 Thread 23 (process 9297): #0 0x00000246 in ?? () Cannot access memory at address 0xe0010039 Thread 22 (process 9300): #0 0x00000216 in ?? () Cannot access memory at address 0x434f5455 Thread 21 (process 9301): #0 0x00000202 in ?? () Cannot access memory at address 0xa2aace1 Thread 20 (process 9302): #0 0x00000216 in ?? () Cannot access memory at address 0x31322d28 Thread 19 (process 9303): #0 0x00000202 in ?? () Cannot access memory at address 0x2064656e Thread 18 (process 9304): #0 0x00000212 in ?? () Cannot access memory at address 0x204c454e Thread 17 (process 9305): #0 0x00000206 in ?? () Cannot access memory at address 0x62010047 Thread 16 (process 9306): #0 0x00000216 in ?? () Cannot access memory at address 0x55444e52 Thread 15 (process 9307): #0 0x00000202 in ?? () Cannot access memory at address 0x4d5f4c42 Thread 14 (process 9308): #0 0x00000212 in ?? () Cannot access memory at address 0xeb010031 ---Type to continue, or q to quit--- Thread 13 (process 9309): #0 0x00000206 in ?? () Cannot access memory at address 0x29313230 Thread 12 (process 9310): #0 0x00000282 in ?? () Cannot access memory at address 0x2f40100 Thread 11 (process 9311): #0 0x00000246 in ?? () Cannot access memory at address 0x5f010100 Thread 10 (process 9312): #0 0x00000246 in ?? () Cannot access memory at address 0x312048 Thread 9 (process 9313): #0 0x00000246 in ?? () Cannot access memory at address 0x65373531 Thread 8 (process 9314): #0 0x00000282 in ?? () Cannot access memory at address 0x2e10100 Thread 7 (process 9315): #0 0x00000246 in ?? () Cannot access memory at address 0x2e31205f Thread 6 (process 9316): #0 0x00000246 in ?? () Cannot access memory at address 0x45564148 Thread 5 (process 9317): #0 0x00000246 in ?? () Cannot access memory at address 0x465f5f01 Thread 4 (process 9318): #0 0x00000246 in ?? () Cannot access memory at address 0x414802bc Thread 3 (process 9321): #0 0x00000246 in ?? () Cannot access memory at address 0x5f424a5f Thread 2 (process 9363): #0 0x00000246 in ?? () Cannot access memory at address 0x205f5f43 Thread 1 (process 9446): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7ca9051 in raise () from /lib/tls/libc.so.6 #2 0xb7caaa3b in abort () from /lib/tls/libc.so.6 #3 0xb7cdf9d5 in __fsetlocking () from /lib/tls/libc.so.6 ---Type to continue, or q to quit--- #4 0xb7ce6037 in malloc_usable_size () from /lib/tls/libc.so.6 #5 0xb7ce64d2 in free () from /lib/tls/libc.so.6 #6 0xb7215d9a in destroy_permissions (permlist=0x822aa90) at pbx_dundi.c:3848 #7 0xb7215e7a in destroy_peer (peer=0x822aa78) at pbx_dundi.c:3859 #8 0xb7215f76 in prune_peers () at pbx_dundi.c:3877 #9 0xb7218c4e in set_config (config_file=0xb721e36d "dundi.conf", sin=0xb6abf954) at pbx_dundi.c:4485 #10 0xb7218db0 in reload () at pbx_dundi.c:4522 #11 0x080aa5bc in ast_module_reload (name=0x0) at loader.c:590 #12 0x0808888d in handle_reload_deprecated (fd=23, argc=1, argv=0xb6abf9f0) at cli.c:182 #13 0x0808e4d0 in ast_cli_command (fd=23, s=0xb6abfd59 "reload") at cli.c:1979 #14 0x080b1e2e in action_command (s=0xb7a07260, m=0xb6ac01b4) at manager.c:1638 #15 0x080b3bcb in process_message (s=0xb7a07260, m=0xb6ac01b4) at manager.c:2088 #16 0x080b4070 in do_message (s=0xb7a07260) at manager.c:2179 #17 0x080b417d in session_do (data=0xb7a07260) at manager.c:2195 #18 0x080f7c77 in dummy_start (data=0xb7a051b0) at utils.c:775 #19 0xb7f1bc87 in start_thread () from /lib/tls/libpthread.so.0 #20 0xb7d4f6ae in clone () from /lib/tls/libc.so.6 (gdb)