It's quite easy to trigger an assert when selecting a math inset. Here's a, possibly inaccurate, backtrace (compiled -g -O):
#0 0x00487c32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00300989 in raise () from /lib/tls/libc.so.6 #2 0x00302342 in abort () from /lib/tls/libc.so.6 #3 0x0831cd17 in lyx::support::abort() () at ../../../src/support/abort.C:19 #4 0x0809f77a in boost::assertion_failed(char const*, char const*, char const*, long) (expr=0x836b1e9 "anchor_.size() >= size()", function=0x836b0a0 "CursorSlice LCursor::anchor() const", file=0x836b136 "../../src/cursor.C", line=283) at ../../src/boost.C:56 #5 0x080c4d0d in LCursor::anchor() const (this=0x898d4d0) at stl_vector.h:415 #6 0x080c4df6 in LCursor::selBegin() const (this=0x898d4d0) at stl_vector.h:581 #7 0x08186fd5 in MathNestInset::drawSelection(PainterInfo&, int, int) const ( this=0x89eca70, [EMAIL PROTECTED]) at ../../../src/mathed/math_nestinset.C:205 #8 0x08138d19 in (anonymous namespace)::RowPainter::paintInset(int) ( this=0xbfea5910, pos=137894568) at ../../src/rowpainter.C:203 However, before I expend any energy on debugging this, I want to know if selection in mathed is 'meant' to be broken? I know it was some time ago but I can't remember the details. Maybe Alfredo or Andre' could put me straight? -- Angus