I compiled & installed lyx 2.2.3, in order to check some things in the
tutorial.
git pull
./autogen.sh
./configure --enable-qt5 --with-gnu-ld --with-version-suffix=test
CFLAGS="-O2 -march=native" CXXFLAGS="-O2 -march=native"
make -j 5
#make install
I started up LyX, english version: lang=C lyxtest
I opened the tutorial, changed window size a few times, moved the window
to my rightmost screen.
Then I pressed the little down arrow on the scrollbar, and soon this
happened:
$ LANG=C lyxtest
lassert.cpp (51): ASSERTION pos <= par.size() VIOLATED IN
TextMetrics.cpp:1691
( 1) lyxtest: lyxtest() [0xd51ef0]
( 2) lyxtest: lyxtest() [0x7824cb]
( 3) lyxtest: lyxtest() [0x7832c6]
( 4) lyxtest: lyxtest() [0x784943]
( 5) lyxtest: lyxtest() [0x7d4388]
( 6) lyxtest: lyxtest() [0xb0be54]
( 7) lyxtest: lyxtest() [0xaa1690]
( 8) lyxtest: lyxtest() [0x7d22e5]
( 9) lyxtest: lyxtest() [0xb0b7a4]
( 10) /usr/lib/libQt5Core.so.5: QMetaObject::activate(QObject*, int,
int, void**)
( 11) /usr/lib/libQt5Widgets.so.5: QAbstractSlider::valueChanged(int)
( 12) /usr/lib/libQt5Widgets.so.5: QAbstractSlider::setValue(int)
( 13) lyxtest: lyxtest() [0xb06403]
( 14) /usr/lib/libQt5Widgets.so.5: QWidget::event(QEvent*)
( 15) /usr/lib/libQt5Widgets.so.5: QFrame::event(QEvent*)
( 16) /usr/lib/libQt5Core.so.5:
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
( 17) /usr/lib/libQt5Widgets.so.5:
QApplicationPrivate::notify_helper(QObject*, QEvent*)
( 18) /usr/lib/libQt5Widgets.so.5: QApplication::notify(QObject*, QEvent*)
( 19) lyxtest: lyxtest() [0xab59a9]
( 20) /usr/lib/libQt5Core.so.5:
QCoreApplication::notifyInternal2(QObject*, QEvent*)
( 21) /usr/lib/libQt5Widgets.so.5:
/usr/lib/libQt5Widgets.so.5(+0x1b6842) [0x7fc8891c6842]
( 22) /usr/lib/libQt5Widgets.so.5:
/usr/lib/libQt5Widgets.so.5(+0x1b7d8b) [0x7fc8891c7d8b]
( 23) /usr/lib/libQt5Widgets.so.5:
QApplicationPrivate::notify_helper(QObject*, QEvent*)
( 24) /usr/lib/libQt5Widgets.so.5: QApplication::notify(QObject*, QEvent*)
( 25) lyxtest: lyxtest() [0xab59a9]
( 26) /usr/lib/libQt5Core.so.5:
QCoreApplication::notifyInternal2(QObject*, QEvent*)
( 27) /usr/lib/libQt5Gui.so.5:
QGuiApplicationPrivate::processWheelEvent(QWindowSystemInterfacePrivate::WheelEvent*)
( 28) /usr/lib/libQt5Gui.so.5:
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
( 29) /usr/lib/libQt5Gui.so.5:
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
( 30) /usr/lib/libQt5XcbQpa.so.5: /usr/lib/libQt5XcbQpa.so.5(+0x9a9e0)
[0x7fc87e7989e0]
( 31) /usr/lib/libglib-2.0.so.0:
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x2a7) [0x7fc8870eb5a7]
( 32) /usr/lib/libglib-2.0.so.0: /usr/lib/libglib-2.0.so.0(+0x4a810)
[0x7fc8870eb810]
( 33) /usr/lib/libglib-2.0.so.0:
/usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7fc8870eb8bc]
( 34) /usr/lib/libQt5Core.so.5:
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
( 35) /usr/lib/libQt5Core.so.5:
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
( 36) /usr/lib/libQt5Core.so.5: QCoreApplication::exec()
( 37) lyxtest: lyxtest() [0x6844ea]
( 38) lyxtest: lyxtest() [0x4a0b61]
( 39) /usr/lib/libc.so.6: /usr/lib/libc.so.6(__libc_start_main+0xf1)
[0x7fc8875d8291]
( 40) lyxtest: lyxtest() [0x4a981a]
Assertion triggered in void lyx::doAssertWithCallstack(bool) by failing
check "false" in file lassert.cpp:44
Avbrutt (SIGABRT) (kjerne lagret i fil)
LyX is not supposed to crash. I don't know what happened, but I can do
more tests if that would be useful.
The crash is highly repeatable. Just start LyX, open the (english)
Tutorial, scroll down. Keyboard or mouse will crash LyX at some specific
point a few screen pages from the top of the tutorial. Jumping to the
bottom and scrolling up crashes at the same point, somewhere into
section 2.1.1 "Typing, Viewing and Exporting"
It is not necessary to resize the screen, just get to section 2.1.1 of
the Tutorial. Scrolling or searching for "Typing, Viewing" will do it.
Helge Hafting