[GitHub] [incubator-brpc] lorinlee commented on issue #903: tools: add gdb_bthread_stack.py

2019-08-25 Thread GitBox
lorinlee commented on issue #903: tools: add gdb_bthread_stack.py
URL: https://github.com/apache/incubator-brpc/pull/903#issuecomment-524726180
 
 
   > ```
   > [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".
   > ```
   
   获取bthread数量使用了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



[GitHub] [incubator-brpc] jamesge commented on issue #903: tools: add gdb_bthread_stack.py

2019-08-25 Thread GitBox
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



[GitHub] [incubator-brpc] zyearn commented on issue #901: 链接 libbrpc.so 的时候出现错误, 依赖的静态库需要使用 -fPIC 方式编译

2019-08-25 Thread GitBox
zyearn commented on issue #901: 链接 libbrpc.so 的时候出现错误, 依赖的静态库需要使用 -fPIC 方式编译
URL: https://github.com/apache/incubator-brpc/issues/901#issuecomment-524697771
 
 
   libbrpc.so依赖libgflags.so,libleveldb.so,libprotobuf.so,你看看自己系统里有没有


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] NetWilliam commented on issue #901: 链接 libbrpc.so 的时候出现错误, 依赖的静态库需要使用 -fPIC 方式编译

2019-08-25 Thread GitBox
NetWilliam commented on issue #901: 链接 libbrpc.so 的时候出现错误, 依赖的静态库需要使用 -fPIC 方式编译
URL: https://github.com/apache/incubator-brpc/issues/901#issuecomment-524695054
 
 
   既然cmake 已经没有更新支持了, 为什么不删掉呢? 我在这个地方搞了一天...  还有bazel 什么的, 我是不敢用的.
   
   如果只支持类似autogen 的方式的编译, 建议就把命名改一下, 免得别人走歧路


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] lorinlee commented on issue #900: 如何在bthread_mutex_t死锁问题时查看bthread的堆栈

2019-08-25 Thread GitBox
lorinlee commented on issue #900: 如何在bthread_mutex_t死锁问题时查看bthread的堆栈
URL: https://github.com/apache/incubator-brpc/issues/900#issuecomment-524619944
 
 
   可以参考 #903 ,只支持process,不支持core dump


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] lorinlee opened a new pull request #903: tools: add gdb_bthread_stack.py

2019-08-25 Thread GitBox
lorinlee opened a new pull request #903: tools: add gdb_bthread_stack.py
URL: https://github.com/apache/incubator-brpc/pull/903
 
 
   contribute my own gdb script, which can get active bthread stack trace, only 
support running process


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