I am testing the newly released alpha version of Lyx 2.0 and I found the
same problem (I think) I had reported on previous svn version: with
continuous spellchecker enabled, lyx crashes when scrolling rapidly with the
scroll bar.
Here is what I did (and could repeat)

1. Start Lyx
2. enable continuous spelling
3. Open a large file
4. Scroll down with the scroll bar
5. Crash

If I uncheck continuous spelling, the problem disappears.



back trace:


Program received signal SIGSEGV, Segmentation fault.
0x0000000000580aad in lyx::TextMetrics::drawParagraph (this=0x1f3d0a8,
pi=..., pit=<value optimized out>,
    x=<value optimized out>, y=1028) at TextMetrics.cpp:2140
2140                                    text_->getPar(pit).spellCheck(from,
to, wl, suggestions, false);
(gdb) bt
#0  0x0000000000580aad in lyx::TextMetrics::drawParagraph (this=0x1f3d0a8,
pi=..., pit=<value optimized out>,
    x=<value optimized out>, y=1028) at TextMetrics.cpp:2140
#1  0x00000000005813f0 in lyx::TextMetrics::draw (this=0x1f3d0a8, pi=...,
x=0, y=728) at TextMetrics.cpp:2058
#2  0x00000000005af108 in lyx::BufferView::draw (this=0x1f3ec80, pain=...)
at BufferView.cpp:2651
#3  0x00000000007c845f in lyx::frontend::GuiWorkArea::updateScreen
(this=0x1f4bc40) at GuiWorkArea.cpp:987
#4  0x00000000007c9145 in lyx::frontend::GuiWorkArea::redraw
(this=0x1f4bc40,
    update_metrics=<value optimized out>) at GuiWorkArea.cpp:432
#5  0x0000000000781d15 in lyx::frontend::WorkAreaManager::redrawAll
(this=0x14a2240,
    update_metrics=<value optimized out>) at WorkAreaManager.cpp:37
#6  0x00000000005ae174 in lyx::BufferView::scrollDocView (this=0x1f3ec80,
value=1104) at BufferView.cpp:575
#7  0x00000000007c9523 in lyx::frontend::GuiWorkArea::scrollTo
(this=0x1f4bc40, value=1104)
    at GuiWorkArea.cpp:613
#8  0x00000000007c980b in lyx::frontend::GuiWorkArea::qt_metacall
(this=0x1f4bc40,
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x7fffffffc9e0) at moc_GuiWorkArea.cpp:85
#9  0x00007ffff605cc0f in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) ()
   from /usr/lib/libQtCore.so.4
#10 0x00007ffff6bb7a3e in QAbstractSlider::valueChanged(int) () from
/usr/lib/libQtGui.so.4
#11 0x00007ffff696d68a in QScrollBar::mouseMoveEvent(QMouseEvent*) () from
/usr/lib/libQtGui.so.4
#12 0x00007ffff657315f in QWidget::event(QEvent*) () from
/usr/lib/libQtGui.so.4
#13 0x00007ffff651d12c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007ffff6523efb in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#15 0x0000000000784ced in lyx::frontend::GuiApplication::notify
(this=0x252bfe0, receiver=0x7fffffffc4f0,
    event=0x7fffffffc4e8) at GuiApplication.cpp:2124
#16 0x00007ffff6049e0c in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/libQtCore.so.4
#17 0x00007ffff65230d6 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
from /usr/lib/libQtGui.so.4
#18 0x00007ffff65a2c65 in ?? () from /usr/lib/libQtGui.so.4
#19 0x00007ffff65a197a in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/libQtGui.so.4
#20 0x00007ffff65cd322 in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007ffff7744bce in g_main_context_dispatch () from
/lib/libglib-2.0.so.0
#22 0x00007ffff7748598 in ?? () from /lib/libglib-2.0.so.0
#23 0x00007ffff77486c0 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#24 0x00007ffff6073333 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
   from /usr/lib/libQtCore.so.4
#25 0x00007ffff65ccf0e in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007ffff6048732 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#27 0x00007ffff6048b0c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#28 0x00007ffff604c84b in QCoreApplication::exec() () from
/usr/lib/libQtCore.so.4
#29 0x00000000005040bf in lyx::LyX::exec (this=<value optimized out>,
argc=<value optimized out>,
    argv=<value optimized out>) at LyX.cpp:360
#30 0x000000000043aacf in main (argc=1, argv=0x7fffffffe298) at main.cpp:46



-- 
__________________________________________________
Stefano Franchi
Department of Philosophy           Ph:   (1) 979 862-2211
Texas A&M University                 Fax: (1) 979 845-0458
College Station, Texas, USA

Reply via email to