Martin Vermeer wrote: > Are you sure it's this? Doesn't look related. Yes. Reverting this fixes the problem.
> OK, I'll revert branch. > Does it crash in both trunk and branch? I guess so (haven't compiled trunk with --enable-stdlib-debug). Note, however, that the _renaming_ was the culprit. The attached patch works fine. I guess you have erroneously renamed a call to a non-math-grid function called addRow to appendRow. So for trunk, just reverting the renaming might do. > You'll still have to fix 4323 though... a workaround could be the attached. I prefer the attached. Jürgen
Index: src/mathed/InsetMathGrid.cpp =================================================================== --- src/mathed/InsetMathGrid.cpp (Revision 21438) +++ src/mathed/InsetMathGrid.cpp (Arbeitskopie) @@ -1197,7 +1197,7 @@ row_type const r = cur.row(); col_type const c = cur.col(); for (int i = 0, n = extractInt(is); i < n; ++i) - addCol(cur.col()); + addCol(cur.col() + 1); cur.idx() = index(r, c); } else if (s == "delete-column") {