Dave's Brain

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

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.