On Wed, Nov 13, 2002 at 11:28:51AM -0500, Dr. Richard E. Hawkins wrote: > Program received signal SIGSEGV, Segmentation fault. > MathCursor::depth (this=0x0) at /usr/include/g++/stl_vector.h:210 > 210 { return size_type(end() - begin()); } > (gdb) bt > #0 MathCursor::depth (this=0x0) at /usr/include/g++/stl_vector.h:210 > #1 0x822acef in MathCursor::cursor (this=0x0) at math_cursor.C:945 > #2 0x8229f21 in MathCursor::par (this=0x0) at math_cursor.C:670 > #3 0x8229e8f in MathCursor::getPos (this=0x0, x=@0xbfbfe4b4, > y=@0xbfbfe4b8) > at math_cursor.C:654 > #4 0x821af97 in InsetFormulaBase::showInsetCursor (this=0x8701e80, > bv=0x8614060) at formulabase.C:242
The math cursor was non-existent (which should be the case if and only if the cursor is outside math) but a math inset was asked to display the cursor. This should not really happen. I just put in two lines to replace the crash with an error message. Please tell me when you see some mesage like "InsetCursor impossible" in the future. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)