If you start LO with: VCL_DOUBLEBUFFERING_FORCE_ENABLE=1 SAL_USE_VCLPLUGIN=gtk ./soffice.bin and you create a comment, then type "asdf " or any other words that are not in the dictionary, then the spellcheck's red wave will be painted directly, resulting in a failing assert.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=71aed9185fb17ee27bdc38b4ac650713c4cabb8b tdf#93384 editeng rendercontext: don't paint spellcheck result directly It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-5-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=bc4904aba89bcbe267ca705ff76fc9d8629f73a3&h=libreoffice-5-0 tdf#93384 editeng rendercontext: don't paint spellcheck result directly It will be available in 5.0.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.