[yocto] libSegFault.so crashing on Daisy

Daniel. danielhilst at gmail.com
Sun Sep 4 19:17:50 PDT 2016


Ohhh you may be right, I'll try it

Thanks Richard!

2016-09-04 19:18 GMT-03:00 Richard Purdie <richard.purdie at linuxfoundation.org>:
> 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



-- 
"Do or do not. There is no try"
  Yoda Master



More information about the yocto mailing list