Compiling without optimisation was not the solution. It worked for annotating a test file, but the same error occured when saving an xournal file to pdf (without loading any pdf).
Now gdb worked fine, and I found that len is declared wrongly. It should be a guint32, not a gsize. Changing this declaration seemed to fix the bug. -- xournal crashes on "save as pdf" if text input has been used when annotating a pdf https://bugs.launchpad.net/bugs/474468 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs