[英]unw_init_remote failed with UNW_EBADREG
On android, while collecting traces of a particular native process, I observed that the backtrace of a particular thread of the process was not collected(libunwind is used to collect the backtrace). 在android上,在收集特定本机进程的跟踪时,我观察到未收集进程的特定线程的回溯(libunwind用于收集回溯)。
12-29 20:47:20.902 13088 13088 W libbacktrace: virtual bool UnwindPtrace::Unwind(size_t, ucontext_t *): unw_init_remote failed -3
12-29 20:47:20.902 13088 13088 E DEBUG : Unwind failed: tid = 1544: Setup failed
12-29 20:47:54.683 13135 13135 W libbacktrace: virtual bool UnwindPtrace::Unwind(size_t, ucontext_t *): unw_init_remote failed -3
12-29 20:47:54.683 13135 13135 E DEBUG : Unwind failed: tid = 1544: Setup failed
From the docs, -3
seems to be UNW_EBADREG. 从文档来看, -3
似乎是UNW_EBADREG。 But I am unable to figure out when exactly is this error code is returned? 但是我无法弄清楚何时返回此错误代码?
Any pointers appreciated! 任何指针表示赞赏!
获得了有关为何该线程的回溯失败失败的更多信息-该线程处于“磁盘睡眠”或“ D”状态。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.