HOWTO: Handling a crash

If you experience a Hiawatha crash, please follow these instructions to help me find the bug:

  • Make sure you have the latest version of Hiawatha.
  • Install valgrind
  • Recompile Hiawatha without stripping the binary. Its size should be around 850kb instead of the usual 220kb.
  • Run Hiawatha via valgrind
    bash
    sudo valgrind --tool=memcheck --leak-check=full ./hiawatha -d 2> valgrind.txt
    
  • Reproduce the crash and send the valgrind.txt file to hugo@leisink.net.

Thanks in advance!