簡體   English   中英

unw_init_remote失敗,出現UNW_EBADREG

[英]unw_init_remote failed with UNW_EBADREG

在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

從文檔來看, -3似乎是UNW_EBADREG。 但是我無法弄清楚何時返回此錯誤代碼?

任何指針表示贊賞!

獲得了有關為何該線程的回溯失敗失敗的更多信息-該線程處於“磁盤睡眠”或“ D”狀態。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM