Crash in 2.3.x
Pavel Sanda
sanda at lyx.org
Mon Oct 11 15:55:39 UTC 2021
On Mon, Oct 11, 2021 at 04:27:19PM +0200, Kornel Benko wrote:
> Am Mon, 11 Oct 2021 15:51:07 +0200
> schrieb Pavel Sanda <sanda at lyx.org>:
>
> > On Mon, Oct 11, 2021 at 03:39:18PM +0200, Pavel Sanda wrote:
> > > Hi,
> > >
> > > can anyone reproduce the following crash recipy? :
> > > 1. Preferences -> Shortcuts -> Show keybindings containing
> > > 2. Press "i"
> > > 3. Kaboom
> > >
> > > Current 2.3.x branch on stable debian.
> >
> > (gdb) bt
> > #0 0x00007ffff7ca32d8 in QTreeWidgetItem::treeModel(QTreeWidget*) const ()
> > from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #1 0x00007ffff7ca3a0b in
> > QTreeWidgetItem::setExpanded(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> > #2 0x0000555555eef1a4 in lyx::frontend::PrefShortcuts::on_searchLE_textEdited() () #3
> > 0x0000555555ef3fb1 in lyx::frontend::PrefShortcuts::qt_static_metacall(QObject*,
> > QMetaObject::Call, int, void**) () #4 0x0000555555ef4026 in
> > lyx::frontend::PrefShortcuts::qt_metacall(QMetaObject::Call, int, void**) ()
> >
> > > Pavel
>
> Same here.
> Thread 1 "lyx2.3" received signal SIGSEGV, Segmentation fault.
> 0x0000555556c8d753 in QTreeWidgetItem::setExpanded (this=0x0, aexpand=true)
> at /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtreewidget.h:407
> 407 { if (view) view->setItemExpanded(this, aexpand); }
>
> this == 0 looks not good.
>
> Kornel
Bisect suggests the following commit:
commit da0d01cc107d112d8b640dce92bfa6e943c1569c
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Sat Mar 13 11:29:54 2021 +0100
Backport deprecation fix
Pavel
More information about the lyx-devel
mailing list