-
Notifications
You must be signed in to change notification settings - Fork 412
Ubuntu backtracing
Mario Limonciello edited this page Jul 13, 2017
·
5 revisions
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).
- Add ddeb repository apt repository signing key
# wget -qO - http://ddebs.ubuntu.com/ubuntu/dbgsym-release-key.asc | sudo apt-key add -
- Add the ddebs repository
# sudo add-apt-repository http://ddebs.ubuntu.com/ubuntu
- Check for updates
# sudo apt update
- Install debug symbols
# sudo apt install fwupd-dbgsym libdfu1-dbgsym libfwupd1-dbgsym
- Follow the directions at https://wiki.ubuntu.com/Backtrace#Already_running_programs to attach gdb to the fwupd process.