Monthly Archives: September 2014

Extract a Backtrace from a Running Daemon

More Information

http://www.bonsai.com/wiki/howtos/debugging/daemon_backtrace/
GDB Documentation

Attach to the daemon with gdb

IMPORTANT NOTES:

  1. You’ll need to be root (or the owner of the daemon process).
  2. You’ll want to do this first part “briskly” since the daemon will be stopped until you give the “continue” command.
  3. This is reasonably invasive; be prepared to restart the daemon if something goes wrong.
    Continue reading