Crash in document settings

Pavel Sanda sanda at lyx.org
Tue Mar 7 11:59:42 UTC 2023


On Tue, Mar 07, 2023 at 12:49:24PM +0100, Pavel Sanda wrote:
> Hi,
> 
> I am struggling to get exact recipy, but I am repeatedly getting
> crashes with document settings dialog, modules panel.

I think I have the recipy:
1. go to the document setting -> modules
2. click in avail modules 'Maths'
3. click *and hold* 'Accesibility'
4. while holding move mouse to the Braille item below Accesibility
5. kaboom

anyone can reproduce?


> Thread 1 "lyx" received signal SIGSEGV, Segmentation fault.
> 0x00007ffff76b5460 in QStandardItem::rowCount() const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
> (gdb) bt
> #0  0x00007ffff76b5460 in QStandardItem::rowCount() const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
> #1  0x00007ffff76b5609 in QStandardItem::hasChildren() const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
> #2  0x0000555555e3cbd8 in lyx::frontend::ModuleSelectionManager::updateAddPB (this=0x55555baf7c40)
>     at GuiDocument.cpp:328
> #3  0x0000555555f5d89d in lyx::frontend::GuiSelectionManager::update (this=0x55555baf7c40)
>     at GuiSelectionManager.cpp:104
> #4  0x0000555555e6235a in lyx::frontend::GuiDocument::updateModuleInfo (this=0x5555577557b0) at GuiDocument.cpp:3323
> #5  0x0000555555e6bd95 in lyx::frontend::GuiDocument::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, 
>     _id=<optimized out>, _a=<optimized out>) at moc_GuiDocument.cpp:373
> #6  0x00007ffff6f3d5e0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #7  0x0000555555f5d40a in lyx::frontend::GuiSelectionManager::updateHook (this=this at entry=0x55555baf7c40)
>     at moc_GuiSelectionManager.cpp:214
> #8  0x0000555555f5d8f7 in lyx::frontend::GuiSelectionManager::availableChanged (this=this at entry=0x55555baf7c40, 
>     idx=...) at GuiSelectionManager.cpp:222
> #9  0x0000555555f5e171 in lyx::frontend::GuiSelectionManager::availableChanged (this=0x55555baf7c40, qis=...)
>     at GuiSelectionManager.cpp:212
> #10 0x0000555555f5e2fd in lyx::frontend::GuiSelectionManager::qt_static_metacall (_o=<optimized out>, 
>     _c=<optimized out>, _id=<optimized out>, _a=0x7fffffffd280) at moc_GuiSelectionManager.cpp:129
> #11 0x00007ffff6f3d5e0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #12 0x00007ffff6eb1f00 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) ()
>    from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #13 0x00007ffff6ebaace in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #14 0x00007ffff7c94694 in QTreeViewPrivate::select(QModelIndex const&, QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #15 0x00007ffff7c94d9e in QTreeView::setSelection(QRect const&, QFlags<QItemSelectionModel::SelectionFlag>) ()
>    from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #16 0x00007ffff7c2cbc4 in QAbstractItemView::mouseMoveEvent(QMouseEvent*) ()
>    from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #17 0x00007ffff7a0afae in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #18 0x00007ffff7ab342e in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #19 0x00007ffff6f06d33 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
>    from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #20 0x00007ffff79cb14e in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
>    from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #21 0x00007ffff79d204b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #22 0x0000555555d4fd97 in lyx::frontend::GuiApplication::notify (this=0x55555631ae00, receiver=<optimized out>, 
>     event=<optimized out>) at GuiApplication.cpp:2980
> #23 0x00007ffff6f06fca in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
>    from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #24 0x00007ffff79d1076 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #25 0x00007ffff7a23011 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #26 0x00007ffff7a2633e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #27 0x00007ffff79cb15f in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
>    from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #28 0x0000555555d4fd97 in lyx::frontend::GuiApplication::notify (this=0x55555631ae00, receiver=<optimized out>, 
>     event=<optimized out>) at GuiApplication.cpp:2980
> #29 0x00007ffff6f06fca in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
>    from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #30 0x00007ffff72e1583 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
>    from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
> #31 0x00007ffff72b764c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
>    from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
> #32 0x00007ffff32157da in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
> #33 0x00007ffff6673e6b in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
> #34 0x00007ffff6674118 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
> #35 0x00007ffff66741cf in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
> #36 0x00007ffff6f5e51f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
>    from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #37 0x00007ffff6f0598b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
>    from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #38 0x00007ffff6f0dc00 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #39 0x0000555555d3ab73 in lyx::frontend::GuiApplication::exec (this=0x55555631ae00) at GuiApplication.cpp:2741
> #40 0x0000555555994c5d in lyx::LyX::exec (this=this at entry=0x7fffffffe4a0, argc=@0x7fffffffe49c: 1, 
>     argv=<optimized out>) at LyX.cpp:397
> #41 0x000055555584121a in main (argc=<optimized out>, argv=<optimized out>) at main.cpp:55
> 
> 
> Pavel
> -- 
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel


More information about the lyx-devel mailing list