OK, I've found the bloody source of the tabular crash. I don't know what this resetPos() method is for but it should be used carefully.

Will commit soon if there's no objection.

Abdel.
Index: insettabular.C
===================================================================
--- insettabular.C      (revision 15403)
+++ insettabular.C      (working copy)
@@ -478,7 +478,7 @@
                cur.pit() = 0;
                cur.pos() = cur.lastpos(); // FIXME crude guess
        }
-       // this accesses the position cache before it is initialized
+       // FIXME: this accesses the position cache before it is initialized
        //resetPos(cur);
        //cur.bv().fitCursor();
 }
@@ -783,7 +783,8 @@
                break;
        }
 
-       resetPos(cur);
+       // FIXME: this accesses the position cache before it is initialized
+       //resetPos(cur);
        InsetTabularMailer(*this).updateDialog(&cur.bv());
 }
 
@@ -1302,7 +1303,9 @@
        }
        cur.pit() = cur.lastpit();
        cur.pos() = cur.lastpos();
-       resetPos(cur);
+
+       // this accesses the position cache before it is initialized
+       //      resetPos(cur);
 }
 
 

Reply via email to