See detail in bugzilla: http://bugzilla.lyx.org/show_bug.cgi?id=2446
Committing now. Abdel.
Index: Text3.cpp =================================================================== --- Text3.cpp (revision 18398) +++ Text3.cpp (working copy) @@ -1337,6 +1337,7 @@ case LFUN_MATH_BIGDELIM: { cur.insert(new InsetMathHull(hullSimple)); cur.dispatch(FuncRequest(LFUN_CHAR_FORWARD)); + BOOST_ASSERT(cur.inMathed()); cur.dispatch(cmd); break; }