How to collect flatpak backtrace for bug reporting?

Continuing the discussion from org.gnome.Tetravex cannot start:

Further to the above and from the bugzilla entry, I learnt that it is possible to collect a backtrace using debuginfod .

I am new to running debuggers. Please help.

2 Likes

Maybe these two documents can help you:

https://docs.flatpak.org/en/latest/debugging.html
https://blogs.gnome.org/mclasen/2017/01/20/debugging-a-flatpak-application/

Regards., HTH

1 Like

Thank you very much!

I managed to collect the backtrace by:

(For both Silverblue and Workstation 34)

$ flatpak run --command=sh --filesystem=home --share=network --devel org.gnome.Tetravex
# on first run, it complains missing runtime
$  flatpak install runtime/org.fedoraproject.Sdk/x86_64/f34
# install as above and run again
$ flatpak run --command=sh --filesystem=home --share=network --devel org.gnome.Tetravex

    [ org.gnome.Tetravex ~]$ DEBUGINFOD_URLS=https://debuginfod.stg.fedoraproject.org/ gdb /app/bin/gnome-tetravex

    (gdb) set style enabled off
    (gdb) run
    (gdb) bt full

ref for debuginfod:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/LPFMKKBH7XOUEHCXEFL4V2B2J6SSXAPB/

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.