Skip to content
Mario Limonciello edited this page Jul 13, 2017 · 5 revisions

Backtrace

By default Ubuntu buildd's strip debug symbols and places them in ddebs. To get a stack trace from attaching a local debugger you will need them locally installed.

You can find the debug symbols that match your architecture and version at http://ddebs.ubuntu.com/ubuntu. You must install all 3 packages that match your architecture and version (libdfu1, libfwupd1, fwupd).

Adding repository

  1. Add ddeb repository apt repository signing key

# wget -qO - http://ddebs.ubuntu.com/ubuntu/dbgsym-release-key.asc | sudo apt-key add -

  1. Add the ddebs repository

# sudo add-apt-repository http://ddebs.ubuntu.com/ubuntu

  1. Check for updates

# sudo apt update

  1. Install debug symbols

# sudo apt install fwupd-dbgsym libdfu1-dbgsym libfwupd1-dbgsym

  1. Follow the directions at https://wiki.ubuntu.com/Backtrace#Already_running_programs to attach gdb to the fwupd process.
Clone this wiki locally