To reproduce the problem I'm experiencing with LyX 2.1git, do the following: 1. Export the English Additional.lyx manual to LyX 2.0 format. 2. Open the file created in step 1.
With configuration A [1], LyX crashes with the following output: $ lyx Additional.lyx Warning: Lyx2lyx knows nothing about module 'multicol'. Please check if short title insets have been converted correctly. Warning: Lyx2lyx knows nothing about module 'shapepar'. Please check if short title insets have been converted correctly. /usr/include/c++/4.7/debug/safe_iterator.h:521:error: attempt to compare a singular iterator to a past-the-end iterator. Objects involved in the operation: iterator "lhs" @ 0x0x7fffd3a5b220 { type = N11__gnu_debug14_Safe_iteratorISt23_Rb_tree_const_iteratorISt4pairIKSsN3lyx6Layout8latexargEEENSt7__debug3mapISsS6_St4lessISsESaIS7_EEEEE (constant iterator); state = singular; } iterator "rhs" @ 0x0x7fffd3a5b250 { type = N11__gnu_debug14_Safe_iteratorISt17_Rb_tree_iteratorISt4pairIKSsN3lyx6Layout8latexargEEENSt7__debug3mapISsS6_St4lessISsESaIS7_EEEEE (mutable iterator); state = past-the-end; references sequence with type `NSt7__debug3mapISsN3lyx6Layout8latexargESt4lessISsESaISt4pairIKSsS3_EEEE' @ 0x0x7fffd3a5b250 } Aborted (core dumped) $ With Configuration B [2], the CPU goes to 100% and stays there (note that RAM does not noticeably increase). Can anyone else reproduce? Scott [1] Configuration A Configuration Host type: x86_64-unknown-linux-gnu Special build flags: build=development warnings assertions stdlib-debug concept-checks use-enchant use-hunspell C++ Compiler: g++ (4.7) C++ Compiler LyX flags: C++ Compiler flags: -Wextra -Wall -g -O Linker flags: Linker user flags: Qt 4 Frontend: Qt 4 version: 4.8.4 Packaging: posix LyX binary dir: /usr/local/bin LyX files dir: /usr/local/share/lyx [2] Configuration B Host type: x86_64-unknown-linux-gnu Special build flags: build=release use-enchant use-hunspell C++ Compiler: g++ (4.7) C++ Compiler LyX flags: C++ Compiler flags: -O2 Linker flags: Linker user flags: Qt 4 Frontend: Qt 4 version: 4.8.4 Packaging: posix LyX binary dir: /usr/local/bin LyX files dir: /usr/local/share/lyx