- Notifications
You must be signed in to change notification settings - Fork495
Ubuntu backtracing
Mario Limonciello edited this pageJul 13, 2017 ·5 revisions
By default Ubuntu buildd's strip debug symbols and places them inddebs. To get a stack trace from attaching a local debugger you will need themlocally installed.
You can find the debug symbols that match your architecture and versionathttp://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 athttps://wiki.ubuntu.com/Backtrace#Already_running_programs to attach gdb to the fwupd process.