Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

In case the UrBackup server crashes on FreeNAS a gdb stacktrace is a very helpful tool in finding the cause of the crash.

 

Steps to get a gdb backtrace:

 

  1. Enter the shell of the UrBackup plugin jail
  2. Install gdb in the shell via the command
    pkg_add -r gdb
  3. Shutdown the urbackup server:
    killall urbackup_srv
  4. Install tmux:
    pkg_add -r tmux
  5. Run tmux:
    tmux
  6. Start the UrBackup server in gdb:
    start_urbackup_server --loglevel debug --run_in_gdb
  7. Start the program in gdb:
    run
  8. Once it crashed enter the shell of the plugin jail again and attach to the tmux session:
    tmux attach
  9. Enter "bt" to get the backtrace to the location it crashed:
    bt
  10. Add the trace information to your bug report
  • No labels