LyX crashes when selecting Document menu item on Mageia 7 (64 bits)

Richard Kimberly Heck rikiheck at lyx.org
Sat May 9 17:45:04 UTC 2020


On 5/9/20 11:45 AM, Scott Kostyshak wrote:
> On Sat, May 09, 2020 at 04:10:36PM +0200, Antonio García Cordero wrote:
>> Sorry for the delay in answering you.
> No problem, thanks for the response!
>
>> lyx
>> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Code Preview
>> Pane|P" and "Panel del esquema|P" share the same shortcut.
>> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Entorno
>> split|s" and "Entorno cases|s" share the same shortcut.
>> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Fantasma|F"
>> and "Espacio fino|f" share the same shortcut.
>> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Limpiar
>> página doble|b" and "Optional Line Break|B" share the same shortcut.
>> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Cita...|C"
>> and "Marco|c" share the same shortcut.
>> frontends/qt4/Menus.cpp (752): Menu warning: menu entries
>> "Configuración...|o" and "Comprimido|o" share the same shortcut.
>> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Información
>> TeX|X" and "Comprobar TeX|X" share the same shortcut.
>> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Comentarios
>> PDF|F" and "Diagrama Feynman|F" share the same shortcut.
>> frontends/qt4/Menus.cpp (752): Menu warning: menu entries
>> "Configuración...|o" and "Comprimido|o" share the same shortcut.
>> support/lassert.cpp (51): ASSERTION static_cast<unsigned
>> char>(ascii[i]) < 0x80 VIOLATED IN /home/iurt/rpmbuild/BUILD/lyx-
>> 2.3.1/src/support/docstring.cpp:54
>> (  1) lyx: lyx::doAssertWithCallstack(bool)
>> (  2) lyx: lyx::doAssert(char const*, char const*, long)
>> (  3) lyx: lyx::from_ascii(std::__cxx11::basic_string<char,
>> std::char_traits<char>, std::allocator<char> > const&)
>> (  4) lyx: lyx::frontend::GuiApplication::languageModel()
>> (  5) lyx:
>> lyx::frontend::GuiDocument::GuiDocument(lyx::frontend::GuiView&)
>> (  6) lyx: lyx::frontend::createGuiDocument(lyx::frontend::GuiView&)
>> (  7) lyx:
>> lyx::frontend::GuiView::build(std::__cxx11::basic_string<char,
>> std::char_traits<char>, std::allocator<char> > const&)
>> (  8) lyx:
>> lyx::frontend::GuiView::findOrBuild(std::__cxx11::basic_string<char,
>> std::char_traits<char>, std::allocator<char> > const&, bool)
>> (  9) lyx: lyx::frontend::GuiView::doShowDialog(QString const&, QString
>> const&, lyx::Inset*)
>> ( 10) lyx: lyx() [0x10b1228]
>> ( 11) /lib64/libQt5Core.so.5: QMetaObject::activate(QObject*, int, int,
>> void**)
>> ( 12) lyx: lyx::frontend::GuiView::triggerShowDialog(QString const&,
>> QString const&, lyx::Inset*)
>> ( 13) lyx:
>> lyx::frontend::GuiView::showDialog(std::__cxx11::basic_string<char,
>> std::char_traits<char>, std::allocator<char> > const&,
>> std::__cxx11::basic_string<char, std::char_traits<char>,
>> std::allocator<char> > const&, lyx::Inset*)
>> ( 14) lyx: lyx::frontend::GuiView::dispatch(lyx::FuncRequest const&,
>> lyx::DispatchResult&)
>> ( 15) lyx: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest
>> const&, lyx::DispatchResult&)
>> ( 16) lyx: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest
>> const&)
>> ( 17) lyx: lyx::dispatch(lyx::FuncRequest const&)
>> ( 18) lyx: lyx::frontend::Action::action()
>> ( 19) lyx: lyx() [0x110f336]
>> ( 20) /lib64/libQt5Core.so.5: QMetaObject::activate(QObject*, int, int,
>> void**)
>> ( 21) /lib64/libQt5Widgets.so.5: QAction::triggered(bool)
>> ( 22) /lib64/libQt5Widgets.so.5:
>> QAction::activate(QAction::ActionEvent)
>> ( 23) /lib64/libQt5Widgets.so.5: /lib64/libQt5Widgets.so.5(+0x2c950c)
>> [0x7fad58a1550c]
>> ( 24) /lib64/libQt5Widgets.so.5: /lib64/libQt5Widgets.so.5(+0x2d0600)
>> [0x7fad58a1c600]
>> ( 25) /lib64/libQt5Widgets.so.5: QMenu::mouseReleaseEvent(QMouseEvent*)
>> ( 26) /lib64/libQt5Widgets.so.5: QWidget::event(QEvent*)
>> ( 27) /lib64/libQt5Widgets.so.5: QMenu::event(QEvent*)
>> ( 28) /lib64/libQt5Widgets.so.5:
>> QApplicationPrivate::notify_helper(QObject*, QEvent*)
>> ( 29) /lib64/libQt5Widgets.so.5: QApplication::notify(QObject*,
>> QEvent*)
>> ( 30) lyx: lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
>> ( 31) /lib64/libQt5Core.so.5:
>> QCoreApplication::notifyInternal2(QObject*, QEvent*)
>> ( 32) /lib64/libQt5Widgets.so.5:
>> QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*,
>> QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)
>> ( 33) /lib64/libQt5Widgets.so.5: /lib64/libQt5Widgets.so.5(+0x1be1dd)
>> [0x7fad5890a1dd]
>> ( 34) /lib64/libQt5Widgets.so.5: /lib64/libQt5Widgets.so.5(+0x1c06a8)
>> [0x7fad5890c6a8]
>> ( 35) /lib64/libQt5Widgets.so.5:
>> QApplicationPrivate::notify_helper(QObject*, QEvent*)
>> ( 36) /lib64/libQt5Widgets.so.5: QApplication::notify(QObject*,
>> QEvent*)
>> ( 37) lyx: lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
>> ( 38) /lib64/libQt5Core.so.5:
>> QCoreApplication::notifyInternal2(QObject*, QEvent*)
>> ( 39) /lib64/libQt5Gui.so.5:
>> QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate
>> ::MouseEvent*)
>> ( 40) /lib64/libQt5Gui.so.5:
>> QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterface
>> Private::WindowSystemEvent*)
>> ( 41) /lib64/libQt5Gui.so.5:
>> QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::Proce
>> ssEventsFlag>)
>> ( 42) /lib64/libQt5XcbQpa.so.5: /lib64/libQt5XcbQpa.so.5(+0x6fe4a)
>> [0x7fad5459be4a]
>> ( 43) /lib64/libglib-2.0.so.0: /lib64/libglib-
>> 2.0.so.0(g_main_context_dispatch+0x135) [0x7fad576f6665]
>> ( 44) /lib64/libglib-2.0.so.0: /lib64/libglib-2.0.so.0(+0x4d9e8)
>> [0x7fad576f69e8]
>> ( 45) /lib64/libglib-2.0.so.0: /lib64/libglib-
>> 2.0.so.0(g_main_context_iteration+0x2c) [0x7fad576f6a6c]
>> ( 46) /lib64/libQt5Core.so.5:
>> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFla
>> g>)
>> ( 47) /lib64/libQt5Core.so.5:
>> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
>> ( 48) /lib64/libQt5Core.so.5: QCoreApplication::exec()
>> ( 49) lyx: lyx::frontend::GuiApplication::exec()
>> ( 50) lyx: lyx::LyX::exec(int&, char**)
>> ( 51) lyx: lyx(main+0x5d) [0xe325b9]
>> ( 52) /lib64/libc.so.6: /lib64/libc.so.6(__libc_start_main+0xeb)
>> [0x7fad57801b0b]
>> ( 53) lyx: lyx(_start+0x2a) [0xb2e7da]
>> Assertion triggered in void lyx::doAssertWithCallstack(bool) by failing
>> check "false" in file /home/iurt/rpmbuild/BUILD/lyx-
>> 2.3.1/src/support/lassert.cpp:44
>> Abortado (`core' generado)
> I am CC'ing lyx-users. Your new backtrace also seems to use LyX 2.3.1.
> Can you by chance test the newest version of LyX to see if you can
> reproduce?

Note that this is an assertion, so it's self-compiled. And it's coming
from here:

        if (thesaurus.thesaurusInstalled(from_ascii(it->second.code())))

The assertion is in from_ascii, because the code is (for some reason)
not pure ascii.

Riki





More information about the lyx-users mailing list