Re: User-land backtrace?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- "Gallus" <gall.cwpl@xxxxxxxxx> wrote:

> On 23 February 2010 19:28, Dave Anderson < anderson@xxxxxxxxxx >
> wrote:
> 
> 
> 
> 
> ----- "Gallus" < gall.cwpl@xxxxxxxxx > 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


--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux