hnwyllmm commented on issue #927: core文件中查看切换出去的bthread栈信息
URL: https://github.com/apache/incubator-brpc/issues/927#issuecomment-533458987
 
 
   
903的原理应该是把所有的bthread寄存器找出来,主要是rsp和rip,然后设置某个线程的rsp和rip为要查看的bthread的rsp和rip,就可以执行where命令了。这个只能gdb
 attach到进程看,而且是有风险的,如果在修改了某个线程的rsp/rip信息后,gdb无法正常退出,进程就会crash。
   我的这个是针对core文件的工具,步骤比较繁琐。刚才忘记贴链接了,抱歉:
   https://github.com/hnwyllmm/coroutine_crash

----------------------------------------------------------------
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

Reply via email to