[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] RE: retrieve Stack Trace of all threads from Curre
From: |
Lassi Tuura |
Subject: |
Re: [Libunwind-devel] RE: retrieve Stack Trace of all threads from Current process |
Date: |
Mon, 3 May 2010 16:20:14 +0200 |
Hi,
> unw_step(&cursor) return 0, and all my previous steps are successful. That
> means my cursor is at last frame in the stack and I can’t walk through it?
> But why I am getting at the last frame in the stack all the time and I am not
> able to walk full stack because of it.
Build a debug version of libunwind (configure ... --enable-debug), then set
"UNW_DEBUG_LEVEL=5" environment variable, and re-run your program. The debug
informations should help you determine why libunwind decided to stop the trace.
I personally know approximately nothing about unwinding with ptrace, let alone
unwinding random other threads in other processes. But if you attach some debug
output, others may be able to help.
Regards,
Lassi