This page explains how to make debugging symbols available for gdb so that when an application crashes and you get a stack trace it will be much more useful for developers. This usually involves installing debug packages or sometimes recompiling with special flags.

After following your distro's instructions for making the symbols available, see GettingTraces (or GettingTraces/Details) for further information on how to get a new stack trace to submit.

Please see the section of the operating system you are running:

Arch Linux

Please see https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces

Debian

See Debian wiki: http://wiki.debian.org/HowToGetABacktrace

Fedora

See Fedora wiki: http://fedoraproject.org/wiki/StackTraces

Foresight

Every package has a ":debuginfo" trove. To install these do:

sudo conary update <main-package-name>:debuginfo --sync-to-parents

as a start do:

sudo conary update glib:debuginfo gtk:debuginfo gnome-vfs:debuginfo --sync-to-parents

FreeBSD

To our knowledge, there are no debug packages available. You need to recompile from source. Before doing so, you must include the following line in the /etc/make.conf file:

WITH_DEBUG=

Gentoo

See Gentoo documentation: http://www.gentoo.org/proj/en/qa/backtraces.xml

Mageia

See Mageia wiki: https://wiki.mageia.org/en/Debugging_software_crashes

Mandriva

See Mandriva wiki: http://wiki.mandriva.com/en/Development/Howto/Software_Crash

openSUSE

See openSUSE wiki: http://en.opensuse.org/openSUSE:Bugreport_application_crashed

Ubuntu

See Ubuntu wiki: https://wiki.ubuntu.com/DebuggingProgramCrash

GettingTraces/DistroSpecificInstructions (last edited 2012-01-14 10:09:15 by OlavVitters)