[yocto] libSegFault.so crashing on Daisy

Richard Purdie richard.purdie at linuxfoundation.org
Sun Sep 4 15:18:19 PDT 2016


On Fri, 2016-09-02 at 16:36 -0300, Daniel. wrote:
> Hi everybody,
> 
> I was trying to use libSegFault.so to capture stacktraces but the
> libSegFault it self is crashing? Can someone try to reproduce this?
> 
> 1) Install libc6-dbg. This will give you access to libSegFault.so at
> /lib/.debug/libSegFault.so
> 2) Set LD_PRELOAD: export LD_PRELOAD=/lib/.debug/libSegFault.so
> 3) Running any executable results in a crash for me :/

I suspect you want a /lib/libSegFault.so rather than the file in a
.debug directory since the .debug version is just the debug symbols.
Try the libsegfault package itself?

Cheers,

Richard



More information about the yocto mailing list