See ticket http://www.lyx.org/trac/ticket/7361
AFAICS, the problem here is the error position at the first empty paragraph of the document. The attached patch stops the goto in this case. Enrico, do you have a better solution? Stephan
Index: src/frontends/qt4/GuiErrorList.cpp =================================================================== --- src/frontends/qt4/GuiErrorList.cpp (Revision 37939) +++ src/frontends/qt4/GuiErrorList.cpp (Arbeitskopie) @@ -173,8 +173,13 @@ } // If this paragraph is empty, highlight the previous one - while (dit.paragraph().empty()) + while (dit.paragraph().empty()) { dit.backwardPos(); + if (dit.empty()) { + LYXERR0("par id " << err.par_id << " invalid"); + return false; + } + } // Now make the selection. // if pos_end is 0, this means it is end-of-paragraph