Debugging/CoreDumps

Not logged in - Log In / Register

A quick sketch of how to read core files produced from production machines by IS.

  1. Have core dump files moved to osageorange
  2. Ensure you have access to osageorange
    You'll need to ping a member of IS on #launchpad-ops to get access; you cannot ssh from devpad to osageorange.

  3. Get pygdb (lp:pygdb) in your $HOME on osageorange
  4. ssh to orageorange, and do
    schroot -c lucid-cat-amd64
    This puts you in a chroot with the same packages installed as on production.

  5. Then cd into pygdb dir and do something like:
    python backtrace.py -c $PATH_TO_FILE/core.XXX > ~/core.XXX-out.txt

  6. Read output and profit!

Debugging/CoreDumps (last edited 2019-08-22 11:38:51 by cjwatson)