To reproduce: 1. Open the attached example. 2. Put the cursor just after the Note inset. 3. Press <Backspace> twice.
I get a SIGSEGV with the attached backtrace. Can anyone else reproduce on current master? Scott
example-sigsegv-on-delete-note-inset.23.lyx
Description: application/lyx
Thread 1 "lyx" received signal SIGSEGV, Segmentation fault. 0x0000006500000074 in ?? () (gdb) bt #0 0x0000006500000074 in ?? () #1 0x0000555555993cdb in lyx::RowPainter::paintInset (this=0x7fffffffb990, e=...) at /home/scott/lyxbuilds/master-master/repo/src/RowPainter.cpp:104 #2 0x0000555555996b39 in lyx::RowPainter::paintOnlyInsets (this=0x7fffffffb990) at /home/scott/lyxbuilds/master-master/repo/src/RowPainter.cpp:550 #3 0x0000555555a081a7 in lyx::TextMetrics::drawParagraph (this=0x555557b8c3c8, pi=..., pit=1, x=0, y=88) at /home/scott/lyxbuilds/master-master/repo/src/TextMetrics.cpp:2070 #4 0x0000555555a112be in lyx::TextMetrics::draw (this=0x555557b8c3c8, pi=..., x=0, y=88) at /home/scott/lyxbuilds/master-master/repo/src/TextMetrics.cpp:2039 #5 0x00005555557ce28b in lyx::BufferView::draw (this=0x5555576225b0, pain=..., paint_caret=false) at /home/scott/lyxbuilds/master-master/repo/src/BufferView.cpp:3631 #6 0x00005555557cddf0 in lyx::BufferView::updatePosCache (this=0x5555576225b0) at /home/scott/lyxbuilds/master-master/repo/src/BufferView.cpp:3223 #7 0x00005555557bb5c6 in lyx::BufferView::updateMetrics (this=0x5555576225b0, force=false) at /home/scott/lyxbuilds/master-master/repo/src/BufferView.cpp:3209 #8 0x00005555557ba6ff in lyx::BufferView::processUpdateFlags (this=0x5555576225b0, flags=(lyx::Update::FitCursor | lyx::Update::ForceDraw)) at /home/scott/lyxbuilds/master-master/repo/src/BufferView.cpp:554 #9 0x0000555555dabce4 in lyx::frontend::GuiApplication::updateCurrentView (this=0x55555657fba0, cmd=..., dr=...) at /home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiApplication.cpp:1607 #10 0x0000555555dabb9d in lyx::frontend::GuiApplication::dispatch (this=0x55555657fba0, cmd=...) at /home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiApplication.cpp:1584 #11 0x000055555592274a in lyx::dispatch (action=...) at /home/scott/lyxbuilds/master-master/repo/src/LyX.cpp:1489 #12 0x0000555555db2da9 in lyx::frontend::GuiApplication::processFuncRequest (this=0x55555657fba0, func=...) at /home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiApplication.cpp:2514 #13 0x0000555555db4db1 in lyx::frontend::GuiApplication::processKeySym (this=0x55555657fba0, keysym=..., state=0) at /home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiApplication.cpp:2508 #14 0x0000555555e2dae7 in lyx::frontend::GuiWorkArea::processKeySym (this=0x555557599730, key=..., mod=0) at /home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiWorkArea.cpp:402 #15 0x0000555555e3708a in lyx::frontend::GuiWorkArea::qt_static_metacall (_o=0x555557599730, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fffffffcd80) at /home/scott/lyxbuilds/master-master/CMakeBuild/src/frontends/qt/moc_GuiWorkArea.cpp:127 #16 0x00007ffff6af39dc in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #17 0x0000555555e30209 in lyx::frontend::CompressorProxy::signal (this=0x55555769ed00, _t1=..., _t2=0) at /home/scott/lyxbuilds/master-master/CMakeBuild/src/frontends/qt/moc_GuiWorkArea.cpp:371 #18 0x0000555555e300fd in lyx::frontend::CompressorProxy::slot (this=0x55555769ed00, sym=..., mod=0, isAutoRepeat=false) at /home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiWorkArea.cpp:1021 #19 0x0000555555e375ac in lyx::frontend::CompressorProxy::qt_static_metacall (_o=0x55555769ed00, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x555557b16e00) at /home/scott/lyxbuilds/master-master/CMakeBuild/src/frontends/qt/moc_GuiWorkArea.cpp:312 #20 0x00007ffff6ae7de0 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #21 0x00007ffff776bf92 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #22 0x0000555555db95bf in lyx::frontend::GuiApplication::notify (this=0x55555657fba0, receiver=0x55555769ed00, event=0x7fffe4004910) at /home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiApplication.cpp:3001 #23 0x00007ffff6abae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #24 0x00007ffff6abdea1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #25 0x00007ffff6b157b7 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #26 0x00007ffff671449d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #27 0x00007ffff676f178 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #28 0x00007ffff67131b0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #29 0x00007ffff6b14e7a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #30 0x00007ffff6ab97cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #31 0x00007ffff6ac1c1a in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #32 0x0000555555db7ba3 in lyx::frontend::GuiApplication::exec (this=0x55555657fba0) at /home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiApplication.cpp:2764 #33 0x000055555591b80d in lyx::LyX::exec (this=0x7fffffffd880, argc=@0x7fffffffd898: 2, argv=0x7fffffffd9b8) at /home/scott/lyxbuilds/master-master/repo/src/LyX.cpp:377 #34 0x0000555555aab703 in main (argc=2, argv=0x7fffffffd9b8) at /home/scott/lyxbuilds/master-master/repo/src/main.cpp:55
signature.asc
Description: PGP signature
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel