[GitHub] [incubator-brpc] jamesge commented on issue #903: tools: add gdb_bthread_stack.py
jamesge commented on issue #903: tools: add gdb_bthread_stack.py URL: https://github.com/apache/incubator-brpc/pull/903#issuecomment-533451396 @lorinlee 上面提及的改进有进展么? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org
[GitHub] [incubator-brpc] jamesge commented on issue #903: tools: add gdb_bthread_stack.py
jamesge commented on issue #903: tools: add gdb_bthread_stack.py URL: https://github.com/apache/incubator-brpc/pull/903#issuecomment-525118852 目前这个脚本还会时不时报个内部错误,进而把attach的进程杀死,这样加到tools目录下的话万一被其他用户对线上进程使用,风险还是很高。 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org
[GitHub] [incubator-brpc] jamesge commented on issue #903: tools: add gdb_bthread_stack.py
jamesge commented on issue #903: tools: add gdb_bthread_stack.py URL: https://github.com/apache/incubator-brpc/pull/903#issuecomment-525118553 bthread_list中显示的数目和bthread_num的不一致 ``` (gdb) bthread_begin Active bthreads: 25, will display 25 bthreads Enter bthread debug mode, do not switch thread before exec 'bthread_end' !!! (gdb) bthread_list id tid function total:5 #0 2675764627290 0x503a60 #1 4294969344 0x511900 #2 4294969345 0x4fa3f0 #3 4294969346 0x4d71b0 #4 2628519987470 0x6cd9d0 (gdb) bthread_num 25 ``` This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org
[GitHub] [incubator-brpc] jamesge commented on issue #903: tools: add gdb_bthread_stack.py
jamesge commented on issue #903: tools: add gdb_bthread_stack.py URL: https://github.com/apache/incubator-brpc/pull/903#issuecomment-525117338 ``` (gdb) bthread_meta Python Exception invalid literal for int() with base 10: '': Error occurred in Python command: invalid literal for int() with base 10: '' ``` This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org
[GitHub] [incubator-brpc] jamesge commented on issue #903: tools: add gdb_bthread_stack.py
jamesge commented on issue #903: tools: add gdb_bthread_stack.py URL: https://github.com/apache/incubator-brpc/pull/903#issuecomment-524727431 就是example/multi_threaded_echo_c++用Makefile编译后按上述流程操作的结果。os: ubuntu 16.04,gcc: 5.4, gdb:7.11.1, python: 2.7.12 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org
[GitHub] [incubator-brpc] jamesge commented on issue #903: tools: add gdb_bthread_stack.py
jamesge commented on issue #903: tools: add gdb_bthread_stack.py URL: https://github.com/apache/incubator-brpc/pull/903#issuecomment-524717659 ``` [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x7f15dda3d30d in nanosleep () at ../sysdeps/unix/syscall-template.S:84 84 ../sysdeps/unix/syscall-template.S: No such file or directory. (gdb) source gdb_bthread_stack.py (gdb) bthread_begin Python Exception No type "detail" within class or namespace "bvar".: Error occurred in Python command: No type "detail" within class or namespace "bvar". ``` This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org