1. What's the problem
Please write us exactly what's the problem, and also a step by step guide to reproduce, if possible.
If Xournal++ crashes if you do something it's really important for us to know where it crashed. Please go to the source code in Xournal++, open /src/util/XournalType.h in your preferd texteditor and remove the Comment "//" before "#define XOJ_CALL_LOG_ENABLED"
Before it looks like:
#define XOJ_MEMORY_CHECK_ENABLED #define XOJ_MEMORY_LEAK_CHECK_ENABLED //#define XOJ_CALL_LOG_ENABLED #ifdef XOJ_MEMORY_CHECK_ENABLED
After it looks like:
#define XOJ_MEMORY_CHECK_ENABLED #define XOJ_MEMORY_LEAK_CHECK_ENABLED #define XOJ_CALL_LOG_ENABLED #ifdef XOJ_MEMORY_CHECK_ENABLED
please recompile the whole Xournal++:
make clean make
Then produce the crash again, and send the Logfiles to us. The Logfile is located in the folder where you're started Xournal++, and it's called "xournalCalls.log"