Dave's Brain

Browse - computer tips - get a stack trace from anything in fedora

Date: 2010feb10
OS: RedHat/Fedora

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
What this info useful to you? You can donate to say thanks

Add a comment

Sign in to add a comment
Copyright © 2008-2010, 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.