Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Steps to get a gdb backtrace:

 

  1. You need the 1.4.2 PBI with debug symbols. Get it from here: http://sourceforge.net/projects/urbackup/files/Server/1.4.2/urbackup-server-1.4.2-amd64-dbg.pbi/download Use the instructions here to install the different version: Upgrading UrBackup on FreeNAS (via PBI)
  2. Enter the shell of the UrBackup plugin jail
  3. Install gdb in the shell via the command
    pkg_add -r gdb
  4. Shutdown the urbackup server:
    killall urbackup_srv
  5. Install tmux:
    pkg_add -r tmux
  6. Run tmux:
    tmux
  7. Start the UrBackup server in gdb:
    start_urbackup_server --loglevel debug --run_in_gdb
  8. Start the program in gdb:
    run
  9. Once it crashed enter the shell of the plugin jail again and attach to the tmux session:
    tmux attach
  10. Enter "bt" to get the backtrace to the location it crashed:
    bt
  11. Add the trace information to your bug report