Guy Rutenberg wrote:
Hi,
I've encountered a strange assertion error when clicking the left
boundary of a formula contained in a long line of Hebrew text.
Confirmed on Linux. I got it when the cursor was in the formula, and
then I clicked on the left boundary.
gdb /cvs/lyx-devel/trunk/src/lyx --interpreter=mi2 -quiet
Using host libthread_db library "/lib64/libthread_db.so.1".
(gdb) bt
bt
#0 0x0000003926830ec5 in raise () from /lib64/libc.so.6
#1 0x0000003926832970 in abort () from /lib64/libc.so.6
#2 0x0000000000613a6a in lyx::lyx_exit (exit_code=8579) at LyX.cpp:200
#3 0x0000000000465dce in boost::assertion_failed (expr=0xdfff96
"false", function=0xf28400 "void lyx::doAssert(const char*, const char*,
long int)", file=0xf283c8 "lassert.cpp", line=23) at boost.cpp:47
#4 0x0000000000d7f1af in lyx::doAssert (expr=0xe37e40 "(pos != 0 &&
inset == insetBefore) || inset == pars[pit].getInset(pos)",
file=0xe37b64 "TextMetrics.cpp", line=1436) at lassert.cpp:23
#5 0x000000000073365e in lyx::TextMetrics::editXY (this=0x2de9cb8,
[EMAIL PROTECTED], x=355, y=38) at TextMetrics.cpp:1435
#6 0x000000000078a32d in lyx::BufferView::mouseEventDispatch
(this=0x2ddb230, [EMAIL PROTECTED]) at BufferView.cpp:1614
#7 0x0000000000aec31d in lyx::frontend::GuiWorkArea::dispatch
(this=0x2d95110, cmd0=<value optimized out>, mod=lyx::NoModifier) at
GuiWorkArea.cpp:466
#8 0x0000000000aed3f5 in lyx::frontend::GuiWorkArea::mousePressEvent
(this=0x2d95110, e=0x7fff46a798d0) at GuiWorkArea.cpp:693
#9 0x0000003a07fce430 in QWidget::event () from /usr/lib64/libQtGui.so.4
#10 0x0000003a082caa46 in QFrame::event () from /usr/lib64/libQtGui.so.4
#11 0x0000003a0834f96a in QAbstractScrollArea::viewportEvent () from
/usr/lib64/libQtGui.so.4
#12 0x0000003a08350b18 in QAbstractItemModel::sort () from
/usr/lib64/libQtGui.so.4
#13 0x0000003a07937a1f in
QCoreApplicationPrivate::sendThroughObjectEventFilters () from
/usr/lib64/libQtCore.so.4
#14 0x0000003a07f82650 in QApplicationPrivate::notify_helper () from
/usr/lib64/libQtGui.so.4
#15 0x0000003a07f87687 in QApplication::notify () from
/usr/lib64/libQtGui.so.4
#16 0x0000000000aa1ad4 in lyx::frontend::GuiApplication::notify
(this=0x2183, receiver=0x2183, event=0x6) at GuiApplication.cpp:1200
#17 0x0000003a07937719 in QCoreApplication::notifyInternal () from
/usr/lib64/libQtCore.so.4
#18 0x0000003a07f85201 in QApplicationPrivate::sendMouseEvent () from
/usr/lib64/libQtGui.so.4
#19 0x0000003a07fe5259 in QAbstractItemModel::sort () from
/usr/lib64/libQtGui.so.4
#20 0x0000003a07fe415b in QApplication::x11ProcessEvent () from
/usr/lib64/libQtGui.so.4
#21 0x0000003a08008d68 in QAbstractItemModel::sort () from
/usr/lib64/libQtGui.so.4
#22 0x000000346c42ef53 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#23 0x000000346c43224d in QAbstractItemModel::sort () from
/lib64/libglib-2.0.so.0
#24 0x000000346c43277e in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#25 0x0000003a0796011e in QEventDispatcherGlib::processEvents () from
/usr/lib64/libQtCore.so.4
#26 0x0000003a08008b6f in QAbstractItemModel::sort () from
/usr/lib64/libQtGui.so.4
#27 0x0000003a07936b35 in QEventLoop::processEvents () from
/usr/lib64/libQtCore.so.4
#28 0x0000003a07936c9a in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#29 0x0000003a07938cd9 in QCoreApplication::exec () from
/usr/lib64/libQtCore.so.4
#30 0x0000000000a9f6e1 in lyx::frontend::GuiApplication::exec
(this=<value optimized out>) at GuiApplication.cpp:1027
#31 0x000000000061d4b5 in lyx::LyX::exec (this=0x7fff46a7bcc0,
[EMAIL PROTECTED], argv=<value optimized out>) at LyX.cpp:343
#32 0x0000000000434918 in main (argc=1, argv=0x7fff46a7bdc8) at main.cpp:46
^done
rh