Browse - Computer Tips - How can I get a stack trace for a Fedora program?

Date: 2010feb10
OS: Linux
Distro: RedHat/Fedora/CentOS

Q.  How can I get a stack trace for a Fedora program?
I don't want to install all the development libraries!

A.  The debuginfo-install command is just for this!
Its in the yum-utils package.
For example, if the curl command was crashing for you -- try this:

# debuginfo-install curl # gdb -q --args curl http://mysite.com (gdb) r (gdb) bt