Recently there was a backtrace reported. The crash would not occur if the
following is appplied. This does not cure the (still unknown) problem,
though.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)
Index: mathed/formulabase.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/formulabase.C,v
retrieving revision 1.212
diff -u -p -r1.212 formulabase.C
--- mathed/formulabase.C        20 Sep 2002 12:36:36 -0000      1.212
+++ mathed/formulabase.C        8 Oct 2002 12:59:34 -0000
@@ -235,6 +235,12 @@ void InsetFormulaBase::toggleInsetCursor
 
 void InsetFormulaBase::showInsetCursor(BufferView * bv, bool)
 {
+       if (!mathcursor) {
+               // let's not Assert() on this for a while
+               lyxerr[Debug::MATHED]
+                       << "InsetFormulaBase::showInsetCursor(): should not happen\n";
+               return;
+       }
        if (isCursorVisible())
                return;
        fitInsetCursor(bv);
@@ -249,6 +255,12 @@ void InsetFormulaBase::showInsetCursor(B
 
 void InsetFormulaBase::hideInsetCursor(BufferView * bv)
 {
+       if (!mathcursor) {
+               // let's not Assert() on this for a while
+               lyxerr[Debug::MATHED]
+                       << "InsetFormulaBase::hideInsetCursor(): should not happen\n";
+               return;
+       }
        if (!isCursorVisible())
                return;
        bv->hideLockedInsetCursor();

Reply via email to