----- "Gallus" <gall.cwpl(a)gmail.com> wrote:
On 23 February 2010 19:28, Dave Anderson < anderson(a)redhat.com
>
wrote:
----- "Gallus" < gall.cwpl(a)gmail.com > wrote:
> Hi,
> is it possible to display a stack trace of an user space process?
No.
You could do a raw "rd -u" of the user-space stack, but given that
the crash utility has no knowledge of any user-space symbols,
it's probably not going to be very illuminating.
Dave
Thanks for the answer. If I will use addr2line or similar technique on
the binary whose stack I will read by using "rd -u", then I can get
something meaningful, right? (I have a binary that isn't striped).
Right -- you should see the user-space return-address values starting
from the point shown in the ESP (386) or RSP (x86_64) value shown
in the kernel entry-point exception frame. Although the first few
frames will typically be in a user library instead of the binary.
Dave