libunwind-devel
[Top][All Lists]
Advanced

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

Re: [Libunwind-devel] Unwinding from optimzied shared library on linux


From: Arun Sharma
Subject: Re: [Libunwind-devel] Unwinding from optimzied shared library on linux
Date: Sat, 20 Sep 2014 13:35:06 +0530

On Tue, Sep 16, 2014 at 5:49 AM, Scott Biersdorff
<address@hidden> wrote:

> Readelf does show an FDE entry but the information is very minimal:
>
>
>
> 000163c0 0000000000000014 00000000000163c4 FDE cie=00000000
> pc=0000000000253e00..0000000000253eb1
>
>    LOC           CFA      ra
>
> 0000000000253e00 rsp+8    c-8
>
> 0000000000253e04 rsp+48   c-8
>
> 0000000000253eb0 rsp+8    c-8
>

This is the problem that needs to be investigated. What this is
showing is, only the addresses between 253e00..253eb1 have a chance of
giving you a valid stack trace. I'm sure your shared library is much
bigger than that.

Please compare to readelf -w /bin/ls on your system, which should show
a lot more info.

Is something in your build process stripping out the information in
.eh_frame ELF section from the library?

- Arun



reply via email to

[Prev in Thread] Current Thread [Next in Thread]