I found the issue in the yocto based distribution: elfutils / libdw was
compiled without xz support, and was thus unable to extract the
minidebuginfo symbol names.
On Ubuntu / Fedora, I don't know exactly what the issue is.
Etienne
On Tue, Nov 21, 2023 at 11:53 PM Etienne Cordonnier
wrote:
>
Thanks for your reply. I have tested with Fedora 39 and indeed coredumpctl
info shows function names when a binary provided by a Fedora package
crashes. However, when I compile a test binary on Fedora, even with debug
symbols enabled (I tried -g and -ggdb), and I then send kill -SEGV my
binary,
On Do, 16.11.23 18:37, Etienne Cordonnier (ecordonn...@snap.com) wrote:
> Hello,
> I am testing a yocto based system, where it seems that "coredumpctl info"
> isn't able to use minidebuginfo / gnu_debugdata to extract a symbolized
> call-stack. I saw in the code that coredumpctl uses elfutils /
Hello,
I am testing a yocto based system, where it seems that "coredumpctl info"
isn't able to use minidebuginfo / gnu_debugdata to extract a symbolized
call-stack. I saw in the code that coredumpctl uses elfutils / libdwfl in
order to extract a call-stack, and as far as I understand libdwfl