> Pavel Sanda wrote: > > > playing with it i finally found a recipe to crash mentioned in bug 4316. > > are you able to reproduice i? > > No. Do you have a backtrace?
see attachment. > > 1. launch lyx > > 2. new file, insert box > > 3. type "d" inside box > > 4. type "d" before box > > 5. open new window 2 > > 6. in window 2 click on box inset to collapse > > 7. in window 2 click on box inset to uncollapse > > 8. in window 1 click on box inset to uncollapse > > Here, the box inset in window 1 was uncollapsed also in step 7. doesnt matter, simply click on inset and move with mouse. pavel
Starting program: /home/installer/lyx/dbg_1.5/src/lyx Assertion triggered in lyx::pit_type lyx::Text::getPitNearY(lyx::BufferView&, int) const by failing check "bv.coordCache().getParPos().find(this) != bv.coordCache().getParPos().end()" in file Text2.cpp:801 LyX: Attempting to save document newfile1.lyx /home/installer/newfile1.lyx.emergency Save seems successful. Phew. Program received signal SIGABRT, Aborted. 0xffffe410 in __kernel_vsyscall () (gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0xb7099101 in raise () from /lib/libc.so.6 #2 0xb709a8e8 in abort () from /lib/libc.so.6 #3 0x0897b4e5 in lyx::support::abort () at abort.cpp:25 #4 0x0808a848 in boost::assertion_failed (expr=0x8a86c7c "bv.coordCache().getParPos().find(this) != bv.coordCache().getParPos().end()", function=0x8a86ee0 "lyx::pit_type lyx::Text::getPitNearY(lyx::BufferView&, int) const", file=0x8a86b57 "Text2.cpp", line=801) at boost.cpp:56 #5 0x083e5f85 in lyx::Text::getPitNearY (this=0x8fe84a0, [EMAIL PROTECTED], y=55) at Text2.cpp:801 #6 0x08130bf5 in lyx::BufferView::getCoveringInset (this=0x8db58e0, [EMAIL PROTECTED], x=73, y=55) at BufferView.cpp:1082 #7 0x081315da in lyx::BufferView::getCoveringInset (this=0x8db58e0, [EMAIL PROTECTED], x=73, y=55) at BufferView.cpp:1109 #8 0x08132188 in lyx::BufferView::workAreaDispatch (this=0x8db58e0, [EMAIL PROTECTED]) at BufferView.cpp:1154 #9 0x086b3090 in lyx::frontend::WorkArea::dispatch (this=0x8e26984, [EMAIL PROTECTED], k=lyx::key_modifier::none) at WorkArea.cpp:218 #10 0x08721db9 in lyx::frontend::GuiWorkArea::mouseMoveEvent (this=0x8e26970, e=0xbfecf5ac) at GuiWorkArea.cpp:414 #11 0xb797cc10 in QWidget::event () from /usr/lib/qt4/libQtGui.so.4 #12 0xb7c483cb in QFrame::event () from /usr/lib/qt4/libQtGui.so.4 #13 0xb7cc47d1 in QAbstractScrollArea::viewportEvent () from /usr/lib/qt4/libQtGui.so.4 #14 0xb7cc6418 in ?? () from /usr/lib/qt4/libQtGui.so.4 #15 0xb793c9df in QApplicationPrivate::notify_helper () from /usr/lib/qt4/libQtGui.so.4 #16 0xb793eae3 in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4 #17 0x08708500 in lyx::frontend::GuiApplication::notify (this=0x8d35c38, receiver=0x8db51f8, event=0xbfecf5ac) at GuiApplication.cpp:254 #18 0xb75a0090 in QCoreApplication::notifyInternal () from /usr/lib/qt4/libQtCore.so.4 #19 0xb798fcca in ?? () from /usr/lib/qt4/libQtGui.so.4 #20 0xb798e7f4 in QApplication::x11ProcessEvent () from /usr/lib/qt4/libQtGui.so.4 #21 0xb79b1650 in ?? () from /usr/lib/qt4/libQtGui.so.4 #22 0xb759f6bd in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore.so.4 #23 0xb759f7a2 in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4 #24 0xb75a122d in QCoreApplication::exec () from /usr/lib/qt4/libQtCore.so.4 #25 0xb793bf85 in QApplication::exec () from /usr/lib/qt4/libQtGui.so.4 #26 0x08707520 in lyx::frontend::GuiApplication::exec (this=0x8d35c38) at GuiApplication.cpp:175 #27 0x082cf8c9 in lyx::LyX::exec (this=0xbfed04ac, [EMAIL PROTECTED], argv=0xbfed0564) at LyX.cpp:480 #28 0x0806c38a in main (argc=1, argv=Cannot access memory at address 0x998 ) at main.cpp:48 (gdb) #0 0xffffe410 in __kernel_vsyscall () #1 0xb7099101 in raise () from /lib/libc.so.6 #2 0xb709a8e8 in abort () from /lib/libc.so.6 #3 0x0897b4e5 in lyx::support::abort () at abort.cpp:25 #4 0x0808a848 in boost::assertion_failed (expr=0x8a86c7c "bv.coordCache().getParPos().find(this) != bv.coordCache().getParPos().end()", function=0x8a86ee0 "lyx::pit_type lyx::Text::getPitNearY(lyx::BufferView&, int) const", file=0x8a86b57 "Text2.cpp", line=801) at boost.cpp:56 #5 0x083e5f85 in lyx::Text::getPitNearY (this=0x8fe84a0, [EMAIL PROTECTED], y=55) at Text2.cpp:801 #6 0x08130bf5 in lyx::BufferView::getCoveringInset (this=0x8db58e0, [EMAIL PROTECTED], x=73, y=55) at BufferView.cpp:1082 #7 0x081315da in lyx::BufferView::getCoveringInset (this=0x8db58e0, [EMAIL PROTECTED], x=73, y=55) at BufferView.cpp:1109 #8 0x08132188 in lyx::BufferView::workAreaDispatch (this=0x8db58e0, [EMAIL PROTECTED]) at BufferView.cpp:1154 #9 0x086b3090 in lyx::frontend::WorkArea::dispatch (this=0x8e26984, [EMAIL PROTECTED], k=lyx::key_modifier::none) at WorkArea.cpp:218 #10 0x08721db9 in lyx::frontend::GuiWorkArea::mouseMoveEvent (this=0x8e26970, e=0xbfecf5ac) at GuiWorkArea.cpp:414 #11 0xb797cc10 in QWidget::event () from /usr/lib/qt4/libQtGui.so.4 #12 0xb7c483cb in QFrame::event () from /usr/lib/qt4/libQtGui.so.4 #13 0xb7cc47d1 in QAbstractScrollArea::viewportEvent () from /usr/lib/qt4/libQtGui.so.4 #14 0xb7cc6418 in ?? () from /usr/lib/qt4/libQtGui.so.4 #15 0xb793c9df in QApplicationPrivate::notify_helper () from /usr/lib/qt4/libQtGui.so.4 #16 0xb793eae3 in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4 #17 0x08708500 in lyx::frontend::GuiApplication::notify (this=0x8d35c38, receiver=0x8db51f8, event=0xbfecf5ac) at GuiApplication.cpp:254 #18 0xb75a0090 in QCoreApplication::notifyInternal () from /usr/lib/qt4/libQtCore.so.4 #19 0xb798fcca in ?? () from /usr/lib/qt4/libQtGui.so.4 #20 0xb798e7f4 in QApplication::x11ProcessEvent () from /usr/lib/qt4/libQtGui.so.4 #21 0xb79b1650 in ?? () from /usr/lib/qt4/libQtGui.so.4 #22 0xb759f6bd in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore.so.4 #23 0xb759f7a2 in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4 #24 0xb75a122d in QCoreApplication::exec () from /usr/lib/qt4/libQtCore.so.4 #25 0xb793bf85 in QApplication::exec () from /usr/lib/qt4/libQtGui.so.4 #26 0x08707520 in lyx::frontend::GuiApplication::exec (this=0x8d35c38) at GuiApplication.cpp:175 #27 0x082cf8c9 in lyx::LyX::exec (this=0xbfed04ac, [EMAIL PROTECTED], argv=0xbfed0564) at LyX.cpp:480 #28 0x0806c38a in main (argc=1, argv=Cannot access memory at address 0x998) at main.cpp:48